ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.41k stars 10.04k forks source link

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

Closed maikeru2991 closed 2 years ago

maikeru2991 commented 2 years ago

Checklist

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 commented 2 years ago

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.

Littlemac123 commented 2 years ago

`(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 commented 2 years ago

Somebody on here got back to me a while ago and you don’t put the entire URL, just the video ID at the end of the URL, and it works perfect.

Wow while everyone’s here I know this probably goes against forum decorum,but I  have a css landing page template for a website that I gotta get done today and I can’t get the page to format/render correctly… I’m using concrete CMS and of course they’ve taken all of the necessary steps to make it as difficult as possible for customers to get what they want.  I had some code that worked as an override to the CMS but maybe I just put it in the wrong location. Any tips greatly appreciated.

photograph Michael Patmon Marketing Designer M (314) 669-4430 E @. My Company Street, City Zip Code, Country www.my-company.com facebook icon twitter icon youtube icon linkedin icon instagram icon pinterest icon Banner On Oct 5, 2022 at 1:21 AM -0700, Littlemac123 @.>, wrote:

(base) ***@***.***:~/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) ***@***.***:~/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 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Rudxain commented 2 years ago

just the video ID at the end of the URL

As I said at https://github.com/ytdl-org/youtube-dl/pull/30577#issuecomment-1292927326 , I'm still impressed that this is possible in YTDL but not YT itself lol