Open lilfmdude opened 1 year ago
Hello, same issue of #8
Did you follow these troubleshoot guidelines?
yes i just double checked book id and the auth is correct i even pasted it again just incase same error
@lilfmdude the issue is not related to the book id or auth params, but to a misconfiguration of puppeeter/chrome driver dependences on Windows OS. Please follow these instructions:
can you give me a detail instructions on how to add it to my system path? or do i just added with the same perlego downloader?
can you give me a detail instructions on how to add it to my system path? or do i just added with the same perlego downloader?
Download the latest version of chromedriver.exe here and place it in C:/Windows.
did exactly as you said still getting same error
did exactly as you said still getting same error
You can try to follow this answer on stackoverflow and debug pyppeteer by yourself. Pop up the terminal, run python
to open the command-line interpreter and then:
>>> from pyppeteer.launcher import Launcher
>>> ' '.join(Launcher().cmd)
Copy the result, exit from the python interpreter with exit()
, paste the command in the terminal and run it. You should see the error that prevents pyppeeter from launching properly (maybe some missing dependences).
this is what i get when pressing enter after inputting that command
@lilfmdude copy-paste the commands without the >>>
this is what i get
@lilfmdude
Copy the result, exit from the python interpreter with exit(), paste the command in the terminal and run it. You should see the error that prevents pyppeeter from launching properly (maybe some missing dependences).
like this?
@lilfmdude No...you're not following the instructions. Please read carefully what I wrote and try again.
sorry, when you say terminal do you mean on the visual terminal? and if so if not i have no idea
hey so i got it to work i just installed a vm workstation slapped linux on it and it just worked first try thanks man! i guess its just windows side its just not working i don't know
sorry, when you say terminal do you mean on the visual terminal? and if so if not i have no idea
Same for me. Reinstalled chromium several times. Put chromedriver to C:\WINDOWS. Chrome and pypeeter work perfectly. But the script does not:
C:\Users\forsite\Documents\perlego-downloader-main>C:\Users\forsite\AppData\Local\pyppeteer\pyppeteer\local-chromium\588429\chrome-win32\chrome.exe --disable-background-networking --disable-background-timer-throttling --disable-breakpad --disable-browser-side-navigation --disable-client-side-phishing-detection --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=site-per-process --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --disable-translate --metrics-recording-only --no-first-run --safebrowsing-disable-auto-update --enable-automation --password-store=basic --use-mock-keychain --headless --hide-scrollbars --mute-audio --disable-gpu about:blank --remote-debugging-port=51505 --user-data-dir=C:\Users\forsite\AppData\Local\pyppeteer\pyppeteer\.dev_profile\tmpjor6j0j5 C:\Users\forsite\Documents\perlego-downloader-main>
Still:
Traceback (most recent call last):
File "C:\Users\forsite\Documents\perlego-downloader-main\downloader.py", line 244, in
I can send EVMER my downloader file (with BOOK and AUTH inserted) so as you could troubleshoot and/or simply download the book for me.
did exactly as you said still getting same error
You can try to follow this answer on stackoverflow and debug pyppeteer by yourself. Pop up the terminal, run
python
to open the command-line interpreter and then:>>> from pyppeteer.launcher import Launcher >>> ' '.join(Launcher().cmd)
Copy the result, exit from the python interpreter with
exit()
, paste the command in the terminal and run it. You should see the error that prevents pyppeeter from launching properly (maybe some missing dependences).
Hello there! This solution helped me to troubleshoot under WSL/ubuntu and let pyppeteer work. So I managed to download the book finally - everything worked well.
Thanks a lot
Hi,I'm having the same problem, has anyone solved the problem on Windows ?
I followed the instructions to troubleshoot everything, but it still doesn't work
help me please I tried in ubuntu but it gave me an error
I get this error
o@o-B250M-DS3H:~/Escritorio$ python3 downloader.py download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out
I get this error
o@o-B250M-DS3H:~/Escritorio$ python3 downloader.py download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out download error: Connection timed out
I got this error too, but after I use an account with an active subscription. It's starting to download.
I got this bug too. Already reinstall chrome, put chromedriver on env PATH C:/Windows. None of this working. Now I will try WSL ubuntu.
And I still got the error :'(
Finally it work after reading this https://stackoverflow.com/a/71935536/10486986
Solved on windows by installing official chrome and pointing Pupeteer to use it like this
'headless': True,
'autoClose': False,
'executablePath': 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
So modify line 171.
Thank you @cezarlacatus ! 🎉 Seems you have fixed one of the most frequent bugs here. I'm going to add your suggestion to the README.
I have downloaded the new script but I'm still getting errors also the book id I'm trying is 1323963 maybe it has something to do with it? I do not know hope this helps you.![image](https://user-images.githubusercontent.com/34497266/189736536-d11d6607-6ba4-450a-949c-1cbbe9020cbc.png)