On Wed, Mar 12, 2025 at 14:33:11 -0000, Greg wrote: > My robot says: > > One result: > > yt-dlp "ytsearch:QUERY" > > But for the life of me, after searching for twenty minutes, I can't > determine whether this is correct or not.
hobbit:~$ wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp [...] 2025-03-12 11:03:25 (9.25 MB/s) - ‘yt-dlp’ saved [3022294/3022294] hobbit:~$ sudo mv yt-dlp /usr/local/bin [sudo] password for greg: hobbit:~$ sudo chmod 755 /usr/local/bin/yt-dlp hobbit:~$ /usr/local/bin/yt-dlp "ytsearch:caught a lite sneeze" [youtube:search] Extracting URL: ytsearch:caught a lite sneeze [download] Downloading playlist: caught a lite sneeze [youtube:search] query "caught a lite sneeze": Downloading web client config [youtube:search] query "caught a lite sneeze" page 1: Downloading API JSON [youtube:search] Playlist caught a lite sneeze: Downloading 1 items of 1 [download] Downloading item 1 of 1 [youtube] Extracting URL: https://www.youtube.com/watch?v=weWtRqoSUOI [youtube] weWtRqoSUOI: Downloading webpage [youtube] weWtRqoSUOI: Downloading tv client config [youtube] weWtRqoSUOI: Downloading player b21600d5 [youtube] weWtRqoSUOI: Downloading tv player API JSON [youtube] weWtRqoSUOI: Downloading ios player API JSON [youtube] weWtRqoSUOI: Downloading m3u8 information [info] weWtRqoSUOI: Downloading 1 format(s): 247+251 [download] Destination: Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].f247.webm [download] 100% of 24.69MiB in 00:00:02 at 9.22MiB/s [download] Destination: Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].f251.webm [download] 100% of 4.21MiB in 00:00:00 at 8.15MiB/s [Merger] Merging formats into "Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].webm" Deleting original file Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].f251.webm (pass -k to keep) Deleting original file Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].f247.webm (pass -k to keep) [download] Finished downloading playlist: caught a lite sneeze hobbit:~$ ls -l Tori\ Amos\ -\ Caught\ a\ Lite\ Sneeze\ \(Official\ Music\ Video\)\ \[weWtRqoSUOI\].webm -rw-r--r-- 1 greg greg 30301261 Jan 23 2024 'Tori Amos - Caught a Lite Sneeze (Official Music Video) [weWtRqoSUOI].webm' I don't think this is a thing I'll be doing much of. I would prefer to do my search in the Youtube web site, pick which video I want, and then download that one, rather than having some program pick one for me.