Xpersona
L

Legado Book Source Developer

CLAWHUB · Unverified

Legado (阅读) Android app book source development skill. For creating book sources for novel/manga websites, debugging existing book source rules, querying Leg... Skill: Legado Book Source Developer Owner: yuluoxci Summary: Legado (阅读) Android app book source development skill. For creating book sources for novel/manga websites, debugging existing book source rules, querying Leg... Tags: book-source:2.3.7, latest:2.3.7, legado:2.3.7 Version history: v2.3.7 | 2026-04-06T08:25:28.925Z | user v2.3.7: 移除user.js调试脚本(含base64 favicon被扫描器标记) v2.3.6 | 2026-04-06T08:23:24.180Z | user v2

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s176k0a9h09ry65n48nqbnwet183vh2c:legado-book-source-developer
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yuluoxci-legado-book-source-developer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: legado-book-source-developer
description: Legado (阅读) Android app book source development skill. For creating book sources for novel/manga websites, debugging existing book source rules, querying Legado knowledge (CSS selectors, rule formats, POST requests), and analyzing website HTML structure. Covers searchUrl, ruleSearch, ruleToc, ruleContent, ruleBookInfo configuration. Use only with user-owned or authorized websites.
---

# Legado Book Source Developer

A toolkit for creating, debugging, and managing Legado book sources. Includes analysis tools, real book source examples, and a knowledge base built from Legado source code.

## Quick Start

```
1. Detect encoding → 2. Fetch real HTML → 3. Query knowledge base → 4. Analyze structure → 5. Create book source
```

Rules should be derived from actual HTML analysis rather than assumptions.

## Usage Scope

This skill is intended for developing book sources for websites the user owns or has authorization to access. The included tools (URL analysis, HTML fetching, source uploading) should only be used on target sites with the user's explicit consent. Do not use these tools for unauthorized scraping, bypassing access controls, or accessing content without permission.

## Tools

### Knowledge Query
| Tool | Purpose |
|------|---------|
| `search_knowledge(query)` | Search knowledge base |
| `get_css_selector_rules()` | CSS selector reference (paginated) |
| `get_real_book_source_examples(limit)` | Real book source analysis results |
| `get_book_source_templates(limit)` | Proven book source templates |
| `read_file_paginated(path, page)` | Read large files with pagination |
| `list_all_knowledge_files()` | List all knowledge files |

### HTML Analysis
| Tool | Purpose |
|------|---------|
| `smart_fetch_html(url, method, body, headers, charset)` | Fetch HTML with encoding support |
| `smart_web_analyzer(html)` | Full page structure analysis |
| `smart_bookinfo_analyzer(html)` | Book info page analysis |
| `smart_toc_analyzer(html)` | Table of contents analysis |
| `smart_content_analyzer(html)` | Content page analysis |

### Book Source Management
| Tool | Purpose |
|------|---------|
| `edit_book_source(complete_source="JSON")` | Create/edit book source |
| `validate_book_source.py` | Validate book source JSON (in `tools/`) |

### Analysis Scripts (in `tools/`)
| Script | Deps | Purpose |
|--------|------|---------|
| `analyze_url.py` | requests, bs4 | Website analysis (encoding + structure + search API) |
| `analyze_url.sh` | curl | Website analysis (no Python required) |
| `quick_analyze.py` | requests, bs4 | Quick analysis with auto HTML storage |
| `js_param_analyzer.py` | requests, bs4 | JS parameter/endpoint analysis |
| `validate_book_source.py` | — | Book source JSON validation (no deps) |
| `upload_book_source.py` | requests | Upload book source to public image host (default: tu.406np.xyz) for shareable direct links |

> No Python? See `references/no_python_workflow.md` for using hos

_meta.json

{
  "ownerId": "kn78yk521w4mne40fmn33t9n5982k6v1",
  "slug": "legado-book-source-developer",
  "version": "2.3.7",
  "publishedAt": 1775463928925
}

references/book_source_database/book_sources/6757_奇书网 https---m.qishu99.cc-_20260218_103403.json

