Packt-Publishing-Free-Learning: Script now failing to fetch JWT token or download, change to website?

Starting Nov 18, for packt-cli -gd the script has started producing:

[ERROR] - Fetching JWT token failed!
[INFO] - Start grabbing ebook...
[ERROR] - Exception occurred 'NoneType' object is not iterable

Nothing has changed with login credentials or any other config, and it was working fine prior to 11/18. Using version 1.4.3.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 2
  • Comments: 19 (1 by maintainers)

Most upvoted comments

I’m still not convinced that it works, and I’ve got a single shot a day (ReCaptcha solution seems to be mandatory iff user tries to claim a book he doesn’t already have) - today I got 400 response when claiming book.

{'message': 'The recaptcha solution is missing.', 'errorCode': 3000043, 'errorId': '85cbbf1e-e636-4cfb-afee-a057dc138395'}

I’ll update the code afternoon, but I won’t merge it before tomorrow.

It seems that I’ve got a solution. Try installing script with pip install git+https://github.com/luk6xff/Packt-Publishing-Free-Learning.git@recaptcha-on-login, see if that works.

I’ll have to clean up this code further (than I’ll make a pull request), I currently solve ReCaptcha twice - I think we can do this only once.

Is there a way to get less than $10 of credits on the Anti Captcha site other than the probably too few demo credits? Answered my own question, there is some odd process using a coupon code purchased from another Russian site.