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

[lynda course] ERROR: unable to download video data: HTTP Error 404: Not Found #2185

Closed
blnk opened this issue Jan 20, 2014 · 5 comments
Closed

Comments

@blnk
Copy link

@blnk blnk commented Jan 20, 2014

Downloading works on some courses, doesn’t work on others.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-u', '<PRIVATE>', '-p', '<PRIVATE>', 'http://www.lynda.com/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html', '--verbose']
[debug] Encodings: locale 'UTF-8', fs 'utf-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.17.2
[debug] Python version 2.7.5 - Darwin-13.0.0-x86_64-i386-64bit
[debug] Proxy map: {}
[lynda:course] 78546: Downloading course JSON
[download] Downloading playlist: Unix for Mac OS X Users
[lynda:course] playlist 'Unix for Mac OS X Users': Collected 82 video ids (downloading 82 of them)
[download] Downloading video #1 of 82
[lynda] Logging in as ________
[lynda] 83608: Downloading video JSON
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 923, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 907, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 290, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 52, in real_download
    data = compat_urllib_request.urlopen(request)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
@blnk blnk closed this Jan 20, 2014
@blnk blnk reopened this Jan 20, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 22, 2014

Thanks for report.
It seems lynda sometimes returns broken links for videos of some qualities. You can try downloading videos with different format code providing it with --format option (use --list-formats for list of available formats).
For now, you can workaround this as follows:

youtube-dl --format 540 http://www.lynda.com/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html
@dstftw dstftw closed this in a57e8ce Jan 25, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 25, 2015

This will be fixed in the next version. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 25, 2015

The fix made it into youtube-dl 2015.01.25. See our FAQ if you need help updating.

@availablespace
Copy link

@availablespace availablespace commented Jun 9, 2015

Edited by jaimeMF: removed spam.

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
@blnk @phihag @dstftw @availablespace and others
You can’t perform that action at this time.