Script now failing to fetch JWT token or download, change to website?
See original GitHub issueStarting 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.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:19 (1 by maintainers)
Top Results From Across the Web
How to handle file downloads with JWT based authentication?
Here's a way to download it on the client using the download attribute, the fetch API, and URL.createObjectURL. You would fetch the file ......
Read more >How to get an access token with JWT Grant
Demonstrates how to get an access token using JSON Web Token (JWT) Grant authentication.
Read more >The Ultimate Guide to handling JWTs on frontend clients ...
The idea is to get the token from the variable we set, and if it's there, we pass it to our GraphQL client....
Read more >JSON Web Tokens (JWT) Generator? - ServiceNow Community
What is the best way to generate a JSON Web Token (JWT) in ServiceNow? There are heaps of implementations in different languages out...
Read more >JWT: The Complete Guide to JSON Web Tokens
A Step-by-Step Guide for learning JSON Web Tokens, including signatures, single page web application User Authentication and Session ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub 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.
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.