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

UnavailableVideoError: HTTP Error 403: Forbidden #1447

Closed
goodevilgenius opened this issue Sep 17, 2013 · 5 comments
Closed

UnavailableVideoError: HTTP Error 403: Forbidden #1447

goodevilgenius opened this issue Sep 17, 2013 · 5 comments

Comments

@goodevilgenius
Copy link

@goodevilgenius goodevilgenius commented Sep 17, 2013

With this command: youtube-dl -v -f 18 -o /dev/null https://www.youtube.com/watch?v=Livyqlxvypk

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', '18', '-o', '/dev/null', 'https://www.youtube.com/watch?v=Livyqlxvypk']
[debug] youtube-dl version 2013.09.16
[debug] Python version 2.7.3 - Linux-3.5.0-37-generic-x86_64-with-Ubuntu-12.10-quantal
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Livyqlxvypk: Downloading video webpage
[youtube] Livyqlxvypk: Downloading video info webpage
[youtube] Livyqlxvypk: Extracting video information
[youtube] Livyqlxvypk: Encrypted signatures detected.
[youtube] encrypted signature length 85 (43.41), itag 46, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 45, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 22, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 44, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 43, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 18, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 5, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 36, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 17, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 137, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 136, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 135, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 134, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 133, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 160, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 139, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 140, html5 player vfldJ8xgI
[youtube] encrypted signature length 85 (43.41), itag 141, html5 player vfldJ8xgI
ERROR: unable to download video
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 575, in download
    videos = self.extract_info(url)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 340, in extract_info
    return self.process_ie_result(ie_result, download=download)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 423, in process_ie_result
    for r in ie_result['entries']
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 370, in process_ie_result
    self.process_info(ie_result)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 552, in process_info
    raise UnavailableVideoError(err)
UnavailableVideoError: HTTP Error 403: Forbidden

Info:

$ youtube-dl --version
2013.09.16
@phihag
Copy link
Contributor

@phihag phihag commented Sep 17, 2013

Thank you for the report. This should be fixed in youtube-dl 2013.09.17. You can update by typing

sudo youtube-dl -U

or

youtube-dl -U

depending on how you installed youtube-dl. A more permanent fix for signature changes is in the works.

@phihag phihag closed this Sep 17, 2013
@goodevilgenius
Copy link
Author

@goodevilgenius goodevilgenius commented Sep 17, 2013

I tried updating with sudo youtube-dl -U and it said:

Updating to version 2013.09.16...
Updated youtube-dl. Restart youtube-dl to use the new version.

And, not surprisingly, I got the same error when trying to download.

@goodevilgenius
Copy link
Author

@goodevilgenius goodevilgenius commented Sep 17, 2013

Working now.

Thanks.

@phihag
Copy link
Contributor

@phihag phihag commented Sep 17, 2013

Yes, GitHub takes a while to regenerate the version info file.

1 similar comment
@phihag
Copy link
Contributor

@phihag phihag commented Sep 17, 2013

Yes, GitHub takes a while to regenerate the version info file.

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