Comments (17)
How can I check I'm already logged?
I had a similar issue, I logged in a browser first (which was asking me to pass a captcha), then I could download. Hope this help in your case
from safaribooks.
Getting the same error. Worked fine ~72 hours ago.
from safaribooks.
Same here
from safaribooks.
FWIW, the login page does still provide a form field with the csrfmiddlewaretoken
value set.
baseURI: https://www.safaribooksonline.com/accounts/login/
<form action="/accounts/login/" id="login-form" method="post" class="js-login-view"> <input type="hidden" name="csrfmiddlewaretoken" value="xXXxYXxXXxxYYXXXxxxYxXXxxXxXXXxxxXXYXxxXXXXxXxXXXYxXXXYxXxYxxxYx">
from safaribooks.
got there as well :) moment ago through debugging
Simplified solution:
#52
from safaribooks.
Just tested - it looks like that fixes the issue.
from safaribooks.
That fix works for me as well. I think this might be related to the fact that https://www.safaribooksonline.com redirects to https://www.oreilly.com/ if you're not logged in.
from safaribooks.
Worked
from safaribooks.
Thanks all, I changed and merged the @gad0lin pull request.
https://github.com/lorenzodifuccia/safaribooks/blob/master/safaribooks.py#L420
Let me know!
How much I love the Open Source community!!!
from safaribooks.
Now it says:
[#] API: Out-of-Session (You do not have permission to perform this action.).
from safaribooks.
Now it says:
[#] API: Out-of-Session (You do not have permission to perform this action.).
The December 4 commit is working fine for me. I just did a fresh clone to confirm.
____ ___ _
/ __/__ _/ _/__ _____(_)
_\ \/ _ `/ _/ _ `/ __/ /
/___/\_,_/_/ \_,_/_/ /_/
/ _ )___ ___ / /__ ___
/ _ / _ \/ _ \/ '_/(_-<
/____/\___/\___/_/\_\/___/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[-] Logging into Safari Books Online...
[*] Retrieving book info...
[-] Title: xxxxxxxxxxxxxxxxxxxxxxxxx
[-] Authors: xxxxxxxxxxxxx
[-] Identifier: xxxxxxxxxxxxx
[-] ISBN: xxxxxxxxxxxxx
[-] Publishers: xxxxxxxxxxxxxxxx
[-] Rights: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[-] Description: xxxxxxxxxxxxxxxxx…
from safaribooks.
What could be wrong in my case?
from safaribooks.
Already logged? SSO credentials?
from safaribooks.
How can I check I'm already logged?
from safaribooks.
Try this new version and let me know!
Thanks for all the support ❤️
from safaribooks.
Anyone have fixed this error?
[-] Logging into Safari Books Online...
[#] Login: no CSRF Token found in the page. Unable to continue the login. Try again...
[+] Please delete all the <BOOK NAME>/OEBPS/*.xhtml
files and restart the program.
[!] Aborting...
from safaribooks.
Got the same error,
[-] Logging into Safari Books Online... [#] Login: no CSRF Token found in the page. Unable to continue the login. Try again... [+] Please delete all the
/OEBPS/*.xhtmlfiles and restart the program. [!] Aborting...
from safaribooks.
Related Issues (20)
- Downloading from public library providing Oreilly subscription HOT 1
- Images from books are corrupt HOT 3
- Auth Failure. - Unexpected error! HOT 3
- flask3.9 ImportError: cannot import name 'escape' from 'jinja2' HOT 1
- Authentication issue: unable to access profile page. HOT 8
- Cannot sudo rm -rf some .log file so cannot download my book HOT 1
- Parser: book content's corrupted or not present: ch01.xhtml
- Unhandled Exception: 'rights' (type: KeyError) HOT 1
- Trial account not working due to email issue HOT 2
- Error trying to parse this page
- SSO, Company, University, etc., Login Problems: *READ BEFORE NEW ISSUE* HOT 1
- Crawler: error trying to parse this page: c02.xhtml HOT 5
- Every chapter only has first page HOT 1
- Parser: book content's corrupted or not present
- download all books in specific playlist
- Is it normal normal that the program can't login after 10 minutes? HOT 23
- Table titles appear vertically HOT 1
- Stuck at login HOT 1
- 'Connection aborted.', RemoteDisconnected('Remote end closed connection without response') HOT 1
- Still being maintained? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from safaribooks.