🏏 Cricket Live Score Updates
Real-time cricket score updates delivered to Telegram — with optional voice memos so you can follow along without reading. Scrapes data from cricbuzz and does not need any API key setup to get the scores.
Supports T20 and ODI formats, both innings, auto-detection of teams, target, and required run rate.
The script runs in the background, sends updates at your chosen interval, and auto-stops when the match ends.
The voice memos are perfect for when you're driving or otherwise can't focus on a screen.
Example prompts
Starting updates:
- - "Send me live score updates for the India vs Australia match"
- "Follow the IPL match — RCB vs CSK — and send me updates every 3 minutes"
- "What's the score in the England vs Pakistan T20? Keep me posted"
With voice memos:
- - "Send me live cricket scores with voice memos for the World Cup final"
- "Follow India vs South Africa and include voice updates — I'm driving"
Changing interval:
- - "Make the updates every 2 minutes instead"
- "Slow it down to every 10 minutes"
Stopping:
- - "Stop sending score updates"
- "Kill the cricket updates"
When to use
User asks for live score updates, cricket score alerts, or to follow a match.
How it works
- 1. Find the Cricbuzz URL for the match. Search for
cricbuzz <team1> vs <team2> live score and grab the cricbuzz.com/live-cricket-scores/... URL. - Run the script in background:
CODEBLOCK0
- 3. Script auto-detects teams, innings, format (T20/ODI), and target.
- Sends text + voice memo every interval. Auto-stops when match ends.
Parameters
| Param | Default | Description |
|---|
| INLINECODE2 | required | Cricbuzz live score page URL |
| INLINECODE3 |
required | Telegram chat ID to send updates to |
|
--bot-token | auto | Telegram bot token. Falls back to
TELEGRAM_BOT_TOKEN env var, then OpenClaw config (
~/.openclaw/openclaw.json) |
|
--interval | 300 | Seconds between updates (default 5 min) |
|
--voice | off | Include voice memo with each update |
What the updates look like
2nd innings (chase)
CODEBLOCK1
1st innings
CODEBLOCK2
Voice memo examples
2nd innings: "India are 146 for 4 in 15 overs. Tilak Varma and Sanju Samson are batting. Tilak Varma is on 20, and Sanju Samson is on 80. India need 50 runs off 30 balls. Required run rate is 10.0 per over, with 5.0 overs to go."
1st innings: "West Indies are 120 for 3 in 15 overs. Rovman Powell and Jason Holder are batting. Run rate is 8.0 per over. Projected total is 160."
Data source
Scrapes Cricbuzz — the og:description meta tag for live scores and batsmen, plus embedded JSON for last wicket, bowler stats, and team info. No paid API or API key required for score data.
Stopping
- - Script auto-stops when it detects a match result (won/tied/no result).
- To stop manually, kill the background process.
Channel support
Currently Telegram only — the script sends updates directly via the Telegram Bot API. Multi-channel support (Discord, WhatsApp, Signal, etc.) is planned for a future version.
Requirements
- - Python 3 (uses only
urllib from the standard library — no requests needed) - INLINECODE12 package (for voice memos)
- Telegram bot token — provided via one of:
1.
--bot-token argument (recommended)
2.
TELEGRAM_BOT_TOKEN environment variable
3. OpenClaw config file (
~/.openclaw/openclaw.json →
channels.telegram.botToken)
Known limitations
- - When the chasing team is all out or completes their overs without reaching the target, the script may be slow to detect the result (depends on Cricbuzz updating the page title). It reliably catches wins, ties, and target-reached scenarios.
🏏 板球实时比分更新
实时板球比分更新直接发送到Telegram——可选语音备忘录,让你无需阅读即可跟进比赛。从Cricbuzz抓取数据,无需任何API密钥设置即可获取比分。
支持T20和ODI赛制、两局比赛、自动检测队伍、目标分数和所需得分率。
脚本在后台运行,按你选择的时间间隔发送更新,比赛结束时自动停止。
语音备忘录非常适合你在开车或无法专注于屏幕时使用。
示例提示
开始更新:
- - 发送印度对澳大利亚比赛的实时比分更新
- 跟进IPL比赛——RCB对CSK——每3分钟发送一次更新
- 英格兰对巴基斯坦T20的比分是多少?请随时告知我
带语音备忘录:
- - 发送世界杯决赛的板球实时比分并附带语音备忘录
- 跟进印度对南非的比赛并包含语音更新——我正在开车
更改间隔:
停止:
使用时机
用户请求实时比分更新、板球比分提醒或跟进某场比赛。
工作原理
- 1. 查找比赛的Cricbuzz网址。搜索cricbuzz <队伍1> vs <队伍2> live score并获取cricbuzz.com/live-cricket-scores/...网址。
- 在后台运行脚本:
bash
python3 <技能目录>/scripts/cricket-live.py \
--url \
--chat-id \
--bot-token \
--interval 300 \
--voice
- 3. 脚本自动检测队伍、局数、赛制(T20/ODI)和目标分数。
- 每隔指定时间间隔发送文本+语音备忘录。比赛结束时自动停止。
参数
| 参数 | 默认值 | 描述 |
|---|
| --url | 必填 | Cricbuzz实时比分页面网址 |
| --chat-id |
必填 | 发送更新的Telegram聊天ID |
| --bot-token | 自动 | Telegram机器人令牌。回退到TELEGRAM
BOTTOKEN环境变量,然后是OpenClaw配置(~/.openclaw/openclaw.json) |
| --interval | 300 | 更新间隔秒数(默认5分钟) |
| --voice | 关闭 | 每次更新包含语音备忘录 |
更新内容示例
第二局(追分阶段)
印度:146/4(15轮)
🏏 蒂拉克·瓦尔马 — 20(15球)
🏏 桑朱·萨姆森 — 80(40球)
需要:30球内得50分
所需得分率:剩余5.0轮,每轮10.0分
最后出局:苏里亚库马尔·亚达夫 接杀 拉瑟福德 投杀 约瑟夫 18(16球)
🔹 西印度群岛局:195/4(20轮)
━━━━━━━━━━━━━━━━━
🏏 印度 vs 西印度群岛 | ICC男子T20世界杯2026
· 下次更新在5分钟后
第一局
西印度群岛:120/3(15轮)
🏏 罗夫曼·鲍威尔 — 25(14球)
🏏 杰森·霍尔德 — 12(8球)
得分率:每轮8.0分
预计总分:160
最后出局:希姆隆·赫特迈尔 接杀 萨姆森 投杀 布姆拉 22(18球)
━━━━━━━━━━━━━━━━━
🏏 印度 vs 西印度群岛 | ICC男子T20世界杯2026
· 下次更新在5分钟后
语音备忘录示例
第二局: 印度队在15轮中取得146分,4人出局。蒂拉克·瓦尔马和桑朱·萨姆森正在击球。蒂拉克·瓦尔马得20分,桑朱·萨姆森得80分。印度队需要在30球内得到50分。所需得分率为每轮10.0分,剩余5.0轮。
第一局: 西印度群岛队在15轮中取得120分,3人出局。罗夫曼·鲍威尔和杰森·霍尔德正在击球。得分率为每轮8.0分。预计总分为160分。
数据来源
抓取Cricbuzz——og:description元标签获取实时比分和击球手信息,以及嵌入的JSON获取最后出局、投手数据和队伍信息。无需付费API或API密钥即可获取比分数据。
停止
- - 脚本检测到比赛结果(获胜/平局/无结果)时自动停止。
- 要手动停止,终止后台进程。
渠道支持
目前仅支持Telegram——脚本通过Telegram机器人API直接发送更新。多渠道支持(Discord、WhatsApp、Signal等)计划在将来版本中实现。
要求
- - Python 3(仅使用标准库中的urllib——无需requests)
- gTTS包(用于语音备忘录)
- Telegram机器人令牌——通过以下方式之一提供:
1. --bot-token参数(推荐)
2. TELEGRAM
BOTTOKEN环境变量
3. OpenClaw配置文件(~/.openclaw/openclaw.json → channels.telegram.botToken)
已知限制
- - 当追分队全员出局或在未达到目标分数的情况下完成所有轮次时,脚本可能检测结果较慢(取决于Cricbuzz更新页面标题的速度)。它能可靠地捕获获胜、平局和达到目标分数的情况。