💾 Archived View for rawtext.club › ~sloum › geminilist › 001742.gmi captured on 2020-09-24 at 01:40:35. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
tastytea tastytea+gemini at tastytea.de
Tue Jun 16 14:35:03 BST 2020
- - - - - - - - - - - - - - - - - - -
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 thevideo and the audio file. If you request a specific file extension(with `youtube-dl --get-url --format=webm` for example), you get theURL 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>.