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 #9035

Closed
jaan143 opened this issue Mar 31, 2016 · 6 comments
Closed

udemy error #9035

jaan143 opened this issue Mar 31, 2016 · 6 comments

Comments

@jaan143
Copy link

@jaan143 jaan143 commented Mar 31, 2016

getting error again in udemy enroled courses

PS C:\Users\vicky> youtube-dl --verbose -u *****@gmail.com -p **** -o '/MyVideos/%(playlist)s/%(chapter_numbe
r)s - %(chapter)s/%(title)s.%(ext)s' https://www.udemy.com/user-interface-ui-drawing-and-design-for-video-games/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '-o', '
/MyVideos/%(playlist)s/%(chapter_number)s - %(chapter)s/%(title)s.%(ext)s', 'https://www.udemy.com/user-interface-ui-drawing-and-design-for-video-games/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.27
[debug] Python version 3.4.3 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
[udemy:course] Downloading login popup
[udemy:course] Logging in as *****_@gmail.com
[udemy:course] user-interface-ui-drawing-and-design-for-video-games: Downloading webpage
[udemy:course] user-interface-ui-drawing-and-design-for-video-games: Downloading course JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: NOT FOUND (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "c:\python34\lib\site-packages\youtube_dl\extractor\common.py", line 366, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "c:\python34\lib\site-packages\youtube_dl\YoutubeDL.py", line 1934, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "c:\python34\lib\urllib\request.py", line 469, in open
response = meth(req, response)
File "c:\python34\lib\urllib\request.py", line 579, in http_response
'http', request, response, code, msg, hdrs)
File "c:\python34\lib\urllib\request.py", line 507, in error
return self._call_chain(_args)
File "c:\python34\lib\urllib\request.py", line 441, in _call_chain
result = func(*args)
File "c:\python34\lib\urllib\request.py", line 587, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)

PS C:\Users\vicky>

@LionelFernandez
Copy link

@LionelFernandez LionelFernandez commented Mar 31, 2016

This happens when you try downloading a course. However each video can be downloaded still. This was working like 5 hours ago. That means Udemy has made some modifications in its website and or JSON file or its location

@jaan143
Copy link
Author

@jaan143 jaan143 commented Mar 31, 2016

so now you will update udemy file ?
and yes it was working fine few hours ago but not right now

@dstftw dstftw closed this in 81da8cb Mar 31, 2016
@ahiyo
Copy link

@ahiyo ahiyo commented Apr 1, 2016

It seems that there is an issue when the lecture is not a video (in my case a html page). Despite that it's working great.

[download] Downloading video 6 of 289
[udemy] 4566028: Downloading webpage
[udemy] 4566028: Downloading lecture JSON
ERROR: Lecture 4566028 is not a video
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/youtube_dl/YoutubeDL.py", line 669, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python3.4/dist-packages/youtube_dl/extractor/common.py", line 321, in extract
return self._real_extract(url)
File "/usr/local/lib/python3.4/dist-packages/youtube_dl/extractor/udemy.py", line 200, in _real_extract
'Lecture %s is not a video' % lecture_id, expected=True)
youtube_dl.utils.ExtractorError: Lecture 4566028 is not a video

@saravanashines
Copy link

@saravanashines saravanashines commented Apr 1, 2016

So whats the final solution for this ? If this is a duplicate issue, still no solution provided.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 1, 2016

Wait for next release.

@saravanashines
Copy link

@saravanashines saravanashines commented Apr 1, 2016

Oh..you should have mentioned that in this issue itself..as the issue was closed, i submitted one.. Just add a note saying it will be fixed in next release or Release version number.. :)

Thanks

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
5 participants
You can’t perform that action at this time.