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

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

Closed
4 of 6 tasks
Botspot opened this issue Dec 31, 2020 · 5 comments
Closed
4 of 6 tasks

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

Botspot opened this issue Dec 31, 2020 · 5 comments

Comments

@Botspot
Copy link

Botspot commented Dec 31, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.12.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

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
Copy link
Collaborator

dstftw commented Dec 31, 2020

Post the full output without simulate options.

@Botspot
Copy link
Author

Botspot commented Dec 31, 2020

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
Copy link
Author

Botspot commented Dec 31, 2020

@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
Copy link

I have the same issue when searching for 'youtubuddy'

@Botspot
Copy link
Author

Botspot commented Jan 11, 2021

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

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

No branches or pull requests

4 participants