HNTV: Play HN YouTube links locally
HNTV: play hn yt links locally
curl -s 'https://news.ycombinator.com/from?site=youtube.com' \
| egrep -o 'https?://www.youtube.com[^"]+' \
| mpv --playlist=- \
  --speed=1.5 \
  --ytdl-format='bestvideo[height<=?720]+bestaudio/best'

    This script (1) fetches recent YouTube submissions from
    HackerNews, (2) extracts youtube links from
    the page, and (3) plays them sequentially at 720p (1.5x).

    Remember to upvote
    intellectually stimulating
    links on HN, write constructive comments, and support worthwhile creators
    via Patreon/merch/etc.