ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.54k stars 10.05k forks source link

udemy error #9051

Closed jaan143 closed 8 years ago

jaan143 commented 8 years ago

Hi Sir plz check some courses are downloading complete but mostly are giving error after one or two lecture download like this one and its free course you can enroll free with your udemy account

PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B> youtube-dl --verbose -u @gmail.com -p **** -o '~/MyVideos/%(playli st)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/learn-chi-square-from-beginning-to-advanc e-level/ [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '-o', '~/MyVideos/%(playlist)s/%(chapter_numb er)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/learn-chi-square-from-beginning-to-advance-level/'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2016.04.01 [debug] Python version 3.4.3 - Windows-2012Server-6.2.9200 [debug] exe versions: none [debug] Proxy map: {} [udemy:course] Downloading login popup [udemy:course] Logging in as @gmail.com [udemy:course] learn-chi-square-from-beginning-to-advance-level: Downloading webpage [udemy:course] 807950: Downloading course curriculum [download] Downloading playlist: 807950 [udemy:course] playlist 807950: Collected 22 video ids (downloading 22 of them) [download] Downloading video 1 of 22 [udemy] Downloading login popup [udemy] 4859762: Downloading webpage [udemy] 4859762: Downloading lecture JSON [debug] Invoking downloader on 'https://udemy-assets-on-demand.udemy.com/2016-04-01_11-27-47-e11e54116a42f5c68aca2ce97bf e03b8/WebHD.mp4?nva=20160401202304&token=0201605a909180da9102a' [download] Destination: C:\Users\HDNLUF037.WIN-IPDLDV1QL5B\MyVideos\807950\NA - NA\Introduction to course.mp4 [download] 100% of 2.89MiB in 00:01 [download] Downloading video 2 of 22 [udemy] 4859868: Downloading webpage [udemy] 4859868: Downloading lecture JSON ERROR: Lecture 4859868 is not a video Traceback (most recent call last): File "C:\Python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 669, in extract_info ie_result = ie.extract(url) File "C:\Python34\lib\site-packages\youtube_dl\extractor\common.py", line 323, in extract return self._real_extract(url) File "C:\Python34\lib\site-packages\youtube_dl\extractor\udemy.py", line 199, in _real_extract 'Lecture %s is not a video' % lecture_id, expected=True) youtube_dl.utils.ExtractorError: Lecture 4859868 is not a video

PS C:\Users\HDNLUF037.WIN-IPDLDV1QL5B>

dstftw commented 8 years ago

This issue is already fixed and fix will be incorporated in the next version of youtube-dl.

jaan143 commented 8 years ago

i updated latest version which you released today PS C:\Users\vicky> youtube-dl --version 2016.04.01 PS C:\Users\vicky>

dstftw commented 8 years ago

fix will be incorporated in the next version of youtube-dl.