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

ERROR: unable to download video data: HTTP Error 403: Forbidden #3107

Closed
dcgc opened this issue Jun 19, 2014 · 5 comments
Closed

ERROR: unable to download video data: HTTP Error 403: Forbidden #3107

dcgc opened this issue Jun 19, 2014 · 5 comments

Comments

@dcgc
Copy link

@dcgc dcgc commented Jun 19, 2014

Can't download a video rom Youtube:


$ python youtube-dl.py http://www.youtube.com/watch?v=DrjZgKXrLF8 --no-warnings
[youtube] Setting language
[youtube] DrjZgKXrLF8: Downloading webpage
[youtube] DrjZgKXrLF8: Downloading video info webpage
[youtube] DrjZgKXrLF8: Extracting video information
[youtube] DrjZgKXrLF8: Encrypted signatures detected.
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
[youtube] DrjZgKXrLF8: Downloading js player vflazPBMd
ERROR: unable to download video data: HTTP Error 403: Forbidden
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 19, 2014

This is the same problem as #3107. When reporting errors, it's better to remove the --no-warnings and add --verbose option, it provides us important information.

@jaimeMF jaimeMF closed this Jun 19, 2014
@msliczniak
Copy link

@msliczniak msliczniak commented Jun 19, 2014

I get it too for this one:

$ youtube-dl -v http://www.youtube.com/watch?v=3eHue2jSw3s
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=3eHue2jSw3s']
[debug] Encodings: locale US-ASCII, fs US-ASCII, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2014.06.16
[debug] Python version 2.7.6 - FreeBSD-8.4-RELEASE-p9-i386-32bit-ELF
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 3eHue2jSw3s: Downloading webpage
[youtube] 3eHue2jSw3s: Downloading video info webpage
[youtube] 3eHue2jSw3s: Extracting video information
[youtube] 3eHue2jSw3s: Encrypted signatures detected.
[youtube] encrypted signature length 82 (41.40), itag 43, html5 player en_US-vflazPBMd
[youtube] 3eHue2jSw3s: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
.../youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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.

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
.../youtube_dl/YoutubeDL.py", line 1225, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 19, 2014

@msliczniak and @dcgc it's fixed in the repo and it will be working in the next release (see #3104 for reference).

@msliczniak
Copy link

@msliczniak msliczniak commented Jun 19, 2014

Ha sorry Jaimie, we comment just seconds apart! Thanks for fixing.

@msliczniak
Copy link

@msliczniak msliczniak commented Jun 19, 2014

version 2014.06.19 works fine for my example, thanks again

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