ozzieperez / packtpub-library-downloader

Script to download all your PacktPub ebooks and videos
215 stars 62 forks source link

event not found #35

Open cakhanif opened 5 years ago

cakhanif commented 5 years ago

event not found when password contain symbol character, such " ! ~ and etc

dan-and commented 5 years ago

I think you just stepped over a shell problem. I just changed my password for a test and it works just fine:

I changed my packtpub password to: T3st~~!! and to ensure that it is not getting interpreted by the unix shell I added it with single quotes: -p 'T3st~~!!'
It works just fine.

dan@home:~/source/packtpub-library-downloader$ python3 ./downloader.py -e example@noreply.com -p 'T3st~~!!' -v info,cover Attempting to login... Logged in successfully! ########################################################################### FOUND 45 VIDEOS: STARTING DOWNLOADS ###########################################################################

Effective DevOps and Development with Docker
Downloading IMAGE
Saving INFO

Mastering Go Programming Downloading IMAGE Saving INFO

Kubernetes Design Patterns and Extensions
Downloading IMAGE
Saving INFO