Teachable-dl icon indicating copy to clipboard operation
Teachable-dl copied to clipboard

Unable to Download courses.

Open 60plus opened this issue 1 year ago • 6 comments

Hi. Can anyone help me ? with --man_login_url the same effect

python3 main.py --url https://smartpoly.teachable.com/courses/enrolled/1920999 --email *************** --password ********* -v

DevTools listening on ws://127.0.0.1:49912/devtools/browser/13351abe-88fc-434d-aff5-9ce282a146c6 INFO: Starting login INFO: Trying to find login ERROR: Could not find login: Message: no such window: target window already closed from unknown error: web view not found (Session info: chrome=130.0.6723.70) Stacktrace: GetHandleVerifier [0x00007FF6952D3AB5+28005] (No symbol) [0x00007FF6952383B0] (No symbol) [0x00007FF6950D580A] (No symbol) [0x00007FF6950AFA85] (No symbol) [0x00007FF695152AD7] (No symbol) [0x00007FF69516B1B1] (No symbol) [0x00007FF69514B7E3] (No symbol) [0x00007FF6951175C8] (No symbol) [0x00007FF695118731] GetHandleVerifier [0x00007FF6955C643D+3118829] GetHandleVerifier [0x00007FF695616C90+3448640] GetHandleVerifier [0x00007FF69560CF0D+3408317] GetHandleVerifier [0x00007FF69539A40B+841403] (No symbol) [0x00007FF69524340F] (No symbol) [0x00007FF69523F484] (No symbol) [0x00007FF69523F61D] (No symbol) [0x00007FF69522EB79] BaseThreadInitThunk [0x00007FFBB38D257D+29] RtlUserThreadStart [0x00007FFBB412AF08+40]

INFO: Cleaning up

60plus avatar Oct 26 '24 13:10 60plus

Same problems here. Does this code even work anymore? I am having the same issues? Is there ever going to be another update?

sinsinnati avatar Nov 25 '24 21:11 sinsinnati

@sinsinnati I found a way to download:

python3 main.py --url "your course url" --login_url "your sso login page" --man_login_url "your course url" --email "your email" -t 60 --verbose

add your details without ".

when the chrome window opens you have to log in manually and go to the course you want to download. you have to do it pretty quickly. you have to make it before the timeout at the terminal pop out.

60plus avatar Nov 27 '24 09:11 60plus

@60plus

Thank you, I was able to get it to do everything login and download it even creates the folders and URLs. However, it's useless because I am getting 404 errors when it tries to download any video. You aren't getting errors like this? It happens right when it attempts to extract the URL and use hotmart to download.

[generic] Extracting URL: "shows URL and then a bunch of correct identifiers"

The codes look good and everything, but then it errors out for every video with this:

ERROR: Could not download video: "then shows the URL"

ERROR: [generic] Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>)

Thanks for following up..I really appreciate it!

sinsinnati avatar Nov 27 '24 22:11 sinsinnati

You aren't getting errors like this?

No all is downloading. Video, HTML and Attachments.

60plus avatar Nov 29 '24 23:11 60plus

You aren't getting errors like this?

No all is downloading. Video, HTML and Attachments.

60plus avatar Nov 29 '24 23:11 60plus

I'm getting the same error when using latest version:

Chrome pops up and shows log in screen, then crashes. Even after logging in manually in time, nothing happens and then crashes again.

J0J0XMR avatar Jan 07 '25 00:01 J0J0XMR