public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kevin Schnitzius <kometes@yahoo.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Re: Package request: ytdl-org/youtube-dl
Date: Sat, 6 Jan 2024 06:19:39 +0000 (UTC)	[thread overview]
Message-ID: <1533905123.7196339.1704521979632@mail.yahoo.com> (raw)
In-Reply-To: <e19e26e2-0714-4d51-957f-6a2ee3b79db7@SystematicSW.ab.ca>

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

      reply	other threads:[~2024-01-06  6:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-02  6:40 Cedric Blancher
2024-01-02  7:29 ` Marco Atzeri
2024-01-02 10:26 ` Oskar Skog
2024-01-02 18:08   ` Brian Inglis
2024-01-06  6:19     ` Kevin Schnitzius [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1533905123.7196339.1704521979632@mail.yahoo.com \
    --to=kometes@yahoo.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).