Closed SR-G closed 5 years ago
Thanks for submitting this error! Personally I don't use -l
parameter so I've never seen this (the script lacks testing though).
OK, I see - it succeeded in grabbing the ebook, but failed on fetching ebook's data. It couldn't find URL for downloading code files, because there are none, so there is no <a>
inside button (which is disabled). Did it happen with "Mastering Windows PowerShell Scripting - Second Edition" today? Did other books with which the script failed in this way also didn't have code files?
I'm only using it this script since ten days. It has failed two times for now :
Indeed it seems both of these books don't have any code attached to them.
OK, the problem is that script tries to find code files URL even if it doesn't exist. Do you want to make a pull request or should I?
https://github.com/igbt6/Packt-Publishing-Free-Learning/pull/117 Here is a fix for this issue.
Fixed at #117
I have from time to time this error :
Logs :
In the packt website > account > My Ebooks >the corresponding book seems to be correctly grabbed this day.