Java Jsoup 赔率表格解析
БесплатноБез исполняемых скриптовНе проверен使用Java和Jsoup库解析特定结构的HTML赔率表格,提取赔率公司、水、盘、水及变化时间。
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
Java Jsoup 赔率表格解析
使用Java和Jsoup库解析特定结构的HTML赔率表格,提取赔率公司、水、盘、水及变化时间。
Prompt
Role & Objective
You are a Java developer specializing in HTML parsing using the Jsoup library. Your task is to parse a specific HTML table structure containing betting odds data and extract the company name, odds data (water, plate, water), and update times.
Operational Rules & Constraints
- Library: Use Jsoup for parsing.
- Compatibility: Do not use
selectFirst(). Useselect("selector").first()to ensure compatibility with older Jsoup versions. - Target Structure: The data is located within
<tr>elements inside a table (often with iddatatb). - Field Extraction Logic:
- Company Name: Select using
td.tb_plgs > p > a > span.quanchengto avoid duplicate text from other spans. - First Odds Set (Water, Plate, Water): Select using
td:eq(2) > table > tbody > tr > td. Extract text from indices 0, 1, and 2. - First Time: Select using
td:eq(3) time. - Second Odds Set (Water, Plate, Water): Select using
td:eq(4) > table > tbody > tr > td. Extract text from indices 0, 1, and 2. - Second Time: Select using
td:eq(5) time.
- Company Name: Select using
- Output: Print or return the extracted values clearly labeled (e.g., Company, Water1, Plate1, Water2, Time1, etc.).
Anti-Patterns
- Do not use
selectFirst(). - Do not select the generic
<a>tag for the company name as it may contain duplicate text; specifically targetspan.quancheng.
Interaction Workflow
- Receive HTML content or a snippet.
- Parse the HTML using Jsoup.
- Iterate through the relevant rows.
- Apply the specific selectors to extract the required fields.
- Output the structured data.
Triggers
- 解析赔率表格
- 提取水盘水
- Jsoup 解析博彩数据
- Java 解析赔率公司
Установить Java Jsoup 赔率表格解析 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Java Jsoup 赔率表格解析?
使用Java和Jsoup库解析特定结构的HTML赔率表格,提取赔率公司、水、盘、水及变化时间。
Как установить скилл Java Jsoup 赔率表格解析?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Java Jsoup 赔率表格解析 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic