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

Captcha timeout #197

Open
Mte90 opened this issue Aug 19, 2020 · 3 comments
Open

Captcha timeout #197

Mte90 opened this issue Aug 19, 2020 · 3 comments

Comments

@Mte90
Copy link

Mte90 commented Aug 19, 2020

I am getting this, it is possible to let retry multiple times?

2020-07-09 09:58:47,816 - utils.anticaptcha - [INFO] - Started solving ReCAPTCHA for https://www.packtpub.com/ website...
2020-07-09 09:58:48,484 - utils.anticaptcha - [INFO] - Waiting for completion of the 733507594 task...
2020-07-09 10:00:49,166 - packtPublishingFreeEbook - [ERROR] - Exception occurred Timeout 120 reached 
@mjenczmyk
Copy link
Collaborator

Currently it's not possible, but it shouldn't be very hard to make it possible. I'm quite busy recently, but I may have a look at it in the future.

@seswho
Copy link

seswho commented Nov 9, 2021

I am seeing the same problem as Mte90.

is there a way to return a non zero value from pack-cli when there is any sort of failure?

The return code could be used in a scheduled script to run packt-cli until the book was successfully downloaded.

laurentlemercier added a commit to laurentlemercier/Packt-Publishing-Free-Learning that referenced this issue Nov 10, 2021
Error handling, exit program (luk6xff#197)
@laurentlemercier
Copy link
Contributor

@seswho : Tested quickly but seems to work. I am interested by your script for scheduling.

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

4 participants