You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> npm i
npm WARN obooks@0.2.3 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 466 packages from 343 contributors and audited 468 packages in 7.234s
24 packages are looking for funding
run `npm fund` for details
found 2 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
After running the following command: node cli.js -b "9781492077992" -c "actual cookies" it outputs:
+:++:++:++:+ using stored cookies
+:++:++:++:+ downloading: Head First Design Patterns, 2nd Edition
+:++:++:++:+ 22 chapters to download, please wait...
+:++:++:++:+ assembling book...
The cookie was collected by logging in to O'Reilly via Chrome, copied the cookie value from the request header at the network tab of DevTools. Yes, I have an active subscription to O'Reilly where I can read this particular book using the browser. I checked whether it was parsing/storing the correct cookie by observing the generated session.json file:
This seems to be happening because when trying to create the final epub, on Windows the code looks for a file in the wrong place. The file it looks for starts with "C:\C:" instead of a single "C:" which is causing this problem. After this, we do not see any errors and we do not get any output either.
After running the following command:
node cli.js -b "9781492077992" -c "actual cookies"
it outputs:The cookie was collected by logging in to O'Reilly via Chrome, copied the cookie value from the request header at the network tab of DevTools. Yes, I have an active subscription to O'Reilly where I can read this particular book using the browser. I checked whether it was parsing/storing the correct cookie by observing the generated
session.json
file:I am having the same issue as #30 where it only downloads images. I have tried different books, it's all the same.
The text was updated successfully, but these errors were encountered: