Skip to content
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

ValueError: Error parsing Cloudflare IUAM Javascript challenge #49

Closed
leptoid opened this issue Apr 12, 2018 · 2 comments
Closed

ValueError: Error parsing Cloudflare IUAM Javascript challenge #49

leptoid opened this issue Apr 12, 2018 · 2 comments
Labels

Comments

@leptoid
Copy link
Contributor

leptoid commented Apr 12, 2018

Looks like it is broken again. I guess Cloudflare changed their scripts.
Screen Output

c:\>anime-dl -u ploplord -p DukePlopsalots -r 480p -rn 9 -i http://www.crunchyroll.com/twin-star-exorcists
Trying to login...
Traceback (most recent call last):
  File "anime_dl\__main__.py", line 18, in <module>
  File "anime_dl\__main__.py", line 75, in main
  File "anime_dl\AnimeDL.py", line 30, in __init__
  File "anime_dl\sites\crunchyroll.py", line 54, in __init__
  File "anime_dl\sites\crunchyroll.py", line 82, in webpagedownloader
  File "requests\sessions.py", line 521, in get
  File "site-packages\cfscrape\__init__.py", line 47, in request
  File "site-packages\cfscrape\__init__.py", line 77, in solve_cf_challenge
  File "site-packages\cfscrape\__init__.py", line 107, in solve_challenge
ValueError: Error parsing Cloudflare IUAM Javascript challenge. Cloudflare may have changed their technique, or there may be a bug in the script.

Please read https://github.com/Anorov/cloudflare-scrape#updates, then file a bug report at https://github.com/Anorov/cloudflare-scrape/issues.
[9224] Failed to execute script __main__
c:\>
@Xonshiz Xonshiz added the bug label Apr 12, 2018
@leptoid
Copy link
Contributor Author

leptoid commented Apr 14, 2018

Oh, I should let you know, "ploplord" and "DukePlopsalots" are not my actual login credentials. lol

@leptoid
Copy link
Contributor Author

leptoid commented Apr 25, 2018

and... I found my issue. I was testing using -rn for a single episode number instead of multiple

-rn 9
vs
-rn 9-10

I knew the syntax and have used it properly lots of times, It just seemed to make sense that this could be done with a single digit as a possibility. Programming does not work that way. It is an exact science.

This could be marked as resolved or enhancement (to make it so you can just use range with episode number).

@Xonshiz Xonshiz closed this as completed Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants