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

Closed
Elite opened this issue Sep 15, 2013 · 8 comments
Closed

ERROR: unable to download video #1429

Elite opened this issue Sep 15, 2013 · 8 comments

Comments

@Elite
Copy link

@Elite Elite commented Sep 15, 2013

Here's the verbose log ::

youtube-dl -f 37/46/22/45/35/5 --verbose NBw5Gdmb1Pg
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '37/46/22/45/35/5', '--verbose', 'NBw5Gdmb1Pg']
[debug] youtube-dl version 2013.11.09
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] NBw5Gdmb1Pg: Downloading video webpage
[youtube] NBw5Gdmb1Pg: Downloading video info webpage
[youtube] NBw5Gdmb1Pg: Extracting video information
[youtube] NBw5Gdmb1Pg: Encrypted signatures detected.
[youtube] encrypted signature length 82 (40.41), itag 46, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 37, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 45, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 102, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 22, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 84, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 44, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 35, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 43, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 100, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 34, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 18, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 82, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 5, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 36, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 17, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 137, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 248, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 136, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 247, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 244, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 245, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 246, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 243, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 242, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 139, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 141, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 171, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 172, html5 player vflGNjMhJ
ERROR: unable to download video
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 573, in download
    videos = self.extract_info(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 339, in extract_info
    return self.process_ie_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 422, in process_ie_result
    for r in ie_result['entries']
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 369, in process_ie_result
    self.process_info(ie_result)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 550, in process_info
    raise UnavailableVideoError(err)
UnavailableVideoError: HTTP Error 403: Forbidden

@Elite
Copy link
Author

@Elite Elite commented Sep 15, 2013

It seems this is related to this - #1421 (comment), I installed using PIP (Debian 7) which file to get from repo and where to put it ?

@EveryDirection
Copy link

@EveryDirection EveryDirection commented Sep 15, 2013

Just chiming in to confirm the error, which I am seeing with nearly-identical verbose output about encrypted signature length 82, with other videos when using 2013.11.09.

@EveryDirection
Copy link

@EveryDirection EveryDirection commented Sep 15, 2013

Another example:

youtube-dl -f 44 --verbose jLntFKtR66g
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '44', '--verbose', 'jLntFKtR66g']
[debug] youtube-dl version 2013.11.09
[debug] Python version 2.7.3 - Windows-7-6.1.7600
[debug] Proxy map: {}
[youtube] Setting language
[youtube] jLntFKtR66g: Downloading video webpage
[youtube] jLntFKtR66g: Downloading video info webpage
[youtube] jLntFKtR66g: Extracting video information
[youtube] jLntFKtR66g: Encrypted signatures detected.
[youtube] encrypted signature length 82 (40.41), itag 44, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 35, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 43, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 34, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 18, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 5, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 36, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 17, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 135, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 244, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 245, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 246, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 134, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 243, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 133, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 242, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 160, html5 player vflGNjMhJ
[youtube] encrypted signature length 80 (38.41), itag 139, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 140, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 141, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 171, html5 player vflGNjMhJ
[youtube] encrypted signature length 82 (40.41), itag 172, html5 player vflGNjMhJ
ERROR: unable to download video
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 573, in download
  File "youtube_dl\YoutubeDL.pyo", line 339, in extract_info
  File "youtube_dl\YoutubeDL.pyo", line 422, in process_ie_result
  File "youtube_dl\YoutubeDL.pyo", line 369, in process_ie_result
  File "youtube_dl\YoutubeDL.pyo", line 550, in process_info
UnavailableVideoError: HTTP Error 403: Forbidden
@Tatsh
Copy link
Contributor

@Tatsh Tatsh commented Sep 15, 2013

Same error here. Another signature length change. Tried with latest from repository.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 15, 2013

On Linux you can run make youtube-dl to build the executable with the latest version of youtube-dl, @Tatsh it should work with the repo version (if not, open a new issue with the output and the sha of the commit).
On Windows, running python setup.py py2exe will build youtube-dl.exe.
Unfortunately, we have problems with the build server (#1420 (comment)).

@jaimeMF jaimeMF closed this Sep 15, 2013
@Elite
Copy link
Author

@Elite Elite commented Sep 15, 2013

Thanks @jaimeMF , I am no Linux geek so pls. tell will make youtube-dl replace the PIP installed version ? If not will make install do the trick ?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 15, 2013

Yes make install will copy youtube-dl to /usr/local/bin, but you'll probably need to run it with sudo. But you'll probably want to do it manually (otherwise you'll need to build more things), with install -m 755 youtube-dl /usr/local/bin.
Note: if you run make youtube-dl and it says youtube-dl is up to date, then run make youtube-dl --always-make

@phihag
Copy link
Contributor

@phihag phihag commented Sep 16, 2013

You can now simply type sudo youtube-dl -U update (or sudo pip -U youtube-dl) to update to v2013.09.16, which contains the fix.

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.