360 Secure SkillHub
360 安全技能中心

Media News Digest

从 RSS、Twitter/X、Reddit、网页搜索四类来源采集影视娱乐行业新闻,经合并去重与质量评分后生成日报或周报,可输出 Discord 消息、HTML 邮件及 PDF 附件;提供统一管道脚本、配置校验、来源健康检查与定时任务用法。

dinstein
dinstein
热度 85.41
最近更新 2026-05-17 12:08:48
分类:数据依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:报告撰写 / 摘要总结 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add media-news-digest
Metadata
name
media-news-digest
description
Generate media & entertainment industry news digests. Covers Hollywood trades (THR, Deadline, Variety), box office, streaming, awards season, film festivals, and production news. Four-source data collection from RSS feeds, Twitter/X KOLs, Reddit, and web search. Pipeline-based scripts with retry mechanisms and deduplication. Supports Discord and email output with PDF attachments.
version
2.1.1
homepage
https://github.com/draco-agent/media-news-digest
source
https://github.com/draco-agent/media-news-digest
metadata
{"openclaw":{"requires":{"bins":["python3"]},"optionalBins":["mail","msmtp"],"credentialAccess":"This skill does NOT read, store, or manage any platform credentials itself. Email delivery uses send-email.py with system mail (msmtp). Twitter and web search API keys are passed via environment variables and used only for outbound API calls. No credentials are written to disk by this skill.\n"}}
env
[{"name":"X_BEARER_TOKEN","required":false,"description":"Twitter/X API v2 bearer token for KOL monitoring (official backend)"},{"name":"TWITTERAPI_IO_KEY","required":false,"description":"twitterapi.io API key (alternative Twitter backend)"},{"name":"TWITTER_API_BACKEND","required":false,"description":"Twitter backend selection: official, twitterapiio, or auto (default: auto)"},{"name":"BRAVE_API_KEY","required":false,"description":"Brave Search API key for web search (single key)"},{"name":"BRAVE_API_KEYS","required":false,"description":"Comma-separated Brave API keys for multi-key rotation (preferred over BRAVE_API_KEY)"},{"name":"TAVILY_API_KEY","required":false,"description":"Tavily Search API key (alternative web search backend)"}]

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):

    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

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

MODE = daily, FRESHNESS = pd, RSS_HOURS = 48

Weekly Digest

MODE = weekly, FRESHNESS = pw, RSS_HOURS = 168

Dependencies

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