On Tuesday, January 2, 2024 at 01:09:58 PM EST, Brian Inglis via Cygwin <cygwin@cygwin.com> wrote: >On 2024-01-02 03:26, Oskar Skog via Cygwin wrote: >> On 2024-01-02 08:40, Cedric Blancher via Cygwin wrote: >>> Good morning! >>> I'd like to request https://github.com/ytdl-org/youtube-dl as a Cygwin >>> package, so we can mirror training videos locally. >>> Also, it is a cool demo to show the power of Cygwin, to show that it >>> can download youtube videos without paying for "Youtube Premium" =:-)>
>> I think yt-dlp might be better. I had to switch to it a while ago when >> youtube-dl took too long to fix an issue with downloading from Youtube. >> You also don't need to package it, you should be able to install it with pip. >> python3 -m ensurepip >> pip3 install yt-dlp >Cygwin ensurepip fails as it is bundled in python39 but install yt_dlp works. >Got a command line test script? Assuming ffmpeg and lame are installed for Cygwin, then I use this to DL songs from youtube: yt-dlp -x --audio-format mp3 --audio-quality 0 --ffmpeg-location /usr/bin $* Where $* is the youtube link. Can confirm that it does work. Kevin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple