On Fri 31 Mar 2023 at 01:41:04 (+0800), Bret Busby wrote: > On 31/3/23 00:40, David Wright wrote: > > On Thu 30 Mar 2023 at 19:31:21 (+0800), Bret Busby wrote: > > > > > I had previously been able to use youtube-dl, to download videos from > > > youtube, but, it no longer works with youtube. > > > > AIUI youtube-dl is now obsolete, and its new spelling is yt-dlp. > > > > You can download it from bullseye-backports. If you're a backports > > user, just install it and check out the CLI options you normally > > use, in case they've been tweaked, with: > > > > $ yt-dlp -help | less > > > > > And, I had been able to download videos from some streaming hosts, > > > but, find that I cannot download videos from other streaming hosts. > > > > > > By download, I mean saving to my computer - so that I can get > > > continuity, and, replay the streamed videos at slower speeds, and, > > > manipulate the sound, so that I (having a hearing disability that > > > affects my ability to hear what is spoken) can better hear what is > > > being said, which is important for educational videos, such as at > > > Rootstech 2023, where I cannot download significant videos. > > > > The yt-dlp dependencies are all unversioned, so rather than put > > backports into my sources.list, I just checked that I had them all, > > downloaded yt-dlp….deb from the Packages page, and installed it with > > the apt-get install /full-path-to/yt-dlp….deb syntax. > > (The backports youtube-dl package used to get very long in the tooth > > at times, so I've done this frequently in the past.) Whenever > > downloading fails, I check out whether there's a more up-to-date > > version with the yt-dlp -U option. > > > > Apparently there's a bug in yt-dlp at the moment, but I don't think > > either of us uses mpv /with/ the downloader, but only /after/ > > downloading has completed. > > > I had downloaded and installed yt-dlp, but, that did not work, either.
Writing "did not work" just doesn't cut it on this list: we need some specifics. Here's an example I ran this morning on a reference given by David Christensen: $ gy bKzonnwoR2I /usr/bin/yt-dlp http://www.youtube.com/watch?v=bKzonnwoR2I [youtube] Extracting URL: http://www.youtube.com/watch?v=bKzonnwoR2I [youtube] bKzonnwoR2I: Downloading webpage [youtube] bKzonnwoR2I: Downloading android player API JSON [info] bKzonnwoR2I: Downloading 1 format(s): 248+251 [download] Destination: Unix Pipeline (Brian Kernighan) - Computerphile [bKzonnwoR2I].f248.webm [download] 100% of 50.64MiB in 00:00:05 at 8.45MiB/s [download] Destination: Unix Pipeline (Brian Kernighan) - Computerphile [bKzonnwoR2I].f251.webm [download] 100% of 3.85MiB in 00:00:00 at 6.28MiB/s [Merger] Merging formats into "Unix Pipeline (Brian Kernighan) - Computerphile [bKzonnwoR2I].webm" Remember to remove any unmerged files as appropriate. $ Whether you can download that would determine where you go from here. Cheers, David.