-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚨 LOGIN 🚨 #358
Comments
Just bump into this repo like half an hour ago and was able to download some books.
|
To make it even more straightforward, for those who are on autopilot and just want to get their book:
console.log(JSON.stringify(document.cookie.split(';').map(c => c.split('=')).map(i => [i[0].trim(), i[1].trim()]).reduce((r, i) => {r[i[0]] = i[1]; return r;}, {})))
To make the book look good:
The first argument is the path to the downloaded ePub, the second is the name you'd like to give to your book. Maybe give it the same name as the title e.g. |
This comment has been minimized.
This comment has been minimized.
@roon83 yes it does. Just to be clear, I'm not doing anything wild. I'm just following the steps from the above. If it doesn't work for you, maybe you're getting some sort of error. For example, I kept getting this error:
But it was only because I managed to mistype the cookie into the file. Good luck |
Can someone please provide a complete and up-to-date guide on exporting cookies from a browser session and using them with
safaribooks
?Thank you. Love ❤️
The text was updated successfully, but these errors were encountered: