packt-cli / Packt-Publishing-Free-Learning

Scripts that automatically claim and download free daily eBooks from https://www.packtpub.com/packt/offers/free-learning
MIT License
858 stars 185 forks source link

Exception occurred too many values to unpack (expected 1) #194

Closed plaidshirtakos closed 4 years ago

plaidshirtakos commented 4 years ago

Script is unable to get daily ebook. I got following error during execution of packt-cli -gd

[INFO] - JWT token has been fetched successfully!
[INFO] - Start grabbing ebook...
[ERROR] - Exception occurred too many values to unpack (expected 1)
laurentlemercier commented 4 years ago

Hello Are you sure version 1.5.3 is installed ? I have made this modification to handle this case, it works correctly (on raspbian). Regards Laurent