Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Document ytsearch #7395
Document ytsearch #7395
Comments
|
Post the full output you get with the
You can just run |
|
i don't it's a bug, there might be one of the keys that breaks python, i'll look into it but i think it's at least the documentation. ytsearch worked but ytsearch is another program/api, not part of youtube-dl and unless you search for it or know about it, there was no way someone would know to use it instead of the inbuilt search using the keys --match-title REGEX Download only matching titles (regex or caseless sub-string) are GET/POST from ytsearch anyway? |
|
erros [debug] System config: [] youtube-dl: error: You must provide at least one URL. this hangs [debug] System config: [] |
Wrong. It's a regular extractor provided by youtube-dl, an outright part of youtube-dl. |
|
no, i'm not. website ytsearch.com show me the youtube-dl documentation. youtube-dl -h | grep ytsearch no results |
|
We don't and can't put description about every extractor in the documentation.
You didn't provide any URL or search query. The seconds one doesn't hang - it processes 100 videos you've requested in search query. And since you've set quiet options ( |
|
I think we should document the search capabilities of youtube-dl, contrary to other extractor which can just be tested by giving an URL to youtube-dl you can't easily discover the search extractors. |
it isn't clear from the documentation how to search youtube using wildcards with regex.
for example, as i've tried various regex expressions but youtube-dl complains about providing a URL
"ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); 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."
what i want to do is search youtube for say videos with keyword photograph for example and dump out the audio codec and the youtube video number for each one it finds
here is part of my bash script
opt="--ignore-config --ignore-errors --no-warnings "
opt+="--skip-download --match-title photograph "
opt+="--get-format --get-id --get-format "
youtube-dl ${opt} http://www.youtube.com
normal ywt searches should look like
https://www.youtube.com/results?search_query=def+leoppard+photograph&page=1