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

Request like this dont' work youtube.com/results?search_query=... #25696

Open
5 tasks done
marabu88 opened this issue Jun 16, 2020 · 5 comments
Open
5 tasks done

Request like this dont' work youtube.com/results?search_query=... #25696

marabu88 opened this issue Jun 16, 2020 · 5 comments

Comments

@marabu88
Copy link

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • 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 issues including closed ones

Verbose log

>youtube-dl -v "https://www.youtube.com/results?search_query=HYPNODANCER"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/results?search_query=HYPNODANCER']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg N-89794-gc51301db14, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:search_url] HYPNODANCER: Downloading webpage
[download] Downloading playlist: HYPNODANCER
[youtube:search_url] playlist HYPNODANCER: Downloading 0 videos
[download] Finished downloading playlist: HYPNODANCER

BUT THIS WORK FINE!

>youtube-dl -v ytsearchdate15:HYPNODANCER
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'ytsearchdate15:HYPNODANCER']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg N-89794-gc51301db14, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:search:date] query "HYPNODANCER": Downloading page 1
[download] Downloading playlist: HYPNODANCER
[youtube:search:date] playlist HYPNODANCER: Collected 15 video ids (downloading 15 of them)
[download] Downloading video 1 of 15
[youtube] dxVmmmlJGyA: Downloading webpage
...

Description

Earlier, a search using the link to the search page on Youtube worked fine, but yesterday all such queries began to produce empty values. I can use the youtube-dl query language, but there’s no way to use ALL the search filters that Youtube offers. I tried to fulfill requests both using cookies (with authorization) and without it. if it’s not difficult, then add a detailed description of the use of keywords to the documentation and add to them all that youtube offers. thank.

@marabu88
Copy link
Author

Today, without any changes on my part, everything worked, but I ask you not to delete this topic, since most likely YouTube can change something again. and my request for documentation of search queries is still relevant.

@hejops
Copy link

hejops commented Jun 17, 2020

Can confirm the default search URL no longer works for me; last time I remember it working was about a couple days ago. Here's my verbose log:

>youtube-dl -v "https://www.youtube.com/results?search_query=bolzer"
[debug] System config: []
[debug] User config: ['-o', '/path/%(title)s - %(id)s - %(uploader)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/results?search_query=bolzer']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.3 (CPython) - Linux-4.14.182-1-MANJARO-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.2.3, ffprobe 4.2.3, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:search_url] bolzer: Downloading webpage
[download] Downloading playlist: bolzer
[youtube:search_url] playlist bolzer: Downloading 0 videos
[download] Finished downloading playlist: bolzer

@marabu88
Copy link
Author

as I expected - the search again ceased to produce any result :(
 

@h-faraday
Copy link

Can confirm, now experiencing the same issue on 2020.06.16.1. Looks like youtube must have changed something

@xarantolus
Copy link

I took a look at this and fixed the extraction for normal search urls as mentioned here. Now the normal search functionality (ytsearch:query) doesn't work anymore and I'm not sure how to get it to work together correctly

@ytdl-org ytdl-org deleted a comment Jun 25, 2020
@ytdl-org ytdl-org locked and limited conversation to collaborators Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants