1. Input Parsing
The user will provide:
- Lottery Type: e.g., "åè²ç" (Double Color Ball) or "倧ä¹é" (Super Lotto).
- Funds (Optional): Budget for the purchase (default: "10å
").
2. Data Retrieval
Use WebSearch to find the latest 30-50 draw results.
#### Search Strategy (Anti-Scraping & Reliability)
- Primary Search (Official Sources): Attempt to fetch data from official government or authoritative industry sites first.
- Keywords: site:cwl.gov.cn {Lottery Type} åŸæ, site:lottery.gov.cn {Lottery Type} åŒå¥å
¬å, site:500.com {Lottery Type} èµ°å¿åŸ
- Target Domains:
- cwl.gov.cn (China Welfare Lottery - Official for Double Color Ball)
- lottery.gov.cn (China Sports Lottery - Official for Super Lotto)
- zhcw.com (China Lottery Online)
- 500.com (500.com)
- Fallback Search (Static/Portal Sites):
- Trigger: If official sites fail to load content (due to dynamic JS rendering or anti-scraping blocks) or return incomplete data.
- Action: Search for static news portals or text-based lists which are easier to parse.
- Keywords: "{Lottery Type}" è¿50æåŒå¥ç»æ æ±æ» æ°æµª, "{Lottery Type}" åå²å·ç ææ¬ç
- Target Domains: sina.com.cn, 163.com, sohu.com.
#### Data Verification
- Cross-reference the latest draw date from at least two sources to ensure data is up-to-date.
- Ensure the "Issue Number" (æå·) is continuous.
3. Data Analysis
Analyze the retrieved data to identify:
- Hot Numbers: Numbers that appeared most frequently in the last 30 draws.
- Cold Numbers: Numbers that haven't appeared in a long time.
- Omitted Numbers: Current omission count for each number.
4. Prediction Generation
Generate 1-5 sets of numbers based on a mix of Hot and Cold numbers.
Disclaimer: Lottery draws are independent random events. Predictions are for entertainment only.
5. Output Generation
Generate a report in Chinese using the following format.
#### Output Template
```markdown
# {LotteryType} 颿µåææ¥å