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
132k stars 10.01k forks source link

Some searches exit in 4 seconds, without errors or results. #27604

Closed Botspot closed 3 years ago

Botspot commented 3 years ago

Checklist

Description

I've noticed that for some search strings, youtube-dl provides no output at all. It just exits within about 4 seconds.

Output:

Searching for 'battlebots' does not work.

pi@raspberrypi:~ $ youtube-dl -sv --print-json ytsearch1:battlebots
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-sv', u'--print-json', u'ytsearch1:battlebots']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.12.31
[debug] Python version 2.7.16 (CPython) - Linux-5.4.79-v7l+-armv7l-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
pi@raspberrypi:~ $ 

But searching for 'hacksmith' does work!

pi@raspberrypi:~ $ youtube-dl -sv --print-json ytsearch1:hacksmith
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-sv', u'--print-json', u'ytsearch1:hacksmith']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.12.31
[debug] Python version 2.7.16 (CPython) - Linux-5.4.79-v7l+-armv7l-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
[debug] Default format spec: bestvideo+bestaudio/best
{"upload_date": "20201008", "creator": null, "series": null, "vbr": null, "chapters": [{"start_time": 0.0, "end_time": 33.0, "title": "Teaser"}, {"start_time": 33.0, "end_time": 208.0, "title": "A real retractable lightsaber"}, {"start_time": 208.0, "end_time": 257.0, "title": "New hilt design"}, {"start_time": 257.0, "end_time": 322.0, "title": "Support our channel!"}, {"start_time": 322.0, "end_time": 547.0, "title": "Building new hilt"}, #and on, and on, and on...
dstftw commented 3 years ago

Post the full output without simulate options.

Botspot commented 3 years ago

Post the full output without simulate options.

Sure. Nothing appears to have changed.

pi@raspberrypi:~ $ youtube-dl -v --print-json ytsearch1:battlebots
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--print-json', u'ytsearch1:battlebots']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.12.31
[debug] Git HEAD: 25f06d7
[debug] Python version 2.7.16 (CPython) - Linux-5.4.79-v7l+-armv7l-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
pi@raspberrypi:~ $ 

'battlebots' is not the only search term that doesn't work. I vaguely remember several other searches not working either, though I can't recall what they were now.

Botspot commented 3 years ago

@dstftw I found another search term that does not work: 'youtubuddy'.

pi@raspberrypi:~ $ youtube-dl -v --print-json ytsearch1:youtubuddy
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--print-json', u'ytsearch1:youtubuddy']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.12.31
[debug] Git HEAD: 25f06d7
[debug] Python version 2.7.16 (CPython) - Linux-5.4.79-v7l+-armv7l-with-debian-10.7
[debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1
[debug] Proxy map: {}
pi@raspberrypi:~ $ 
Itai-Nelken commented 3 years ago

I have the same issue when searching for 'youtubuddy'

Botspot commented 3 years ago

@remitamine How soon will these changes be live in pip's youtube-dl?