Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Udemy ERROR - Unable to download JSON metadata. #4219

Closed
maor700 opened this issue Nov 16, 2014 · 5 comments
Closed

Udemy ERROR - Unable to download JSON metadata. #4219

maor700 opened this issue Nov 16, 2014 · 5 comments

Comments

@maor700
Copy link

@maor700 maor700 commented Nov 16, 2014

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%%(playlist_index)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
Copy link

@clampak clampak commented Nov 17, 2014

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

@maor700
Copy link
Author

@maor700 maor700 commented Nov 17, 2014

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%%(playlist_index)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 dstftw closed this in e293711 Nov 26, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 26, 2014

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

@maor700
Copy link
Author

@maor700 maor700 commented Nov 26, 2014

thank you very much.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 26, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.