Packt-Publishing-Free-Learning icon indicating copy to clipboard operation
Packt-Publishing-Free-Learning copied to clipboard

Captcha timeout

Open Mte90 opened this issue 5 years ago • 3 comments

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 

Mte90 avatar Aug 19 '20 11:08 Mte90

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.

mjenczmyk avatar Sep 01 '20 16:09 mjenczmyk

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.

seswho avatar Nov 09 '21 14:11 seswho

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

laurentlemercier avatar Nov 10 '21 08:11 laurentlemercier