how can I use youtube-dl to only download the urls after a search for keywords.
youtube-dl "gvsearch1:how to create android app in app studio" downloads the entire video , I only need the urls for a keyword(s) search.
I figured it out
youtube-dl gvsearch5:how to develop for android --no-playlist --write-info-json --write-annotation --write-thumbnail --write-sub --skip-download"
The 5 in
gvsearch5 is the n, for 10 results make it
The output files are json and xml files for each result and those contain the youtube url.
Hope this is of help to someone.