Installation

clawhub install dinstein/media-news-digest

Summary

Automated media & entertainment industry news digest system. Covers Hollywood trades, box office, streaming platforms, awards season, film festivals, production news, and industry deals.

SKILL.md

Media News Digest

Automated media & entertainment industry news digest system. Covers Hollywood trades, box office, streaming platforms, awards season, film festivals, production news, and industry deals.

Quick Start

  1. Generate Digest (unified pipeline β€” runs all 4 sources in parallel):

    bash
    python3 scripts/run-pipeline.py \
      --defaults <SKILL_DIR>/config/defaults \
      --config <WORKSPACE>/config \
      --hours 48 --freshness pd \
      --archive-dir <WORKSPACE>/archive/media-news-digest/ \
      --output /tmp/md-merged.json --verbose --force
    
  2. Use Templates: Apply Discord or email templates to merged output

Data Sources (65 total, 64 enabled)

  • RSS Feeds (36, 35 enabled): THR, Deadline, Variety, IndieWire, The Wrap, Collider, Vulture, Awards Daily, Gold Derby, Screen Rant, Empire, The Playlist, /Film, Entertainment Weekly, Roger Ebert, CinemaBlend, Den of Geek, The Direct, MovieWeb, CBR, What's on Netflix, Decider, Anime News Network, and more
  • Twitter/X KOLs (18): @THR, @DEADLINE, @Variety, @FilmUpdates, @DiscussingFilm, @BoxOfficeMojo, @MattBelloni, @Borys_Kit, @TheAcademy, @letterboxd, @A24, and more
  • Reddit (11): r/movies, r/boxoffice, r/television, r/Oscars, r/TrueFilm, r/entertainment, r/netflix, r/marvelstudios, r/DC_Cinematic, r/anime, r/flicks
  • Web Search (9 topics): Brave Search / Tavily with freshness filters

Topics (9 sections)

  • πŸ‡¨πŸ‡³ China / 中国影视 β€” China mainland box office, Chinese films, Chinese streaming
  • 🎬 Production / εˆΆδ½œεŠ¨ζ€ β€” New projects, casting, filming updates
  • πŸ’° Deals & Business / θ‘ŒδΈšδΊ€ζ˜“ β€” M&A, rights, talent deals
  • 🎞️ Upcoming Releases / εŒ—ηΎŽθΏ‘ζœŸδΈŠζ˜  β€” Theater openings, release dates, trailers
  • 🎟️ Box Office / η₯¨ζˆΏ β€” NA/global box office, opening weekends
  • πŸ“Ί Streaming / 桁εͺ’体 β€” Netflix, Disney+, Apple TV+, HBO, viewership
  • πŸ† Awards / 钁ε₯–ε­£ β€” Oscars, Golden Globes, Emmys, BAFTAs
  • πŸŽͺ Film Festivals / η”΅ε½±θŠ‚ β€” Cannes, Venice, TIFF, Sundance, Berlin
  • ⭐ Reviews & Buzz / 影评口璑 β€” Critical reception, RT/Metacritic scores

Scripts Pipeline

Unified Pipeline

bash
python3 scripts/run-pipeline.py \
  --defaults config/defaults --config workspace/config \
  --hours 48 --freshness pd \
  --archive-dir workspace/archive/media-news-digest/ \
  --output /tmp/md-merged.json --verbose --force
  • Features: Runs all 4 fetch steps in parallel, then merges + deduplicates + scores
  • Output: Final merged JSON ready for report generation (~30s total)
  • Flags: --skip rss,twitter to skip steps, --enrich for full-text enrichment

Individual Scripts

  • fetch-rss.py β€” Parallel RSS fetcher (10 workers, 30s timeout, caching)
  • fetch-twitter.py β€” Dual backend: official X API v2 + twitterapi.io (auto fallback, 3-worker concurrency)
  • fetch-web.py β€” Web search via Brave (multi-key rotation) or Tavily
  • fetch-reddit.py β€” Reddit public JSON API (4 workers, no auth)
  • merge-sources.py β€” Quality scoring, URL dedup, multi-source merging
  • summarize-merged.py β€” Structured overview sorted by quality_score
  • enrich-articles.py β€” Full-text enrichment for top articles
  • generate-pdf.py β€” PDF generation with Chinese typography + emoji
  • send-email.py β€” MIME email with HTML body + PDF attachment
  • sanitize-html.py β€” XSS-safe markdown to HTML conversion
  • validate-config.py β€” Configuration validator
  • source-health.py β€” Source health tracking
  • config_loader.py β€” Config overlay loader (defaults + user overrides)
  • test-pipeline.sh β€” Pipeline testing with --only/--skip/--twitter-backend filters

Cron Integration

Reference references/digest-prompt.md in cron prompts.

Daily Digest

text
MODE = daily, FRESHNESS = pd, RSS_HOURS = 48

Weekly Digest

text
MODE = weekly, FRESHNESS = pw, RSS_HOURS = 168

Dependencies

All scripts work with Python 3.8+ standard library only. feedparser optional but recommended.

Recommended skills

Browse all β†’