I want to download videos from a YouTube search query using youtube-dl
. Suppose I want videos from the search query https://www.youtube.com/results?q=how+to+create+android+app+in+android+studio.
How can I download query-based videos from YouTube as well as other video sites? This is what I've tried, and it leads to the following error:
youtube-dl "gvsearchX:search words here"
. Replace 'X' with a number. If you would prefer a website that allows downloading audio/video from YouTube instead, then I recommend offliberty.com.