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

Unable to recognize tab page YouTube-dl and can't download videos from YouTube shorts #30760

Closed
maikeru2991 opened this issue Mar 21, 2022 · 4 comments · Fixed by #30577
Closed
Labels
duplicate fixed site-support-request Add extractor(s) for a new domain

Comments

@maikeru2991
Copy link

Checklist

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

Verbose log

youtube-dl --verbose 'https://www.youtube.com/shorts/o38ilgL25lc'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/shorts/o38ilgL25lc']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: fed93bb93
[debug] Python version 3.9.10 (CPython) - macOS-12.3-arm64-arm-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] shorts: Downloading webpage
ERROR: Unable to recognize tab page; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/opt/homebrew/lib/python3.9/site-packages/youtube_dl/extractor/youtube.py", line 2862, in _real_extract
    raise ExtractorError('Unable to recognize tab page')
youtube_dl.utils.ExtractorError: Unable to recognize tab page; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.```


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

Unable to recognize tab page YouTube-dl and can't download videos from YouTube shorts
@dirkf dirkf linked a pull request Mar 22, 2022 that will close this issue
11 tasks
@dirkf
Copy link
Contributor

dirkf commented Mar 22, 2022

Also, duplicate of #30269; fixed in git master.

[x ] I've searched the bugtracker for similar bug reports including closed ones

The search that you carried out would have revealed this.

@dirkf dirkf added site-support-request Add extractor(s) for a new domain fixed labels Mar 22, 2022
@Littlemac123
Copy link

`(base) littlemac@iPhone:~/Downloads/linux$ mpv https://www.youtube.com/shorts/SG8409ppUE8
[ytdl_hook] ERROR: Unable to recognize tab page; 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.
[ytdl_hook] youtube-dl failed: unexpected error occurred
[ytdl_hook] It appears that your youtube-dl version is severely out of date.
Failed to recognize file format.

Exiting... (Errors when loading file)
(base) littlemac@iPhone:~/Downloads/linux$ yt-dlp --verbose
[debug] Command-line config: ['--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (zip)
[debug] Python 3.9.1 (CPython 64bit) - Linux-5.4.0-126-generic-x86_64-with-glibc2.31 (glibc 2.31)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Optional libraries: brotli-None, certifi-2020.12.05, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1690 extractors

Usage: yt-dlp [OPTIONS] URL [URL...]

yt-dlp: error: You must provide at least one URL.
Type yt-dlp --help to see a list of all options.
`

its still not fixed

@maikeru2991
Copy link
Author

maikeru2991 commented Oct 5, 2022 via email

@Rudxain
Copy link

Rudxain commented Oct 27, 2022

just the video ID at the end of the URL

As I said at #30577 (comment) , I'm still impressed that this is possible in YTDL but not YT itself lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate fixed site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants