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
1.3 KiB
1.3 KiB
Changelog
v3.1 - 格式优化更新
- 新的标题格式:
- 之前:
Dota 2 - The International 2025: Team1 vs Team2 - 现在:
Team1 vs Team2 [The International 2025]
- 之前:
- 简化的完成标记:
- 之前:
[COMPLETED] Dota 2 - Tournament: Team1 vs Team2 - 现在:
✓ Team1 vs Team2 [Tournament] (2-0)
- 之前:
- 移除了 "Dota 2" 字样,让日历更简洁
- 完成的比赛直接在标题显示比分
v3.0 - 时间变更检测
- 新增比赛时间变更自动检测
- 当赛程调整时自动更新日历
- 支持
--no-time-updates参数跳过时间更新
v2.0 - 比赛结果更新
- 自动获取已完成比赛的结果
- 更新日历事件显示比分和获胜队伍
- 支持
--no-results参数跳过结果更新
v1.0 - 基础同步
- 从 Liquipedia 获取 Tier 1 比赛
- 同步到 Google Calendar
- 避免重复添加
- 支持 dry-run 模式
功能对比
| 版本 | 同步比赛 | 更新结果 | 时间变更 | 新格式 |
|---|---|---|---|---|
| v1.0 | ✓ | ✗ | ✗ | ✗ |
| v2.0 | ✓ | ✓ | ✗ | ✗ |
| v3.0 | ✓ | ✓ | ✓ | ✗ |
| v3.1 | ✓ | ✓ | ✓ | ✓ |
使用建议
推荐使用最新的 v3 版本,它包含所有功能:
./run_sync.sh
或手动运行:
python sync_dota2_matches_v3.py --calendar-id "YOUR_CALENDAR_ID"