Files
subcast/docs
向阳乔木 1f8c0e9cf6 Curated shows get their YouTube videos: channel found by name, episodes matched by title/number/date
The 乔木精读 sites and rss.qiaomu.ai sources carry no video for the Chinese shows (张小珺, 42章经, 十字路口,
知行小酒馆, 面基: 0 videos), and only 词元之外 had a hand-wired channel matched by '#010'/'EP010'.

- curated_video.rs: episodes without a video are matched against the show's channel uploads (feed with dates +
  the uploads list page, ~100 videos) by title (equal or contained, so '157. 标题' = '标题'), episode number
  ('157.', '#157', 'EP157', 'Ep 97:') with dates, or close bigram similarity; never across 60+ days.
- Channel: built-in table of hand-checked channels, remote config 'curatedYoutube' (id → UC… or 'none'), else a
  YouTube channel search by the show's name, accepted only when its uploads carry the show's own titles
  (cached on disk). Bounded so a slow YouTube never holds a page up long.
- YouTube channel search retries when YouTube serves an empty results page (about one in ten), which also made
  MCP find_show and the app's search miss channels now and then.
- Measured: 张小珺 0→69/160, 42章经 0→71/76, 十字路口 0→19/19, 知行小酒馆 0→18/19, 面基 0→16/19,
  No Priors 180→186, Unsupervised 69→72. 晚点聊 (titles rewritten on YouTube), AI炼金术 and 三五环 (no channel) stay
  without video.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 00:31:00 -08:00
..