Introducing YouTube Interface for Gemini

1. Krixano (krixano (a) protonmail.com)

I have completed most of what is necessary for a YouTube interface for Gemini!!!
It has a Search feature, Channel pages, Playlist pages, and Video pages. Video pages
will link to the YouTube url for that video.

You can view it here: gemini://pon.ix.tc:1965/cgi-bin/youtube.cgi

The next things I will be doing:

completely detached from the YouTube site's subs. I can then show recent videos from
your subs when using a certificate.


Christian Seibold

Sent with [ProtonMail](https://protonmail.com) Secure Email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200616/0394
0745/attachment.htm>

Link to individual message.

2. Luke Emmet (luke (a) marmaladefoo.com)


On 16-Jun-2020 04:55, Krixano wrote:
> I have completed most of what is necessary for a YouTube interface for 
> Gemini!!!
> It has a Search feature, Channel pages, Playlist pages, and Video 
> pages. Video pages
> will link to the YouTube url for that video.
>
> You can view it here: gemini://pon.ix.tc:1965/cgi-bin/youtube.cgi
>

Great work! If only there was a way to just link to the video without 
all the youtube website cruft!

Best Wishes

  - Luke

Link to individual message.

3. Krixano (krixano (a) protonmail.com)

Thanks!

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 anybody can help with this, it'd be very much appreciated!
I'm gonna make a repo of this cgi program soon :)


Christian Seibold

Sent with ProtonMail Secure Email.

??????? Original Message ???????
On Tuesday, June 16, 2020 3:06 AM, Luke Emmet <luke at marmaladefoo.com> wrote:

> On 16-Jun-2020 04:55, Krixano wrote:
>
> > I have completed most of what is necessary for a YouTube interface for
> > Gemini!!!
> > It has a Search feature, Channel pages, Playlist pages, and Video
> > pages. Video pages
> > will link to the YouTube url for that video.
> > You can view it here: gemini://pon.ix.tc:1965/cgi-bin/youtube.cgi
>
> Great work! If only there was a way to just link to the video without
> all the youtube website cruft!
>
> Best Wishes
>
> -   Luke

Link to individual message.

4. tastytea (tastytea+gemini (a) tastytea.de)

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>.

Link to individual message.

---

Previous Thread: TOFU Tester

Next Thread: Escaping in text/gemini