双色球开奖查询
v1.0.2查询最新或指定期双色球开奖结果及中奖号码,优先官方数据源,含中奖规则说明和奖池信息。
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
The name/description (双色球开奖查询) matches the included SKILL.md and Python scripts: both implement multi-source web fetching and HTML parsing of lottery results. Required resources (no env vars, no binaries) align with a lightweight scraper/script.
Instruction Scope
Runtime instructions are limited to fetching the listed public lottery webpages (official and third-party) and parsing HTML; they do not instruct reading local secrets, system config, or transmitting data to unexpected endpoints. The SKILL.md explicitly lists the same public URLs the code uses.
Install Mechanism
No install spec is provided (instruction-only plus included Python scripts). No external binary downloads or archive extraction occurs. The included Python code uses only the standard library (urllib, re, html), so no extra package installs are required.
Credentials
The skill requests no environment variables, no credentials, and no config paths. All network targets are public lottery websites consistent with the skill's purpose.
Persistence & Privilege
The skill is not marked always:true and does not request elevated or persistent system privileges. It does perform outbound HTTP requests (expected for this use case). Autonomous invocation is allowed by default, which is normal and not by itself a concern.
Assessment
This skill appears coherent and safe in that it only fetches public lottery webpages and parses them; it does not request credentials or install binaries. Before installing, consider: (1) the skill will perform outbound HTTP requests to the listed sites (official + third-party) so ensure you are comfortable with network access; (2) parsing is done via brittle regexes and some sites use JavaScript, so results may be incomplete — the SKILL.md already notes this; (3) third-party sources (500.com, sina) are used as fallbacks and are clearly labeled in outputs — verify important results against the official site; (4) if you need to limit network access or audit behavior, review or run the provided scripts (scripts/test_ssq_lottery.py) locally in an offline/sandboxed environment first. Overall classification: benign (coherent with purpose).Like a lobster shell, security has layers — review code before you run it.
latest
双色球开奖查询技能 (多数据源版)
从中国福彩网获取官方双色球开奖数据,支持多个数据源自动切换,提供开奖结果查询和中奖规则说明。
何时使用
✅ 使用此技能:
- "查询最新双色球开奖结果"
- "双色球 2026025 期中奖号码"
- "帮我看看这期双色球开了什么"
- "双色球中奖规则是什么"
- 彩票对奖、号码核对
❌ 不使用此技能:
- 其他彩种查询(大乐透、福彩 3D 等)
- 彩票预测、选号建议
- 历史数据统计分析
- 海外彩票查询
快速开始
方式一:使用 web_fetch 获取(推荐)
# 数据源 1: 中国福彩网(官方,优先)
web_fetch --url "http://kaijiang.zhcw.com/zhcw/html/ssq/list.html" --maxChars 8000
# 数据源 2: 福彩网手机版(备用)
web_fetch --url "http://m.zhcw.com/ssq/" --maxChars 8000
# 数据源 3: 500 彩票网(第三方,备用)
web_fetch --url "https://www.500.com/ssq/" --maxChars 8000
方式二:使用 Python 脚本(自动多源切换)
# 查询最新一期(自动尝试多个数据源)
python scripts/ssq_lottery.py
# 查询指定期号
python scripts/ssq_lottery.py 2026025
方式三:访问官方网站
| 渠道 | 网址 | 优先级 |
|---|---|---|
| 中国福彩网 | http://www.zhcw.com | ⭐⭐⭐ 官方 |
| 开奖公告 | http://kaijiang.zhcw.com/zhcw/html/ssq/list.html | ⭐⭐⭐ 官方 |
| 福彩网手机版 | http://m.zhcw.com/ssq/ | ⭐⭐ 官方备用 |
| 500 彩票网 | https://www.500.com/ssq/ | ⭐ 第三方 |
| 新浪彩票 | https://lottery.sina.com.cn/ssq/ | ⭐ 第三方 |
数据源策略
优先级顺序
1. http://kaijiang.zhcw.com/zhcw/html/ssq/list.html (中国福彩网 - 官方)
↓ 失败
2. http://m.zhcw.com/ssq/ (福彩网手机版 - 官方备用)
↓ 失败
3. https://www.500.com/ssq/ (500 彩票网 - 第三方)
↓ 失败
4. https://lottery.sina.com.cn/ssq/ (新浪彩票 - 第三方)
自动切换逻辑
- 首选官方渠道:中国福彩网 (zhcw.com)
- 官方渠道失败:尝试手机版 (m.zhcw.com)
- 官方全部失败:使用第三方数据源
- 数据校验:交叉验证多个数据源确保准确性
双色球规则
基本玩法
| 类型 | 选择范围 | 数量 |
|---|---|---|
| 红球 | 1-33 | 6 个 |
| 蓝球 | 1-16 | 1 个 |
中奖规则
| 奖级 | 中奖条件 | 说明 |
|---|---|---|
| 一等奖 | 6 红 + 1 蓝 | 全部命中 |
| 二等奖 | 6 红 + 0 蓝 | 红球全中 |
| 三等奖 | 5 红 + 1 蓝 | - |
| 四等奖 | 5 红 + 0 蓝 或 4 红 + 1 蓝 | - |
| 五等奖 | 4 红 + 0 蓝 或 3 红 + 1 蓝 | - |
| 六等奖 | 2 红 + 1 蓝 或 1 红 + 1 蓝 或 0 红 + 1 蓝 | 只中蓝球也有奖 |
开奖时间
- 开奖日:每周二、四、日
- 开奖时间:约 21:15
- 销售截止:开奖日 20:00
完整工作流程
步骤 1:按优先级尝试数据源
尝试数据源 1 (福彩网) → 成功?→ 解析数据
↓ 失败
尝试数据源 2 (手机版) → 成功?→ 解析数据
↓ 失败
尝试数据源 3 (500 网) → 成功?→ 解析数据
↓ 失败
尝试数据源 4 (新浪) → 成功?→ 解析数据
↓ 失败
返回错误提示
步骤 2:解析数据
从返回的 HTML 中提取:
- 期号(如 2026025)
- 开奖日期
- 红球号码(6 个,范围 1-33)
- 蓝球号码(1 个,范围 1-16)
- 奖池金额(如有)
步骤 3:格式化输出
使用标准格式:
🎱 双色球第 XXXXXX 期
📅 开奖日期:YYYY-MM-DD
🔴 红球:XX XX XX XX XX XX
🔵 蓝球:XX
💰 奖池:X.XX 亿元
📊 数据来源:中国福彩网
📋 中奖规则:
一等奖:6 红 + 1 蓝|二等奖:6 红 + 0 蓝
...
期号格式
双色球期号格式为 YYYYNNN:
YYYY:年份NNN:当年第几期
例如:
2026025= 2026 年第 25 期2025150= 2025 年第 150 期
错误处理
常见问题
问题 1:所有数据源都无法连接
- 解决:检查网络连接,稍后重试
问题 2:期号不存在
- 解决:验证期号格式是否正确,或该期尚未开奖
问题 3:数据解析失败
- 解决:网站结构可能变化,建议访问官网查看
问题 4:多个数据源数据不一致
- 解决:以官方数据源 (zhcw.com) 为准
注意事项
- 官方数据:优先使用中国福彩网数据,以官网为准
- 网络依赖:需要访问外部网站,确保网络畅通
- 开奖时间:周二、四、日约 21:15 开奖,其他时间查询为历史数据
- 动态加载:部分网站使用 JavaScript 动态加载,web_fetch 可能获取不完整
- 理性购彩:本技能仅提供信息查询,不构成购彩建议
相关文件
scripts/ssq_lottery.py- 开奖查询 Python 脚本(支持多数据源自动切换)references/rules.md- 详细中奖规则和玩法说明references/data_sources.md- 数据源配置和优先级说明
示例输出
查询最新开奖
输入:
查询最新双色球开奖结果
处理:
- 尝试数据源 1 (福彩网) → 成功
- 解析期号、日期、红球、蓝球
- 格式化输出
输出:
🎱 双色球第 2026025 期
📅 开奖日期:2026-03-04
🔴 红球:05 12 18 23 27 31
🔵 蓝球:09
💰 奖池:12.5 亿元
📊 数据来源:中国福彩网
📋 中奖规则:
一等奖:6 红 + 1 蓝|二等奖:6 红 + 0 蓝
三等奖:5 红 + 1 蓝|四等奖:5 红/4 红 +1 蓝
五等奖:4 红/3 红 +1 蓝|六等奖:2 红/1 红/0 红 +1 蓝
💡 温馨提示:理性购彩,量力而行
📞 福彩客服:95189
🌐 官方网站:http://www.zhcw.com
数据源切换示例
当官方数据源失败时:
⚠️ 中国福彩网暂时无法访问,尝试备用数据源...
✅ 从 500 彩票网获取数据成功
🎱 双色球第 2026025 期
📅 开奖日期:2026-03-04
🔴 红球:05 12 18 23 27 31
🔵 蓝球:09
📊 数据来源:500 彩票网 (第三方)
⚠️ 提示:第三方数据仅供参考,请以官网为准
温馨提示
🎰 彩票是公益事业,请理性购彩,量力而行。 📞 福彩客服热线:95189 🌐 官方网站:http://www.zhcw.com
数据源更新时间:2026-03-06 最后修订:增加多数据源支持,提升获取稳定性
Comments
Loading comments...
