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

Age-gated AND Youtube-only playback videos support broken #26652

Closed
5 tasks done
leedoyle opened this issue Sep 21, 2020 · 1 comment · Fixed by #31043
Closed
5 tasks done

Age-gated AND Youtube-only playback videos support broken #26652

leedoyle opened this issue Sep 21, 2020 · 1 comment · Fixed by #31043

Comments

@leedoyle
Copy link

leedoyle commented Sep 21, 2020

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.20
  • 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 MxCRYXg6hLs                                                                                                                                              [1]
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'MxCRYXg6hLs']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.8.5 (CPython) - Linux-5.8.8-4-MANJARO-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] MxCRYXg6hLs: Downloading webpage
[youtube] MxCRYXg6hLs: Downloading embed webpage
[youtube] MxCRYXg6hLs: Refetching age-gated info webpage
ERROR: Watch this video on YouTube. Playback on other websites has been disabled by the video owner.
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 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 2231, in _real_extract
    raise ExtractorError(error_message, expected=True)
youtube_dl.utils.ExtractorError: Watch this video on YouTube. Playback on other websites has been disabled by the video owner.

Description

Apparently, videos that are BOTH Age-gated and Youtube-only e.g. https://www.youtube.com/watch?v=MxCRYXg6hLs ("author had disabled playback on other websites"), wouldn't download. I've checked another video that is Youtube-only but not age gated (e.g. this one https://www.youtube.com/watch?v=NL1hkIU_e8E ) , and it worked fine.

@leedoyle leedoyle changed the title Age-gated AND Youtube-only plaback videos support broken Age-gated AND Youtube-only playback videos support broken Sep 21, 2020
@pukkandan
Copy link
Contributor

pukkandan commented Oct 18, 2020

blackjack4494 seems to have a solution on his fork. blackjack4494#171

Can you make a pull request of the same here? @blackjack4494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants