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

Infinite captcha #51

Closed
birlikov opened this issue May 6, 2021 · 2 comments
Closed

Infinite captcha #51

birlikov opened this issue May 6, 2021 · 2 comments

Comments

@birlikov
Copy link

birlikov commented May 6, 2021

Hi! Thanks for amazing repo!
When I run python blinkistscraper email pass chrome asks to solve the captcha, after solving the first captcha logs print INFO Logged into Blinkist. Loading Library... but nothing happens, also chrome repeatedly asks to pass captchas again and again.
How to solve this issue?

@rocketinventor
Copy link
Contributor

Hello @birlikov,

The issue that you are reporting about the "Infinite captcha" problem is a known issue (#46) and has come up before (#31). I was actually working on these two issues before (better logging and avoiding captchas), which should have been ready by now...

However, there were some changes made to the site recently - the main script itself on the page can now detect the chromedriver instance and (repeatedly) send the user to a new captcha page (independently of Cloudflare detecting the "bot"). Before it was just in a few places (i.e. right after login and from Cloudflare on the first page-load when the traffic looked suspicious), but now it is on every page. There is no solution to this yet.

The quick fix (for now) is to disable javascript on blinkist.com pages. I can help you do that, but know that for now, it will also mean that audio cannot be downloaded anymore. Also, you can try out the changes on my pull request (#50)... It enables integration with undetected-chromedriver that gets activated when you update selenium-wire to the latest version and install undetected-chromedriver.

Since this issue appears to be a duplicate, I recommend that you close it and follow on issue #46, which is an active thread. I will be looking for other solutions and posting updates over there.

@birlikov
Copy link
Author

birlikov commented May 6, 2021

Hi @rocketinventor ,

Thanks for explanation, I will close this issue and follow #46.

Also, your suggested quick fix is fine for me because I just need texts not audio, so any instructions are welcome)

@birlikov birlikov closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants