← 返回
内容创作 Key 中文

Generate Daily Sports Update

Runs the sports science crawler to generate a daily report, sync to Notion, and prevent duplicate content.
{ "answer": "运行体育科学爬虫生成日报,同步至Notion,并防止内容重复。" }
w2478328197-arch
内容创作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 678
下载
💾 53
安装
1
版本
#latest

概述

Generate Daily Sports Update

This skill runs the daily_sports_update.py script to fetch the latest sports science research and wearable tech news. It automatically handles deduplication, so you can run it frequently without worrying about seeing the same content twice.

Prerequisites

  • Python 3: Requires python3 to be installed.
  • Dependencies: The required Python packages defined in requirements.txt must be installed (pip3 install -r requirements.txt).
  • Environment Variables:
  • NOTION_TOKEN: The integration token for Notion API.
  • NOTION_PAGE_ID: The ID of the Notion page to sync the daily update to.
  • Tools Needed: You must have access to the run_command tool to execute the script in a bash terminal.

Instructions

  1. Locate the Script:

The script daily_sports_update.py is located in the user's sports-science-daily directory. You should first ensure you are in the correct working directory.

  1. Run the update:

Use the run_command tool to execute the python script.

```bash

python3 daily_sports_update.py --days 2

```

  • --days N: (Optional) Number of days to look back (default is 7). If you haven't run it in a while, increase this (e.g., --days 7 or --days 30).
  • --no-history: (Optional) Use this ONLY if you want to force re-fetching of already seen items (e.g., for debugging).
  1. Output & Sync:
    • The script will generate a local Markdown file named: YYYY-MM-DD_运动科学日报.md
    • It will automatically sync the compiled blocks directly to the specified Notion page using the Notion APIs.
    • It updates processed_history.json locally to mark fetched URLs/PMIDs as seen.
  1. Handling "No New Content":
    • If the script's terminal output contains "🎉 没有发现新内容" (No new content found), it means all found items in the lookback period have already been processed and synced previously. You can try running with a larger --days argument.

Security & Privacy Note

  • External Endpoints Called:
  • https://eutils.ncbi.nlm.nih.gov: Accessed to fetch PubMed paper statistics and abstracts.
  • https://api.notion.com: Accessed to create and populate the daily reports.
  • Various RSS feed URLs (e.g., Garmin, MySportScience, YouTube RSS).
  • Files Checked: Opens and updates processed_history.json and creates .md reporting files locally in the working directory.
  • This skill invokes web requests to fetch relevant sports science data but does not expose any user PII.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 10:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,487
content-creation

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,070
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,821