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 extractor fails on age-gated videos #25954

Closed
5 tasks done
aidalgol opened this issue Jul 10, 2020 · 1 comment · Fixed by #26100
Closed
5 tasks done

youtube extractor fails on age-gated videos #25954

aidalgol opened this issue Jul 10, 2020 · 1 comment · Fixed by #26100

Comments

@aidalgol
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl -v https://www.youtube.com/watch?v=kWKlmbTudD8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=kWKlmbTudD8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-9-amd64-x86_64-with-debian-10.4
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1
[debug] Proxy map: {}
[youtube] kWKlmbTudD8: Downloading webpage
ERROR: kWKlmbTudD8: YouTube said: Unable to extract video data
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1893, in _real_extract
    'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
ExtractorError: kWKlmbTudD8: YouTube said: Unable to extract video data

Description

The youtube extractor is no longer able to extract age-gated videos. The above output happens with at least the following URLs.

@nastia-diaphan
Copy link

Confirmed by #25945 (comment)
and then probably related to #25945
and to #25937

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 10, 2020
@dstftw dstftw closed this as completed Jul 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants