Introducing YouTube Interface for Gemini

On 2020-06-16 08:43+0000 Krixano <krixano at protonmail.com> wrote:

> Do you mean like a direct download link of the video? This is
> planned, but I'm not sure how easy it is to do. I might be able to
> use youtube-dl and just redirect that to the output of the cgi
> program, idk. I could also just try to look at youtube-dl's code and
> use that.

If you use `youtube-dl --get-url`, you often get separate URLs for the
video and the audio file. If you request a specific file extension
(with `youtube-dl --get-url --format=webm` for example), you get the
URL to a single file?.

Kind regards, tastytea

? <https://github.com/ytdl-org/youtube-dl/#format-selection>

-- 
Get my PGP key with `gpg --locate-keys tastytea at tastytea.de` or at
<https://tastytea.de/tastytea.asc>.

---

Previous in thread (3 of 4): 🗣️ Krixano (krixano (a) protonmail.com)

View entire thread.