Skip to content

Commit

Permalink
👮
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Oct 8, 2024
1 parent fa6bb2f commit b632574
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions src/extract-kindle-book.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,44 +444,4 @@ function parseTocItems(tocItems: TocItem[]) {
}
}

// fetch(
// 'https://read.amazon.com/service/mobile/reader/startReading?asin=B0819W19WD&clientVersion=20000100',
// {
// headers: {
// accept: '*/*',
// 'accept-language': 'en-US,en;q=0.9',
// 'device-memory': '8',
// downlink: '10',
// dpr: '2',
// ect: '4g',
// priority: 'u=1, i',
// rtt: '50',
// 'sec-ch-device-memory': '8',
// 'sec-ch-dpr': '2',
// 'sec-ch-ua':
// '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',
// 'sec-ch-ua-mobile': '?0',
// 'sec-ch-ua-platform': '"macOS"',
// 'sec-ch-viewport-width': '1728',
// 'sec-fetch-dest': 'empty',
// 'sec-fetch-mode': 'cors',
// 'sec-fetch-site': 'same-origin',
// 'viewport-width': '1728',
// 'x-adp-session-token': null,
// cookie: null,
// Referer: 'https://read.amazon.com/?asin=B0819W19WD&ref_=kwl_kr_iv_rec_1',
// 'Referrer-Policy': 'strict-origin-when-cross-origin'
// },
// body: null,
// method: 'GET'
// }
// )

// fetch(
// 'https://k4wyjmetadata.s3.amazonaws.com/books2/B0819W19WD/da38557c/CR%21WPPV87W8317H7FWJRF6JFMVE7SJY/book/YJmetadata.jsonp',
// {
// method: 'GET'
// }
// )

await main()

0 comments on commit b632574

Please sign in to comment.