[
  {
    "bookSourceComment": "这是小说下载源",
    "bookSourceName": "奇书网",
    "bookSourceType": 3,
    "bookSourceUrl": "https://m.qishu99.cc/",
    "customOrder": 2,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "exploreUrl": "[\n  {\n  \t  \"title\":\"🔖书库🔖\",\n    \"url\":\"/all/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":1\n    }\n  },\n  {\n  \t  \"title\":\"男生小说\",\n    \"url\":\"/nansheng/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"女生言情\",\n    \"url\":\"/yanqing/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"耽美同人\",\n    \"url\":\"/tongren/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"都市小说\",\n    \"url\":\"/dushi/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"玄幻奇幻\",\n    \"url\":\"/xuanhuan/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"武侠修真\",\n    \"url\":\"/xiuzhen/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"网游竞技\",\n    \"url\":\"/wangyou/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"历史军事\",\n    \"url\":\"/lishi/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"科幻灵异\",\n    \"url\":\"/kehuan/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"其他小说\",\n    \"url\":\"/qita/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":0.25\n    }\n  },\n  {\n  \t  \"title\":\"🔖排行🔖\",\n    \"url\":\"/hot/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":1\n    }\n  },\n  {\n  \t  \"title\":\"🔖推荐🔖\",\n    \"url\":\"/recommendall/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":1\n    }\n  },\n  {\n  \t  \"title\":\"🔖最新🔖\",\n    \"url\":\"/new/index_{{page}}.html\",\n    \"style\":\n    {\n    \t  \"layout_flexGrow\":1,\n       \"layout_flexBasisPersent\":1\n    }\n  }\n]",
    "lastUpdateTime": "1764908000121",
    "respondTime": 180000,
    "ruleBookInfo": {
      "author": ".bookcover@

references/book_source_database/book_sources/6886_📥 爱去小说 https---www.aiqu999.com_20260218_103401.json

[
  {
    "bookSourceComment": "来源:关耳\n可搜书名和作者\n不能用的话,打开网址看一下是不是换域名了,源URL换成新域名即可\n主站:https://www.aiqu999.com(似乎是一个会自动跳转可用链接的链接)\n备用网址:\n  - www.aiqu654.com\n  - www.aqxsw222.com\n  - www.727txt.com\n  - www.27txt.La\n  - www.527txt.com\n网站给出的防迷路网址:www.272txt.com\n\n2026.01.19\n修复搜索失效(@歌行灯)",
    "bookSourceGroup": "📥 下载",
    "bookSourceName": "📥 爱去小说",
    "bookSourceType": 3,
    "bookSourceUrl": "https://www.aiqu999.com",
    "customButton": false,
    "customOrder": 36,
    "enabled": true,
    "enabledCookieJar": true,
    "enabledExplore": false,
    "eventListener": false,
    "lastUpdateTime": "1768761330453",
    "respondTime": 180000,
    "ruleBookInfo": {
      "author": "##作者:([^<]+)##$1###",
      "downloadUrls": "<js>\nurl = \"http://www.aiqu127.com\"+java.getString(\"@tag.center.3@a@href\");\njava.log(url)\nhtml = java.ajax(url);\n\njava.getStringList(\"@text.下载地址@href\",html,true)\n</js>",
      "intro": "##小说简介:([\\s\\S]+?)</div##$1###"
    },
    "ruleContent": [],
    "ruleExplore": [],
    "ruleSearch": {
      "author": "a.search-card-author@a@text##作者:",
      "bookList": "#searchmain > .search-card",
      "bookUrl": ".search-card-link@a@href",
      "checkKeyWord": "穿进赛博游戏后逆袭成神\nhttps://www.aqxsw666.com/txt-xx/nsxs/cycs/txt-240907.htm",
      "intro": ".search-card-content@text##.+?文案(.+)##$1###",
      "kind": "{{@@class.search-card-category@tag.a@text}}",
      "lastChapter": ".search-card-date@.oldDate@text",
      "name": ".search-card-title@a@text##《|》",
      "wordCount": ".search-card-content@text##.+?【(.+)】##$1###"
    },
    "ruleToc": [],
    "searchUrl": "/search.asp?word={{key}},{\"charset\":\"gb2312\"}",
    "weight": 0
  }
]

references/book_source_database/book_sources/6891_📥 奇书网 https---www.qishu99.cc_20260218_103400.json

[
  {
    "bookSourceComment": "3qishu.com,qishu99.com,同一个站\n原本的手机版有信息错误并且实际上不能下载,我换成了电脑版,重写了除搜索地址外的全部代码,现在可以正常用了。\n(但是这样一来原来的发现页就不能用了,懒得再写于是把发现页删了)\n2026.1.20 @歌行灯",
    "bookSourceGroup": "📥 下载",
    "bookSourceName": "📥 奇书网",
    "bookSourceType": 3,
    "bookSourceUrl": "https://www.qishu99.cc",
    "customButton": false,
    "customOrder": 32,
    "enabled": true,
    "enabledCookieJar": false,
    "enabledExplore": true,
    "eventListener": false,
    "lastUpdateTime": "1768912368633",
    "respondTime": 180000,
    "ruleBookInfo": {
      "coverUrl": ".nrlist > dl > .pic > .pics3@src",
      "downloadUrls": "https://www.qishu99.cc{{@@text.进入小说下载地址@href}}\n<js>java.ajax(result)</js>\n.downlist[0,1]@li@strong@a@href",
      "intro": ".softsay_title > .softsayxq > .cont@text##声明:.*"
    },
    "ruleContent": [],
    "ruleExplore": [],
    "ruleSearch": {
      "author": ".info@.xm@b@a.1@text",
      "bookList": ".slist",
      "bookUrl": ".info > h4 > a@href",
      "checkKeyWord": "重生空间",
      "coverUrl": ".pic > a > img@src",
      "intro": ".info@p.1@text##小说简介:|\\[.+TXT下载\\]",
      "kind": ".info@.xm@b@a.0@text&&.info@.l@text##发布时间:\\d{4}-\\d{2}-\\d{2} \\| 小说状态:(.+) \\| 小说格式:.+ \\| 小说大小:(.+)##$1,$2",
      "lastChapter": ".info@.l@font@text",
      "name": ".info > h4 > a@text##《(.+)》全本TXT电子书下载##$1###"
    },
    "ruleToc": [],
    "searchUrl": "/e/search/index.php,{\n\t\"method\":\"post\",\n\t\"body\":\"show=title,softsay,softwriter&keyboard={{key}}&tbname=download&tempid=1&Submit22=搜索\"\n\t}",
    "weight": 0
  }
]

Sponsored

Ads related to Legado Book Source Developer and adjacent AI workflows.