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
ytfeedExample
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
Response: 20 (Success), text/gemini
| Original URL | gemini://tilde.club/~filip/tech/script/ytfeed/ytfeed.gmi |
|---|---|
| Status Code | 20 (Success) |
| Content-Type | text/gemini; charset=utf-8; lang=en |