dota2-match-calendar/run_sync.sh
Ching L a1573a3f82 Initial commit: Dota 2 Calendar Sync
Automated sync tool for Dota 2 Tier 1 matches from Liquipedia to Google Calendar

Features:
- Sync matches from Liquipedia to Google Calendar
- Auto-update match results when completed
- Detect and update time changes
- Clean event format: Team1 vs Team2 [Tournament]

Main files:
- sync_dota2_matches.py: Main sync script
- run_sync.sh: Convenience runner
- requirements.txt: Python dependencies
- README.md: Setup and usage guide

# Conflicts:
#	.gitignore
#	README.md
2025-09-05 11:53:02 +08:00

21 lines
656 B
Bash
Executable File

#!/bin/bash
# Dota 2 Calendar Sync Script v3
# 自动同步 Liquipedia Tier 1 比赛到 Google Calendar
# 功能:同步比赛、更新结果、检测时间变更
CALENDAR_ID="091325d4ea74ad78387402db1a428390c4779dff573322863b6fca00194da024@group.calendar.google.com"
echo "🎮 Dota 2 Calendar Sync v3"
echo "==========================="
echo "📊 Match results updates"
echo "⏰ Time change detection"
echo ""
# 运行同步
python3 sync_dota2_matches.py --calendar-id "$CALENDAR_ID"
echo ""
echo "✅ 同步完成!"
echo "📅 请在 Google Calendar 中查看更新的比赛"
echo "🏆 已完成的比赛会显示 [COMPLETED] 标记和比分"