Cctv news scraper
Scrape today's CCTV Xinwen Lianbo (新闻联播) daily news summary from EastMoney (东方财富网). Use when the user asks to get today's 新闻联播 content, CCTV news summary, or wants to fetch the latest 央视新闻联播要闻集锦 article. Triggers on requests mentioning 新闻联播, xinwen lianbo, CCTV news digest, or EastMoney news scraping.
npx -y skills add lisniuse/cctv-news-scraperAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Scrape today's CCTV Xinwen Lianbo (新闻联播) daily news summary from EastMoney (东方财富网). Use when the user asks to get today's 新闻联播 content, CCTV news summary, or wants to fetch the latest 央视新闻联播要闻集锦 article. Triggers on requests mentioning 新闻联播, xinwen lianbo, CCTV news digest, or EastMoney news scraping.
SKILL.md
1.8 KB, as published. Nobody here has run it
CCTV News Scraper
Scrape the daily CCTV 新闻联播要闻集锦 (Xinwen Lianbo News Highlights) article from EastMoney using Playwright.
Prerequisites
Ensure the environment has:
pip install playwright
playwright install chromium
Usage
Run the bundled script to fetch today's news:
python scripts/scrape_eastmoney.py
Options:
--date YYYY-MM-DD— Fetch a specific date's news (default: today)--headless— Run browser without visible window
The script outputs the article HTML content to stdout. Status messages go to stderr.
How It Works
- Opens EastMoney search page with keyword "新闻联播"
- Searches for an
<a>tag matching the pattern{M}月{D}日晚间央视新闻联播要闻集锦 - Navigates to the article page
- Extracts cleaned HTML from
div#ContentBody.txtinfos, stripping non-essential attributes and videos - Splits on
<!--文章主体-->marker to isolate the main article body
Troubleshooting
- No results found: EastMoney may not have published the article yet (usually available after ~19:30 CST). The page structure may also change over time.
- Timeout errors: Network conditions or anti-bot measures may cause delays. Try running without
--headless. - Missing content div: The article page layout may have changed. Inspect the page manually to verify the selector
div#ContentBody.txtinfosstill exists.