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] unable to extract player URL #28604

Closed
6 tasks done
ale5000-git opened this issue Mar 31, 2021 · 2 comments
Closed
6 tasks done

[youtube] unable to extract player URL #28604

ale5000-git opened this issue Mar 31, 2021 · 2 comments

Comments

@ale5000-git
Copy link

ale5000-git commented Mar 31, 2021

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.03.31
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', 'bestvideo+best/audio', 'https://www.youtube.com/watch?v=IZUNMpRzM4Q']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.03.31
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-101776-gd4575982f4
[debug] Proxy map: {}
[youtube] IZUNMpRzM4Q: Downloading webpage
[youtube] IZUNMpRzM4Q: Downloading API JSON
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract player URL; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8gphr8ol\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8gphr8ol\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8gphr8ol\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8gphr8ol\build\youtube_dl\extractor\youtube.py", line 1661, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp8gphr8ol\build\youtube_dl\extractor\common.py", line 1369, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

This strangely fails: youtube-dl -f bestvideo+bestaudio/best "https://www.youtube.com/watch?v=IZUNMpRzM4Q"

@remitamine
Copy link
Collaborator

this is most likely related to #28602, and caused by the new cookie consent page served for user accessing from European countries.

@remitamine remitamine changed the title bestvideo+bestaudio/best fails on this Youtube url [youtube] unable to extract player URL Mar 31, 2021
@remitamine remitamine pinned this issue Mar 31, 2021
@dstftw dstftw closed this as completed in 14f29f0 Mar 31, 2021
papey added a commit to papey/o2m that referenced this issue Apr 1, 2021
@ehoogeveen-medweb
Copy link

@dstftw The generated cookie value (YES+cb.20210328-17-p0.en+FX+%s) looks like it contains a hardcoded date, is that intended?

@ytdl-org ytdl-org deleted a comment from casualkitten1 Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from ndg63276 Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from tticehurst Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from A-S3C Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from moehmeni Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from ndg63276 Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from remitamine Apr 1, 2021
@ytdl-org ytdl-org locked and limited conversation to collaborators Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from BugRprt Apr 1, 2021
@ytdl-org ytdl-org deleted a comment from moehmeni Apr 1, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Apr 1, 2021
* https://github.com/ytdl-org/youtube-dl:
  [screencastomatic] fix extraction(closes ytdl-org#11976, closes ytdl-org#24489)
  [palcomp3] Add new extractor(closes ytdl-org#13120)
  [arnes] Add new extractor(closes ytdl-org#28483)
  [youtube:tab] Add support for hashtag videos extraction(closes ytdl-org#28308)
  release 2021.04.01
  [ChangeLog] Actualize [ci skip]
  [youtube] Setup CONSENT cookie when needed (closes ytdl-org#28604)
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
@dstftw dstftw unpinned this issue Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants