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

[YouTube] ERROR: Unable to extract age gate player URL #4108

Closed
TheBoroer opened this issue Nov 5, 2014 · 7 comments
Closed

[YouTube] ERROR: Unable to extract age gate player URL #4108

TheBoroer opened this issue Nov 5, 2014 · 7 comments

Comments

@TheBoroer
Copy link

@TheBoroer TheBoroer commented Nov 5, 2014

Getting that error when trying to download this video: http://www.youtube.com/watch?v=6kLq3WMV1nU

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=6kLq3WMV1nU']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.04
[debug] Python version 2.6.6 - Linux-3.10.23-xxxx-std-ipv6-64-x86_64-with-centos-6.5-Final
[debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] 6kLq3WMV1nU: Downloading webpage
[youtube] 6kLq3WMV1nU: Downloading video info webpage
[youtube] 6kLq3WMV1nU: Refetching age-gated info webpage
[youtube] 6kLq3WMV1nU: Extracting video information
ERROR: Unable to extract age gate player URL; 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.
Traceback (most recent call last):
  File "./youtube-link/youtube_dl/extractor/youtube.py", line 841, in _real_extract
    raise ValueError('Could not find vevo ID')
ValueError: Could not find vevo ID
Traceback (most recent call last):
  File "./youtube-link/youtube_dl/YoutubeDL.py", line 536, in extract_info
    ie_result = ie.extract(url)
  File "./youtube-link/youtube_dl/extractor/common.py", line 199, in extract
    return self._real_extract(url)
  File "./youtube-link/youtube_dl/extractor/youtube.py", line 909, in _real_extract
    video_webpage, 'age gate player URL')
  File "./youtube-link/youtube_dl/extractor/common.py", line 436, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract age gate player URL; 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.
@martinswacke
Copy link

@martinswacke martinswacke commented Nov 5, 2014

It seems YouTube does not include STS parameter in the webpage anymore. So it is missing always and for age gated videos with ciphered signatures you will get response 403: Forbidden.
Here is an example video: http://www.youtube.com/watch?v=07FYdnEawAQ

@TheBoroer
Copy link
Author

@TheBoroer TheBoroer commented Nov 12, 2014

Are there any workarounds or quick fixes for this?

Here are some more URLs where this error occurs:
http://www.youtube.com/watch?v=2w02QxQZGQc
http://www.youtube.com/watch?v=TjpKGcnEa80
http://www.youtube.com/watch?v=0GflZLELubQ

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 30, 2014

Fix for this issue will be incorporated in the next version of youtube-dl. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 6, 2015

I believe this issue to be fixed in youtube-dl 2015.01.05 or newer. See our FAQ if you need help updating.

@joecrayne
Copy link

@joecrayne joecrayne commented Jun 25, 2015

Seems broken again.

$ youtube-dl -t 'https://www.youtube.com/watch?v=tC1Mk5Ge_XA'
[youtube] tC1Mk5Ge_XA: Downloading webpage
[youtube] tC1Mk5Ge_XA: Downloading embed webpage
[youtube] tC1Mk5Ge_XA: Refetching age-gated info webpage
ERROR: tC1Mk5Ge_XA: YouTube said: Please sign in to view this video.

@0xced
Copy link
Contributor

@0xced 0xced commented Jun 25, 2015

The error seems to have changed.

$ youtube-dl -t 'https://www.youtube.com/watch?v=tC1Mk5Ge_XA'
[youtube] tC1Mk5Ge_XA: Downloading webpage
[youtube] tC1Mk5Ge_XA: Downloading video info webpage
ERROR: tC1Mk5Ge_XA: YouTube said: This video has been removed by the user.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 26, 2015

@joecrayne I can't watch the video on a browser: This video has been removed by the user(which is also the message I get with youtube-dl).

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.

7 participants
You can’t perform that action at this time.