💾 Archived View for tilde.club › ~filip › tech › script › ytfeed › ytfeed.gmi captured on 2023-04-26 at 13:48:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

-=-=-=-=-=-=-

ytfeed

A bash/curl script that renders YouTube channel feeds into Gemtext link list.

Usage

./ytfeed <CHANNEL_ID> | <CHANNEL_ID-CHANNEL_TITLE TSV FILE> [ <FLAG> ]
./ytfeed -h
<FLAG>:
  -n  - only the newest entry
  -l  - URLs only
  -ln - only the newest URL

Download

ytfeed

Example

TSV file `history_channels.tsv`:

UCv_vLHiWVBh_FR9vbeuiY-A        Historia Civilis
UCMmaBzfCCwZ2KqaBJjkj0fw        Kings and Generals

Output of `./ytfeed history_channels.tsv -n`:

# Historia Civilis (Channel ID: UCv_vLHiWVBh_FR9vbeuiY-A)
=>https://www.youtube.com/watch?v=8rt67AqrR74 Sextus Pompeius and the Sicilian War (42 to 36 B.C.E.)
# Sextus Pompeius and the Sicilian War (42 to 36 B.C.E.) (Channel ID: UCMmaBzfCCwZ2KqaBJjkj0fw)
=>https://www.youtube.com/channel/UCMmaBzfCCwZ2KqaBJjkj0fw Kings and Generals