question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Login: no CSRF Token found in the page. Unable to continue the login. Try again..."

See original GitHub issue

Command:

python3 safaribooks.py --cred "john@bitfieldconsulting.com:xxx" 9781786468949

Output:


       ____     ___         _
      / __/__ _/ _/__ _____(_)
     _\ \/ _ `/ _/ _ `/ __/ /
    /___/\_,_/_/ \_,_/_/ /_/
      / _ )___  ___  / /__ ___
     / _  / _ \/ _ \/  '_/(_-<
    /____/\___/\___/_/\_\/___/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[-] 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...

info_9781786468949.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ricardontcommented, Dec 11, 2018

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

0reactions
kientt86commented, Jun 2, 2019

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 <BOOK NAME>/OEBPS/*.xhtmlfiles and restart the program. [!] Aborting...

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSRF token error messages - Help | Todoist
This error message means that your browser couldn't create a secure cookie, or couldn't access that cookie to authorize your login. This can...
Read more >
Login: no CSRF Token found · Issue #92 - GitHub
Logging into Safari Books Online... [#] Login: no CSRF Token found in the page. Unable to continue the login. Try again.
Read more >
django admin login suddenly demanding csrf token
Add a csrf token to your context in the login view and in your template add in the hidden div for the csrf...
Read more >
“CSRF token” error message - Ubidots Help Center
The “Invalid or missing CSRF token” message means that your browser couldn't create a secure cookie, or couldn't access that cookie to authorize...
Read more >
Invalid CSRF token error - HappyFox Support
This is caused by various reasons such as ad or script-blocking plugins or by the browser itself if it is not allowed to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found