⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
Python aibarkdata-analysisdockerhot-newsllmmailmcpmcp-servernewsntfypythonrsstrending-topicswechatwework
fix: 优化定时脚本
sansan07491c3b1be1
diff --git a/.github/workflows/crawler.yml b/.github/workflows/crawler.ymlindex 925a866151..48d016364e 100644--- a/.github/workflows/crawler.yml+++ b/.github/workflows/crawler.yml@@ -22,19 +22,21 @@ permissions:jobs:crawl:runs-on: ubuntu-latest- timeout-minutes: 30+ timeout-minutes: 5steps:- name: Checkout repository- uses: actions/checkout@v3+ uses: actions/checkout@v4with:- fetch-depth: 0+ fetch-depth: 1clean: true+ token: ${{ secrets.GITHUB_TOKEN }}- name: Set up Python- uses: actions/setup-python@v4+ uses: actions/setup-python@v5with:python-version: "3.10"+ cache: 'pip'- name: Install dependenciesrun: |@@ -82,18 +84,6 @@ jobs:git config --global user.name 'GitHub Actions'git config --global user.email '[email protected]'- echo "🔄 Syncing with remote (branch: $BRANCH_NAME)..."- git fetch origin $BRANCH_NAME-- # 保存当前更改- git stash --include-untracked || echo "Nothing to stash"-- # 同步到远程最新- git reset --hard origin/$BRANCH_NAME-- # 恢复本次更改- git stash pop || echo "Nothing to pop"-git add -Aif git diff --quiet && git diff --staged --quiet; then@@ -111,8 +101,8 @@ jobs:echo "✅ Successfully pushed on attempt $i"exit 0}- echo "⚠️ Attempt $i failed, waiting $((i*3)) seconds..."- sleep $((i * 3))+ echo "⚠️ Attempt $i failed, waiting $((i*5)) seconds..."+ sleep $((i * 5))doneecho "❌ Failed to push after 5 attempts"