r0oth3x49 / udemy-dl

A cross-platform python based utility to download courses from udemy for personal offline use.
MIT License
4.85k stars 1.2k forks source link

Does not download videos #489

Closed jcrawford closed 4 years ago

jcrawford commented 4 years ago

Something appears to be going on where it will not download the videos.

[*] : Downloading chapter : (13 of 22)
[+] : Chapter (13 Kubernetes Install And Your First Pods)
[*] : Found (10) lectures ...

[*] : Lecture(s) : (1 of 10)
[*] : Downloading (095 Section Intro)
[*] : Lecture : '095 Section Intro' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='mp4-c.udemycdn.com', port=443): Max retries exceeded with url: /2019-09-26_03-51-48-b40f1fa415cdac1dfb287b2f3953315d/WebHD_720p.mp4?e=1586993543&h=01fe26344a6d20cf79beada3f71f7e3c (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x105b523c8>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
r0oth3x49 commented 4 years ago

something related to SSL not working on your side, did you tried updating the requirements?

jcrawford commented 4 years ago

I have several times. It seems today and I missed it yesterday but it does download some and then starts failing on everything

[*] : Lecture(s) : (15 of 20)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker)
[*] : 445.64MB/445.64MB 100.00% |##############################| 50.82MB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-en)
[*] : 29.62KB/29.62KB 100.00% |##############################| 435.13kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-en)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-id)
[*] : 30.26KB/30.26KB 100.00% |##############################| 359.62kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-id)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-fr)
[*] : 31.46KB/31.46KB 100.00% |##############################| 393.33kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-fr)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-de)
[*] : 30.14KB/30.14KB 100.00% |##############################| 380.57kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-de)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-pt)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-pt' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/pt_BR/2019-09-03_15-53-32-3f62f939b00ea8e127ef26cf4d571caf.vtt?tM1xEU59ikqtEe9HKeyrDjOppLYjzLqQLtP-Ky7tXkTBrrTMg1GbcLVwhBfRIyGqFQUTU4r7FR49mA5ETovI1RQxl0g4LShlkQYs6wGHYuy_pqe-HQiH6T36P89XWotERvL0sfl7Ld1hRj6QwjzcUN9W_ockmcNUcIDOeSnwtuXsmHmVkKs (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae7ca10>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-es)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-es' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/es_ES/2019-09-03_15-53-31-bc71bfacea815f6493388f526ebd02c0.vtt?guWXd0nRai6ECbQftYBGlKQgKhaJBEBxqQ0_b2q8TUWj2HmZQML9WX_fcrjfyVYgQpThdiOUxHjweEWDqp685EFQIFsIAmLm1DChsMp4udq-IOyIHZhesoawx4ctPrbyJ1z9mUHfPlgpCprQH_CWdcGuR7-5dj-nxj__fXMDX0YGH_m-jM4 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae841d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-it)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-it' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/it_IT/2019-09-03_15-53-31-15be7326bfe8b57863f3af90bf9bcb60.vtt?eqU6YzVr59zAtUx21qMmzxcjHlr2sCNRSJ__biTPi0oKMzCRg-1Py5iBtt7Ar5loGhxe9h4LiYCvUKBCyNvJpSw9jZhWTqbzvAD2qGhxxJFlfZlqNamh4Nv6CBGPw2-ZoMDs8JYL8UDeF6UjbYgYXnErRu-VC1QyWgLfEb6lUfnIyFVS_Ys (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae84290>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
jcrawford commented 4 years ago

I have several times. It seems today and I missed it yesterday but it does download some and then starts failing on everything

[*] : Lecture(s) : (15 of 20)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker)
[*] : 445.64MB/445.64MB 100.00% |##############################| 50.82MB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-en)
[*] : 29.62KB/29.62KB 100.00% |##############################| 435.13kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-en)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-id)
[*] : 30.26KB/30.26KB 100.00% |##############################| 359.62kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-id)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-fr)
[*] : 31.46KB/31.46KB 100.00% |##############################| 393.33kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-fr)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-de)
[*] : 30.14KB/30.14KB 100.00% |##############################| 380.57kB/s
[+] : Downloaded  (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-de)

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-pt)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-pt' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/pt_BR/2019-09-03_15-53-32-3f62f939b00ea8e127ef26cf4d571caf.vtt?tM1xEU59ikqtEe9HKeyrDjOppLYjzLqQLtP-Ky7tXkTBrrTMg1GbcLVwhBfRIyGqFQUTU4r7FR49mA5ETovI1RQxl0g4LShlkQYs6wGHYuy_pqe-HQiH6T36P89XWotERvL0sfl7Ld1hRj6QwjzcUN9W_ockmcNUcIDOeSnwtuXsmHmVkKs (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae7ca10>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-es)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-es' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/es_ES/2019-09-03_15-53-31-bc71bfacea815f6493388f526ebd02c0.vtt?guWXd0nRai6ECbQftYBGlKQgKhaJBEBxqQ0_b2q8TUWj2HmZQML9WX_fcrjfyVYgQpThdiOUxHjweEWDqp685EFQIFsIAmLm1DChsMp4udq-IOyIHZhesoawx4ctPrbyJ1z9mUHfPlgpCprQH_CWdcGuR7-5dj-nxj__fXMDX0YGH_m-jM4 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae841d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))

[*] : Downloading subtitle(s)
[*] : Downloading (163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-it)
[*] : Subtitle : '163 Docker  ARM Using Raspberry Pi or AWS A1 Instances with Docker-it' (download skipped).
[-] : ConnectionError: HTTPSConnectionPool(host='vtt-a.udemycdn.com', port=443): Max retries exceeded with url: /18070866/it_IT/2019-09-03_15-53-31-15be7326bfe8b57863f3af90bf9bcb60.vtt?eqU6YzVr59zAtUx21qMmzxcjHlr2sCNRSJ__biTPi0oKMzCRg-1Py5iBtt7Ar5loGhxe9h4LiYCvUKBCyNvJpSw9jZhWTqbzvAD2qGhxxJFlfZlqNamh4Nv6CBGPw2-ZoMDs8JYL8UDeF6UjbYgYXnErRu-VC1QyWgLfEb6lUfnIyFVS_Ys (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x10ae84290>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known'))
r0oth3x49 commented 4 years ago

it happens mostly when the direct download links gets expired for vtt or some sort of ssl error, that's why it is handled nicely to show the exception. but i 'm happy it worked for you the next day.