hpr2544 :: How I prepared episode 2493: YouTube Subscriptions - update
In show 2493 I listed some of my YT subscriptions - here's how
Hosted by Dave Morriss on Thursday 2018-05-03 is flagged as Explicit and is released under a CC-BY-SA license.
Tags: YouTube,OPML,XML,xmlstarlet,Template Toolkit.
Listen in ogg, spx, or mp3 format. | Comments (0)
How I prepared episode 2493: YouTube Subscriptions - update
In show 2493 I listed a number of the YouTube channels I watch. Some of what I did to prepare the notes was to cut and paste information from YouTube pages, but the basic list itself was generated programmatically. I thought the process I used might be of interest to somebody so I am describing it here.
I needed four components to achieve what I wanted:
- YouTube subscription list (only available in OPML format as far as I know)
xmlstarlettool to parse the OPML
- Template Toolkit which I used to generate Markdown
pandocdocument converter tool to generate HTML
I will talk a little about the first three components in this episode in order to provide an overview.
The full-length notes (available here) contain details of the processes involved in building the list of channels.
- YouTube Subscription Manager page
xmlstarletmanual (HTML, single page)
- Template Toolkit
- Previous HPR shows referred to:
- Detailed notes
- Example template file: yt_template.tpl
Automatically generated using whisper
whisper --model tiny --language en hpr2544.wav