Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot login on Windows 10 + Python 2.7.11 #38

Open
KillerBabouin opened this issue Jan 10, 2019 · 9 comments
Open

Cannot login on Windows 10 + Python 2.7.11 #38

KillerBabouin opened this issue Jan 10, 2019 · 9 comments

Comments

@KillerBabouin
Copy link

KillerBabouin commented Jan 10, 2019

Hello Guys,

I tested to download my ebooks PacktPub on my Windows laptop using python 2.7.11 but it doesn't work. Indeed, the message I got is the following and still the same "Logged in successfully!" even with wrong credentials... if anybody can help it could be great.
I already tested with " or ' or nothing for my email and my password.

thanks a lot.

c:\Python27>python.exe downloader.py -e 'myemail@gmail.com' -p 'mypassord' -d E:\Downloads\eBooks\PacktPub -b pdf,epub,mobi,cover,code,info -v video,cover,code -c course,cover,code
Attempting to login...
Logged in successfully!
###########################################################################
FOUND 0 BOOKS: STARTING DOWNLOADS
###########################################################################
###########################################################################
FOUND 0 VIDEOS: STARTING DOWNLOADS
###########################################################################
###########################################################################
FOUND 0 INTEGRATED COURSES: STARTING DOWNLOADS
###########################################################################

@KarlCookson
Copy link

I don't think the problem is with your usage. I ran into this over the new year break, and having investigated it I believe it's because Packtpub have changed the structure of their website. Unfortunately my programming skills aren't up to the task of resolving the problem, although I might keep trying.

Perhaps the lack of anyone else posting about the issue suggests that this tool isn't being used much now, shame.

@artwod
Copy link

artwod commented Jan 11, 2019

Hi,
I've found the issue about one month ago.
Now URLs to purchased resources aren't embedded into main web page but are generated dynamically by JS. I've tried to find how to get access to such links but it doesn't seem easy (I'm not expert in web development).
I hope one will find solution soon.

@KillerBabouin
Copy link
Author

... So nobody could help? :-)

@lmbringas
Copy link

lmbringas commented Jan 20, 2019

hi, i have the solution but i dunno if it's legal or not. so i dunno if i can upload the code

@KillerBabouin
Copy link
Author

Hi,
You are the boss!
Why you think it could be not legally compliant?
I will not use named account?

@markjx
Copy link

markjx commented Jan 23, 2019

I'll add that I'm having this issue as well. If I use the correct password or incorrect one, I get the "Logged in successfully!" message and Found 0 Books, Videos, & Integrated courses.

I'm on Python 2.7.15 on Fedora 28.

@KillerBabouin
Copy link
Author

Hi everybody,
Do you have an idea to improve the script please?

@Imbringas
Could you kindly share what you find please or explain why there is a legal issue?

@lmbringas
Copy link

lmbringas commented Jan 26, 2019

Hi, I'm not at home until Friday. When I come back I'll share my script. Sorry for not responding, I'm not with my computer

@lmbringas
Copy link

hi https://github.com/lmbringas/packtpub-downloader is to simple but it works for books

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants