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

[readcomiconline] - Won't get past the cloudflare challenge. #279

Closed
CaptainJawZ opened this issue May 25, 2019 · 9 comments
Closed

[readcomiconline] - Won't get past the cloudflare challenge. #279

CaptainJawZ opened this issue May 25, 2019 · 9 comments

Comments

@CaptainJawZ
Copy link

CaptainJawZ commented May 25, 2019

When I try downloading comics from the website readcomiconline.to it wont get past the cloudflare challenge this is the output I get:

C:\cmder>gallery-dl https://readcomiconline.to/Comic/Marvel-Comics-Presents-2019/
[readcomiconline][info] Solving Cloudflare challenge

And when I run the -V flag, this is the output i get:
log.txt

Any help would be greatly appreciated!

@mikf
Copy link
Owner

mikf commented May 26, 2019

This is the same problem as #51, but on readcomiconline instead of kissmanga.

You got redirected to https://readcomiconline.to/Special/AreYouHuman?reUrl=%2fComic%2fMarvel-Comics-Presents-2019%2fIssue-1%3fid%3d148436
Open this URL in your browser, solve the CAPTCHA, and try again. If that doesn't help, try exporting your cookies after solving the CAPTCHA.

(48233f0 now detects these redirects and prints an appropriate error message)

@CaptainJawZ
Copy link
Author

This is the same problem as #51, but on readcomiconline instead of kissmanga.

You got redirected to https://readcomiconline.to/Special/AreYouHuman?reUrl=%2fComic%2fMarvel-Comics-Presents-2019%2fIssue-1%3fid%3d148436
Open this URL in your browser, solve the CAPTCHA, and try again. If that doesn't help, try exporting your cookies after solving the CAPTCHA.

(48233f0 now detects these redirects and prints an appropriate error message)

This worked, the cookies workaround method. Thank you so much

@CaptainJawZ
Copy link
Author

This is the same problem as #51, but on readcomiconline instead of kissmanga.
You got redirected to https://readcomiconline.to/Special/AreYouHuman?reUrl=%2fComic%2fMarvel-Comics-Presents-2019%2fIssue-1%3fid%3d148436
Open this URL in your browser, solve the CAPTCHA, and try again. If that doesn't help, try exporting your cookies after solving the CAPTCHA.
(48233f0 now detects these redirects and prints an appropriate error message)

This worked, the cookies workaround method. Thank you so much

Sorry for reopening, I have the newest version of Gallery-DL now which effectively displays the correct error message and prompts the URL to go visit, but I was wondering is there a setting or a way to make the script stop until you visit the url and solve the captcha?
pretty much wait for user input instead of going to the next issue on the list

@mikf
Copy link
Owner

mikf commented May 27, 2019

No, there is way of doing that or interacting with gallery-dl while it is running. I would also be quite against implementing any "interactive" inputs in a command-line program.

You can use --chapter-range N- to skip over the first N-1 manga-chapters / comic-issues, or --chapter-filter to control which chapters/issues gallery-dl should ignore.

@CaptainJawZ
Copy link
Author

Fair enough!

I suggested it because it seems as readcomicsonline.to requests to solve a captcha every 3 chapters or so. I'll manually input each file, that way I have eassy access to solving that captcha.

@mikf
Copy link
Owner

mikf commented May 27, 2019

Say, is it enough to only solve the CAPTCHA or is it also necessary to put your browser's cookies into gallery-dl? (I've never been prompted to solve a CAPTCHA by those sites, so I kind of have to ask and can't test this myself)

I could add an option to wait until the CAPTCHA has been solved, but also entering/updating cookies wouldn't really be possible.

@CaptainJawZ
Copy link
Author

I just solve the captcha and it works, originally I was adding my cookies file at first, but I noticed I could just open the url and click the I am human box and go back to downloading.

mikf added a commit that referenced this issue May 28, 2019
to configure how to handle CAPTCHA page redirects:
- either interactively wait for the user to solve the CAPTCHA
- or raise StopExtraction like before
@mikf
Copy link
Owner

mikf commented May 28, 2019

There is now a captcha option for both kissmanga and readcomiconline. Set it to "wait" and it should do what you described above.

@CaptainJawZ
Copy link
Author

Thank you so much! you're a life saver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants