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
131.89k stars 10k forks source link

Udemy ERROR - Unable to download JSON metadata. #4219

Closed maor700 closed 9 years ago

maor700 commented 9 years ago

The error messege : C:\Users\Maoran>"C:\Users\Maoran\Desktop\YouTube_Downloader\WF\youtube-dl.exe" --autonumber-size 2 -o "C:\Users\Maoran\Desktop\YouTube_Downloader\Videos\%%(pl aylist)s\%%(playlistindex)s%%(title)s.%%(ext)s" --username *** --password **** "https://www.udemy.com/mastering-ftp/?dtcode=RKhVIHL1Oucj#/" [udemy:course] Downloading login popup [udemy:course] Logging in as maor@orot.tv [udemy:course] Mastering FTP: Download ing course JSON ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Be sure to ca ll youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

clampak commented 9 years ago

You're more likely to get help with entire output from --verbose.

maor700 commented 9 years ago

ok:

[debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-U', '--verbose', '--autonumber-size', '2', '-o', 'C:\Users\maor\Desktop\YouTube_Downloader\Videos\%%(playlist)s\%%(playlistindex)s%%(title)s.%%(ext)s', '--username', u'PRIVATE', '--password', u'PRIVATE', '--write-sub', '--write-auto-sub', '--sub-lang', 'iw,en', 'https://www.udemy.com/marketing-on-facebook/?dtcode=w11f6CN1Sax7'] [debug] Encodings: locale cp1255, fs mbcs, out cp862, pref cp1255 [debug] youtube-dl version 2014.11.16 [debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1 [debug] exe versions: none [debug] Proxy map: {} ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update. File "youtube_dl\extractor\common.pyo", line 232, in _request_webpage File "youtube_dl\YoutubeDL.pyo", line 1298, in urlopen File "urllib2.pyo", line 410, in open File "urllib2.pyo", line 523, in http_response File "urllib2.pyo", line 448, in error File "urllib2.pyo", line 382, in _call_chain File "urllib2.pyo", line 531, in http_error_default

dstftw commented 9 years ago

Udemy will work again in the next version of youtube-dl. Thanks for the report.

maor700 commented 9 years ago

thank you very much.

phihag commented 9 years ago

Fixed in youtube-dl 2014.11.26. Type youtube-dl -U to update.