├── .github ├── release.yml ├── workflows │ ├── dev.yml │ ├── update_websites.yml │ ├── release.yml │ ├── pre-release.yml │ └── stalebot.yml └── ISSUE_TEMPLATE │ ├── 3-question.yml │ ├── 2-feature-request.yml │ └── 1-bug-report.yml ├── LICENSE ├── docs ├── source-j-legado_LICENCE.md ├── original_comment.md └── websites.md ├── src ├── scripts │ ├── booksource_split.py │ ├── support_websites.py │ └── booksource_combine.py └── BookSource │ ├── Japan_based_bookSource │ ├── bilibili专栏.json │ ├── 缤纷幻想.json │ ├── 有度轻小说.json │ ├── 神凑轻小说(m).json │ ├── archive │ │ ├── 铅笔小说.com.json │ │ ├── 铅笔小说.net.json │ │ └── 铅笔小说x23qb.json │ ├── 轻之国度.json │ ├── 轻小说百科.json │ ├── 神凑轻小说(www).json │ ├── ESJ轻小说.cc(科学).json │ ├── ESJ轻小说.me.json │ ├── 哔哩轻小说(www).json │ ├── 轻之国度(APPapi测试).json │ ├── 轻之文库.json │ ├── 三七轻小说.json │ ├── 真白萌(建议科学).json │ └── 哔哩轻小说(tw).json │ ├── China_based_bookSource │ ├── 临高启明同人.json │ ├── 同人小说.json │ ├── 百合会.json │ ├── 同人圈.json │ ├── 鲸云轻小说.json │ ├── SF轻小说[2].json │ ├── ACGZC.json │ ├── SF轻小说(m).json │ ├── SF轻小说[1].json │ ├── 次元姬小说.json │ └── 刺猬猫.json │ └── Japanese_original_bookSource │ ├── カクヨム.json │ ├── ラブノベ.json │ ├── ハーメルン(R18).json │ ├── 小説家になろう.json │ ├── ハーメルン.json │ ├── ノクターンノベルズ.json │ └── ムーンライトノベルズ.json ├── old_ver ├── original_comment.md └── README.md ├── README.md └── .gitignore /.github/release.yml: -------------------------------------------------------------------------------- 1 | #.github/release/yml 2 | 3 | changelog: 4 | categories: 5 | - title: '✨ 新增内容 / Features' 6 | labels: 7 | - PR:feat 8 | - title: '🐛 错误修复 / Bug Fixes' 9 | labels: 10 | - PR:bugfix 11 | - title: '📝 文档更新 / Documentation' 12 | labels: 13 | - PR:docs 14 | - title: '🔨 代码重构 / Refactor' 15 | labels: 16 | - PR:refact 17 | - title: '🔧 自动化 / CI' 18 | labels: 19 | - PR:ci 20 | - title: '🧶 其他更新 / Others' 21 | labels: 22 | - '*' -------------------------------------------------------------------------------- /.github/workflows/dev.yml: -------------------------------------------------------------------------------- 1 | name: Develop BookSource JSON 2 | 3 | on: 4 | push: 5 | branches: 6 | - booksource-dev 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout repository 14 | uses: actions/checkout@v4 15 | 16 | - name: Set up Python 17 | uses: actions/setup-python@v4 18 | with: 19 | python-version: '3.x' 20 | 21 | - name: Install dependencies 22 | run: | 23 | python -m pip install --upgrade pip 24 | 25 | - name: Run booksource_combine script 26 | run: | 27 | python src/scripts/booksource_combine.py 28 | 29 | - name: Upload booksource JSON 30 | uses: actions/upload-artifact@v4 31 | with: 32 | name: booksource-json-files 33 | path: src/build/*.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-question.yml: -------------------------------------------------------------------------------- 1 | name: Question 问题提出 2 | description: 我有需要帮助的问题 3 | title: "[Question] " 4 | labels: ["Question"] 5 | body: 6 | 7 | - type: checkboxes 8 | id: checklist 9 | attributes: 10 | label: 检查清单 11 | description: 如果你的问题是重复的,将不会被回复并直接关闭。 12 | options: 13 | - label: 我已经阅读了[Q&A清单](https://github.com/ZWolken/Light-Novel-Yuedu-Source/blob/main/docs/questions.md),但依然没能得到解答。 14 | required: true 15 | - label: 我的问题没有被其他人提及过,且不是重复的。 16 | required: true 17 | 18 | - type: textarea 19 | id: bug 20 | attributes: 21 | label: 描述 22 | description: 描述你的问题。 23 | validations: 24 | required: true 25 | 26 | - type: textarea 27 | id: context 28 | attributes: 29 | label: 其他信息 30 | description: 在这里输入任何其他相关信息。 31 | -------------------------------------------------------------------------------- /.github/workflows/update_websites.yml: -------------------------------------------------------------------------------- 1 | name: Update Websites 2 | 3 | on: 4 | release: 5 | types: [published] 6 | 7 | jobs: 8 | update-websites: 9 | runs-on: ubuntu-latest 10 | 11 | steps: 12 | - name: Checkout repository 13 | uses: actions/checkout@v4 14 | 15 | - name: Set up Python 16 | uses: actions/setup-python@v4 17 | with: 18 | python-version: '3.x' 19 | 20 | - name: Install dependencies 21 | run: | 22 | python -m pip install --upgrade pip 23 | 24 | - name: Run support_websites.py 25 | run: | 26 | python src/scripts/support_websites.py 27 | 28 | - name: Commit and push changes 29 | run: | 30 | git config --global user.name 'github-actions[bot]' 31 | git config --global user.email 'github-actions[bot]@users.noreply.github.com' 32 | git add docs/websites.md -f 33 | git commit -m 'Update websites.md' 34 | git push origin HEAD:main 35 | env: 36 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Wolken 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /docs/source-j-legado_LICENCE.md: -------------------------------------------------------------------------------- 1 | # 转载/二改部分`吉的书源集`的说明 2 | 3 | 本项目以下书源均转载/二改自 [吉的书源集](https://github.com/jiwangyihao/source-j-legado) 4 | - 5 | 6 | > 这些书源继承原项目的许可证 `MPL-2.0` ,详情请见 [LICENSE](https://github.com/jiwangyihao/source-j-legado/blob/main/LICENSE) 7 | 8 | ## 关于许可的额外声明 9 | 10 | - 当许可证与本声明冲突时,以本声明为准; 11 | - 对于本仓库中的任意代码片段:按照 `MPL 2.0` 中有关约定执行; 12 | - 对于本仓库中的某一完整书源的转载或二次开发,需满足以下全部条件: 13 | - 在[本仓库](https://github.com/jiwangyihao/source-j-legado)的 `issue` 中提出请求并具体说明转载地址、二次开发后的书源开源地址以及其他必要信息; 14 | - 等待原作者(即本仓库的初始所有者和初始代码贡献者 [@jiwangyihao](https://github.com/jiwangyihao))查看并通过 `issue` 或依据原作者要求更改转载方式或补充更详细的信息。 15 | - 考虑到本项目弃坑的可能,新 `issue` 开启后超过 20 个工作日原作者没有回复或者原作者回复要求更改的 `issue` 在更改后超过 20 个工作日原作者没有回复即视为原作者通过该 `issue`: 16 | - 此处的 `issue` 仅包括在[本仓库](https://github.com/jiwangyihao/source-j-legado)开启的,处于「开启状态」的 issue。(也就是说,请不要在已经关闭的 issue 中回复)。 17 | - 对于此种方式通过的 issue,转载/二次开发者仍应当遵守本声明中已经写明的相关约定。 18 | - 不得上传至源仓库或整理至`非轻小说专用`的书源合集中并应当避免其他人将转载/二次开发版本上传至源仓库或整理至`非轻小说专用`的书源合集中: 19 | - 关于轻小说的定义的额外说明:不包括国内的原创网络文学作品(如 `SF 轻小说` 中的原创轻小说以及`起点中文网`中标签包含轻小说的作品)。 20 | - 轻小说专用的定义:有且仅有想看轻小说的人可能会添加。 21 | - 漫画源不适用轻小说专用的限制 22 | - 必须在转载/二次开发地址的明显位置完整包含本声明的全部内容。 23 | - 必须保留源注释中原有的更改记录。 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-feature-request.yml: -------------------------------------------------------------------------------- 1 | name: Request Adaptation 新网站适配请求 2 | description: 创建一个issue来请求对新网站进行适配 3 | title: "[Request] " 4 | labels: ["Request"] 5 | body: 6 | 7 | - type: checkboxes 8 | id: checklist 9 | attributes: 10 | label: 在开始反馈前,请检查已有的issue: 11 | description: 如果你的问题是重复的,将不会被回复并直接关闭。 12 | options: 13 | - label: 我已确定这个网站没有被其他人提及过,且不是重复的。 14 | required: true 15 | - label: 我已经阅读了[本项目书源已适配的网站清单](https://github.com/ZWolken/Light-Novel-Yuedu-Source/blob/main/docs/websites.md),但这个网站不在其中。 16 | required: true 17 | - label: 这个网站属于轻小说及其衍生内容网站。 18 | required: true 19 | 20 | - type: textarea 21 | id: website 22 | attributes: 23 | label: 网站名称和网址 24 | description: 请提供这个网站的名称和网址。 25 | validations: 26 | required: true 27 | 28 | - type: textarea 29 | id: detail 30 | attributes: 31 | label: 网站细节 32 | description: 请提供其他网站的细节,例如是否需要登录,归属日轻、国轻还是日原? 33 | 34 | - type: checkboxes 35 | id: acknowledgements 36 | attributes: 37 | label: 注意事项 38 | description: 请注意: 39 | options: 40 | - label: 我已知晓该仓库维护者仅会在能力范围内进行网站适配,能力范围以外的可能不会进行适配。 41 | required: true 42 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release BookSource JSON 2 | 3 | on: 4 | push: 5 | tags: 6 | - 'v*-*-*' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout repository 14 | uses: actions/checkout@v4 15 | 16 | - name: Set up Python 17 | uses: actions/setup-python@v4 18 | with: 19 | python-version: '3.x' 20 | 21 | - name: Install dependencies 22 | run: | 23 | python -m pip install --upgrade pip 24 | 25 | - name: Run booksource_combine script 26 | run: | 27 | python src/scripts/booksource_combine.py 28 | 29 | - name: Extract tag name 30 | id: extract_tag 31 | run: echo "TAG_NAME=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV 32 | 33 | - name: Create Release 34 | id: create_release 35 | uses: softprops/action-gh-release@v2 36 | if: startsWith(github.ref, 'refs/tags/') 37 | with: 38 | files: src/build/*.json 39 | tag_name: v${{ env.TAG_NAME }} 40 | name: BookSource_${{ env.TAG_NAME}} 41 | draft: true 42 | prerelease: false 43 | make_latest: true 44 | generate_release_notes: true 45 | env: 46 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/pre-release.yml: -------------------------------------------------------------------------------- 1 | name: Pre-Release BookSource JSON 2 | 3 | on: 4 | push: 5 | tags: 6 | - 'p*-*-*' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout repository 14 | uses: actions/checkout@v4 15 | 16 | - name: Set up Python 17 | uses: actions/setup-python@v4 18 | with: 19 | python-version: '3.x' 20 | 21 | - name: Install dependencies 22 | run: | 23 | python -m pip install --upgrade pip 24 | 25 | - name: Run booksource_combine script 26 | run: | 27 | python src/scripts/booksource_combine.py 28 | 29 | - name: Extract tag name 30 | id: extract_tag 31 | run: echo "TAG_NAME=${GITHUB_REF#refs/tags/p}" >> $GITHUB_ENV 32 | 33 | - name: Create Release 34 | id: create_release 35 | uses: softprops/action-gh-release@v2 36 | if: startsWith(github.ref, 'refs/tags/') 37 | with: 38 | files: src/build/*.json 39 | tag_name: p${{ env.TAG_NAME }} 40 | name: BookSource_${{ env.TAG_NAME}} 41 | draft: false 42 | prerelease: true 43 | make_latest: false 44 | generate_release_notes: true 45 | env: 46 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/stalebot.yml: -------------------------------------------------------------------------------- 1 | name: 'Close stale issues and pull requests' 2 | on: 3 | schedule: 4 | - cron: '0 0 * * *' 5 | 6 | permissions: 7 | contents: write # only for delete-branch option 8 | issues: write 9 | pull-requests: write 10 | 11 | jobs: 12 | stale: 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/stale@v9 16 | with: 17 | stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' 18 | stale-pr-message: 'This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.' 19 | days-before-stale: 7 20 | days-before-close: 5 21 | close-issue-label: 'invalid' 22 | close-pr-label: 'invalid' 23 | close-issue-message: 'This issue has been automatically closed due to inactivity. Thank you for your contributions.' 24 | close-pr-message: 'This pull request has been automatically closed due to inactivity. Thank you for your contributions.' 25 | exempt-draft-pr: true 26 | exempt-issue-labels: 'In-progress,Dont-close' 27 | exempt-pr-labels: 'In-progress,Dont-close' 28 | only: issues, pull-requests 29 | exempt-all-assigness: true -------------------------------------------------------------------------------- /src/scripts/booksource_split.py: -------------------------------------------------------------------------------- 1 | import json 2 | import pathlib 3 | 4 | # 定义书源根目录 5 | ROOT_DIR = pathlib.Path(__file__).parent.parent 6 | BOOKSOURCE_ROOT_DIR = ROOT_DIR / "BookSource" 7 | 8 | # 全局变量:指定输入文件路径和输出目录 9 | # INPUT_FILE = ROOT_DIR.parent / "old_ver/2024.2.19-62bbe48" / "Japanese_original_bookSource.json" 10 | INPUT_FILE = ROOT_DIR / "build" /"Japan_based_bookSource.json" 11 | OUTPUT_DIR = BOOKSOURCE_ROOT_DIR / "Japan_based_bookSource" 12 | 13 | def split_json_file(input_file, output_dir): 14 | """将指定的JSON文件拆分成多个单独的JSON文件""" 15 | with open(input_file, 'r', encoding='utf-8') as f: 16 | data = json.load(f) 17 | 18 | output_dir = pathlib.Path(output_dir) 19 | output_dir.mkdir(parents=True, exist_ok=True) # 创建输出目录 20 | 21 | for item in data: 22 | # # 清空 bookSourceGroup 23 | # if "bookSourceGroup" in item: 24 | # item["bookSourceGroup"] = "" 25 | 26 | # 使用 bookSourceName 作为文件名 27 | book_source_name = item.get("bookSourceName", "unknown") 28 | output_file = output_dir / f"{book_source_name}.json" 29 | 30 | # 将单个对象放入列表中 31 | item_list = [item] 32 | 33 | with open(output_file, 'w', encoding='utf-8') as f: 34 | json.dump(item_list, f, ensure_ascii=False, indent=4) 35 | print(f"Saved {output_file}") 36 | 37 | def main(): 38 | split_json_file(INPUT_FILE, OUTPUT_DIR) 39 | 40 | if __name__ == "__main__": 41 | main() 42 | -------------------------------------------------------------------------------- /old_ver/original_comment.md: -------------------------------------------------------------------------------- 1 | * 哔哩轻小说`https://w.linovelib.com` 2 | ``` 3 | 建议登录 4 | 整理修改缝合:酷安 Wolken 5 | 灰色章节修复目录部分By叶落岚起+关耳/乃星改2021.8.3 6 | 补丁 : 神秘人 7 | 修复搜索问题 8 | 修复发现榜单没图的问题 9 | 修复章节内图片问题 10 | 新補丁: 神秘人 11 | 抓取源码中的关键字替换 12 | 更新补丁 13 | 更新补丁17/9 14 | 2023.9.27 15 | 新补丁:酷安 @吉王义昊 16 | 重新抓取源码中的关键字替换 17 | 2023.9.27 18 | 新补丁2nd:酷安 @吉王义昊 19 | 修复插图不能正常加载的问题 20 | 2023.9.30 21 | 酷安 @吉王义昊 22 | 添加登录URL 23 | 清理了无用代码 24 | 使用更易读的变量名 25 | 2023.10.1 26 | 酷安 @吉王义昊 27 | 重新抓取源码中的关键字替换 28 | 2023.10.1 29 | 酷安 @吉王义昊 30 | 在获取正文时自动拉取源码并解密进行关键字替换,一劳永逸(大概)解决问题 31 | 注意:此版本会使网络请求次数增加一倍,并一定程度上减慢加载速度 32 | 2023.10.1 33 | 酷安 @吉王义昊 34 | 增加登录URL和登录UI 35 | 启用CookieJar 36 | 去除章节名下方的URL 37 | 修正了下一页获取导致的正文加载错误 38 | 补全发现中的文库 39 | 修正部分小说目录获取错误的问题 40 | 2023.10.4 41 | 神秘人 42 | 根据网站代码更新修复 43 | fix dynamic variable name 44 | 2023.10.6 45 | 網站大更新先前方法失效,用會回webview 46 | 2023.10.9 47 | 正文用改用class来match看会不会好一点 48 | 2023.10.13 49 | 新的匹配方式 50 | 2023.1111 51 | 目錄不穩定修復 52 | 2023.11.13 53 | 正文中含有title修復 54 | 2023.11.15 55 | ua block fix, dynamic ua change everday 56 | 2023.11.23 57 | fix some mirror redirect issue 58 | 2023.12.16 59 | fix random duplicate text 60 | 2023.12.16 61 | more complete way to fix 62 | 2024.1.1 63 | search fix, more stable 64 | search title fix 65 | match bug fix 66 | 2024.1.17 67 | add wait to catch rate limit 68 | 2024.1.17 69 | 整合发现(code from 柚屿☆) 70 | 2024.1.19 71 | some performance fix 72 | ``` 73 | 74 | * 轻小说百科`https://lnovel.tw` 75 | ``` 76 | //本来是在找某部作品信息的,意外发现网站也提供在线观看,赶紧加工加点做源。 77 | //致轻友们 78 | //2024.1.13 79 | ``` 80 | -------------------------------------------------------------------------------- /docs/original_comment.md: -------------------------------------------------------------------------------- 1 | * 哔哩轻小说`https://w.linovelib.com` 2 | 此书源的转载/二改说明请见[吉的书源集转载/二改说明](https://github.com/ZWolken/Light-Novel-Yuedu-Source/blob/main/docs/source-j-legado_LICENCE.md) 3 | ``` 4 | 建议登录 5 | 整理修改缝合:酷安 Wolken 6 | 灰色章节修复目录部分By叶落岚起+关耳/乃星改2021.8.3 7 | 补丁 : 神秘人 8 | 修复搜索问题 9 | 修复发现榜单没图的问题 10 | 修复章节内图片问题 11 | 新補丁: 神秘人 12 | 抓取源码中的关键字替换 13 | 更新补丁 14 | 更新补丁17/9 15 | 2023.9.27 16 | 新补丁:酷安 @吉王义昊 17 | 重新抓取源码中的关键字替换 18 | 2023.9.27 19 | 新补丁2nd:酷安 @吉王义昊 20 | 修复插图不能正常加载的问题 21 | 2023.9.30 22 | 酷安 @吉王义昊 23 | 添加登录URL 24 | 清理了无用代码 25 | 使用更易读的变量名 26 | 2023.10.1 27 | 酷安 @吉王义昊 28 | 重新抓取源码中的关键字替换 29 | 2023.10.1 30 | 酷安 @吉王义昊 31 | 在获取正文时自动拉取源码并解密进行关键字替换,一劳永逸(大概)解决问题 32 | 注意:此版本会使网络请求次数增加一倍,并一定程度上减慢加载速度 33 | 2023.10.1 34 | 酷安 @吉王义昊 35 | 增加登录URL和登录UI 36 | 启用CookieJar 37 | 去除章节名下方的URL 38 | 修正了下一页获取导致的正文加载错误 39 | 补全发现中的文库 40 | 修正部分小说目录获取错误的问题 41 | 2023.10.4 42 | 神秘人 43 | 根据网站代码更新修复 44 | fix dynamic variable name 45 | 2023.10.6 46 | 網站大更新先前方法失效,用會回webview 47 | 2023.10.9 48 | 正文用改用class来match看会不会好一点 49 | 2023.10.13 50 | 新的匹配方式 51 | 2023.1111 52 | 目錄不穩定修復 53 | 2023.11.13 54 | 正文中含有title修復 55 | 2023.11.15 56 | ua block fix, dynamic ua change everday 57 | 2023.11.23 58 | fix some mirror redirect issue 59 | 2023.12.16 60 | fix random duplicate text 61 | 2023.12.16 62 | more complete way to fix 63 | 2024.1.1 64 | search fix, more stable 65 | search title fix 66 | match bug fix 67 | 2024.1.17 68 | add wait to catch rate limit 69 | 2024.1.17 70 | 整合发现(code from 柚屿☆) 71 | 2024.1.19 72 | some performance fix 73 | ``` 74 | 75 | * 轻小说百科`https://lnovel.tw` 76 | ``` 77 | //本来是在找某部作品信息的,意外发现网站也提供在线观看,赶紧加工加点做源。 78 | //致轻友们 79 | //2024.1.13 80 | ``` 81 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1-bug-report.yml: -------------------------------------------------------------------------------- 1 | name: Bug Report 反馈Bug / 错误 2 | description: 创建一个issue来报告使用的过程中发现的错误等 3 | title: "[Bug] " 4 | labels: ["Bug"] 5 | body: 6 | 7 | - type: checkboxes 8 | id: checklist 9 | attributes: 10 | label: 在开始反馈前,请检查已有的issue: 11 | description: 如果你的问题是重复的,将不会被回复并直接关闭。 12 | options: 13 | - label: 我的问题从未被其他人提及过,且不是重复的。 14 | required: true 15 | - label: 我正在使用最新发行版的书源,没有使用过时的。 16 | 17 | - type: textarea 18 | id: bug 19 | attributes: 20 | label: 问题描述 21 | description: 请对您Bug/错误的现象进行清晰的描述,并尽量简短。(支持Markdown、图片、附件) 22 | validations: 23 | required: true 24 | 25 | - type: textarea 26 | id: step 27 | attributes: 28 | label: 复现步骤 29 | description: 请提供必要的复现行为的步骤。(支持Markdown、图片、附件) 30 | validations: 31 | required: true 32 | 33 | - type: textarea 34 | id: behavior 35 | attributes: 36 | label: 预期行为 37 | description: 请描述此bug的预期行为。(支持Markdown、图片、附件) 38 | 39 | - type: input 40 | id: legado_ver 41 | attributes: 42 | label: 阅读APP版本 43 | placeholder: "Example: 3.25" 44 | validations: 45 | required: true 46 | 47 | - type: textarea 48 | id: log 49 | attributes: 50 | label: 日志Log 51 | description: 请提供含报错的阅读APP日志文件。 52 | render: shell 53 | 54 | - type: textarea 55 | id: context 56 | attributes: 57 | label: 其他信息 58 | description: 在这里输入任何其他相关信息。(支持Markdown、图片、附件) 59 | 60 | - type: checkboxes 61 | id: acknowledgements 62 | attributes: 63 | label: 注意事项 64 | description: 请注意: 65 | options: 66 | - label: 我已知晓该仓库维护者仅会在能力范围内进行Bug/错误解答修复,能力范围以外的可能不会修复。 67 | required: true 68 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/bilibili专栏.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "bilibili专栏", 5 | "bookSourceName": "bilibili专栏[切换专用分组搜索]", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "专栏", 8 | "customOrder": -88951543, 9 | "enabled": false, 10 | "enabledCookieJar": false, 11 | "enabledExplore": false, 12 | "exploreUrl": "", 13 | "header": "{\"User-Agent\":\"Mozilla/5.0 BiliDroid/6.66.0 (bbcallen@gmail.com) os/android model/RMX2117 mobi_app/android_b build/6660500 channel/master innerVer/6660500 osVer/10 network/2\"}", 14 | "lastUpdateTime": 1708252942146, 15 | "respondTime": 180000, 16 | "ruleBookInfo": { 17 | "init": "", 18 | "tocUrl": "https://app.bilibili.com/x/v2/space/article?appkey=07da50c9a0bf829f&build=6660500&pn={{d=1;c=d++;c}}&vmid=@get:{id}" 19 | }, 20 | "ruleContent": { 21 | "content": ".normal-article-holder@p@html", 22 | "imageStyle": "FULL" 23 | }, 24 | "ruleExplore": { 25 | "author": "", 26 | "bookList": "", 27 | "bookUrl": "", 28 | "coverUrl": "", 29 | "intro": "", 30 | "name": "", 31 | "wordCount": "" 32 | }, 33 | "ruleReview": {}, 34 | "ruleSearch": { 35 | "author": "name", 36 | "bookList": "data.items[*]", 37 | "bookUrl": "https://www.bilibili.com/read/native?id={{$.param}}", 38 | "checkKeyWord": "回家", 39 | "coverUrl": "cover", 40 | "intro": "desc", 41 | "kind": "浏览:{{$.view}}次", 42 | "name": "title@put:{id:$.mid}" 43 | }, 44 | "ruleToc": { 45 | "chapterList": "data.item[*]", 46 | "chapterName": "title", 47 | "chapterUrl": "https://www.bilibili.com/read/native?id={{$.param}}" 48 | }, 49 | "searchUrl": "https://app.bilibili.com/x/v2/search/type?build=6660500&keyword={{key}}&pn={{page}}&ps=20&type=6", 50 | "weight": 0 51 | } 52 | ] 53 | -------------------------------------------------------------------------------- /docs/websites.md: -------------------------------------------------------------------------------- 1 | # 支持网站列表 2 | > [!CAUTION] 3 | >此文档由脚本自动生成,可能存在错误,请以实际书源为准。 4 | 5 | ## 国轻小说 6 | | 名称 | 网址 | 7 | | :--: | :--: | 8 | | ACGZC | http://www.acgzc.com | 9 | | 次元姬小说 | https://www.ciyuanji.com | 10 | | Lofter | https://newsmiss.lofter.com | 11 | | 鲸云轻小说 | https://jyapi.jyacg.com | 12 | | 米国度 | https://www.myrics.com | 13 | | 同人圈 | https://tongrenquan.org | 14 | | SF轻小说[2] | https://book.sfacg.com/ | 15 | | SF轻小说[1] | https://book.sfacg.com | 16 | | 同人小说 | http://www.trxs.cc | 17 | | 百合会 | https://www.yamibo.com/site/novel | 18 | | SF轻小说(m) | https://m.sfacg.com | 19 | | 刺猬猫 | https://www.ciweimao.com | 20 | | 临高启明同人 | http://lgqm.huijiwiki.com/wiki/同人作品列表 | 21 | 22 | ## 日轻小说 23 | | 名称 | 网址 | 24 | | :--: | :--: | 25 | | 轻小说百科 | https://lnovel.tw | 26 | | 轻小说文库.net | https://www.wenku8.net/index.php | 27 | | ESJ轻小说.me | http://www.esjzone.me | 28 | | ESJ轻小说.cc(科学) | http://www.esjzone.cc | 29 | | 有度轻小说 | https://www.yodu.org/qingxiaoshuo | 30 | | bilibili专栏[切换专用分组搜索] | 专栏 | 31 | | 哔哩轻小说(tw) | https://tw.linovelib.com/ | 32 | | 神凑轻小说(m) | https://m.shencou.com | 33 | | 有度中文网 | https://www.yodu.org##破冰 | 34 | | 轻之国度 | https://www.lightnovel.us | 35 | | 轻之文库 | https://www.linovel.net | 36 | | 哔哩轻小说 | https://w.linovelib.com | 37 | | 缤纷幻想 | https://colorful-fantasybooks.com | 38 | | 哔哩轻小说(www) | https://www.linovelib.com/ | 39 | | 轻之国度(APPapi测试) | https://www.lightnovel.us##APP | 40 | | 三七轻小说 | https://www.37yq.com | 41 | | 真白萌(建议科学) | https://masiro.me | 42 | | 神凑轻小说(www) | http://www.shencou.com | 43 | | 轻小说文库.cc | https://www.wenku8.cc/index.php | 44 | 45 | ## 日语原版轻小说 46 | | 名称 | 网址 | 47 | | :--: | :--: | 48 | | ハーメルン(R18) | https://syosetu.org/?r18 | 49 | | 小説を読もう! | https://yomou.syosetu.com/ | 50 | | カクヨム | https://kakuyomu.jp | 51 | | ハーメルン | https://syosetu.org/ | 52 | | ノクターンノベルズ | https://noc.syosetu.com/top/top/ | 53 | | ラブノベ | https://lovenove.syosetu.com/ | 54 | | ムーンライトノベルズ | https://mnlt.syosetu.com/top/top/ | 55 | | 小説家になろう | http://syosetu.com | 56 | 57 | -------------------------------------------------------------------------------- /old_ver/README.md: -------------------------------------------------------------------------------- 1 | # Light-Novel-Yuedu-Source 2 | # 轻小说阅读书源合集 3 | 4 | #### 介绍 5 | 6 | 酷安退了(被封),暂停止维护,恢复时间未知。感谢支持! 7 | 8 | ~~有时间再弄原来的其他内容~~ 9 | 10 | 仅可将此 **仓库链接** 转载至其他平台, 11 | **其余内容请勿转载** 12 | 13 | Release Link链接:https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases 14 | #### 备注 15 | 16 | 1. 动漫之家的轻小说站因为各种原因无法直接网页访问,因此无法做源,如有需要建议使用[动漫之家Flutter客户端](https://github.com/xiaoyaocz/dmzj_flutter) 17 | 2. 轻之国度(LK)维护完毕后网站有所改动,先前的源全部失效,几位大佬([酷安@转义字符](http://www.coolapk.com/u/2060038) 和 [酷安@金01461](http://www.coolapk.com/u/1208939))重新写了源,基本可以正常使用了 18 | 3. ESJ的源来自[酷安@户山香澄Official](http://www.coolapk.com/u/614507)的[帖子](https://www.coolapk.com/feed/33474742)并做了更新,详细使用说明请看[另一原帖](https://www.coolapk.com/feed/32715700),发现若需正常使用请科学后登录 19 | 4. EPUB轻小说资源下载站和其他原版WEB网站建议看旧Release 20 | 5. 日本原版WEB小说的源暂时请看[konoka的原帖](https://www.konoka.top/ja/1012/) 21 | 6. `哔哩轻小说`缝合了源仓库里叶落岚起+关耳/乃星改的灰色章节可阅的规则脚本 22 | 7. 所有书源的发现均使用了[酷安@关耳010225](http://www.coolapk.com/u/2379204)提供的方法进行了美化,大部分源的发现均有进行增加 23 | 8. 内容来源于评论区、源仓库,未发帖公开的源均已得到原作者许可公开,并且筛选、修复解析和发现保证使用有效 24 | 25 | 26 | #### 导入方法 27 | 28 | 1. 复制对应书源/书源合集的JSON文件的链接或者下载JSON文件 29 | 2. 打开阅读APP 30 | 3. 我的 31 | 4. 书源管理 32 | 5. 右上角菜单⠇ 33 | 6. 网络导入/本地导入 34 | 7. 复制链接/选择文件 35 | 8. 确认 36 | 37 | #### 登录方法 38 | 39 | 1. 发现页、管理书源、编辑书源三处菜单的“登录”均可使用 40 | 2. 登录完成后记得点击右上方的√保存返回即可正常使用。 41 | 42 | #### 使用说明 43 | 44 | 1. 使用这些源时不需要额外的净化规则 45 | 2. `真白萌`、`轻小说文库(wenku8)`和`有度轻小说`登录后方可正常使用 46 | 3. `ESJ.cc`和`亲小说`的源使用时请科学 47 | 4. `真白萌`的源使用时建议科学 48 | 5. `真白萌`更新了新的用户规则,部分小说需要用户升级后才可阅读(养号吧.jpg) 49 | 6. 部分源搜索结果不全的话建议登录 50 | 7. `亲小说(科学)`和`亲小说M(科学)`两个源内容相同,只不过一个是手机端网页一个是非手机端网页,两个都保留,但默认只开启`亲小说(科学)`源 51 | 8. `SF轻小说`和`SF轻小说M`网页内书籍相同,但是网页功能布局不同导致发现规则不同,因此两源的发现均保留 52 | 9. `轻小说文库(wenku8)`的源搜索功能存在一定问题,大部分情况无法显示搜索结果,但是找不出问题(咕) 53 | 10. `百合会`不需要的话可以关闭(我是因为二次元同人加进合集的) 54 | 11. 部分日轻源的结果包含国轻 55 | 12. `SF轻小说`、`鲸云轻小说`、`次元姬小说`、`不可能的世界`、`二次元小说`、`刺猬猫`、`同人小说`、`同人圈`、`临高启明同人`均为国轻 56 | 13. 由于`二次元小说`原网站搜索时需要验证码,故源无法使用搜索功能(发现和右上角添加网址均可使用) 57 | 14. `Lofter`源默认关闭,里面有UP主产出国轻小说,有需要可以开启 58 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/临高启明同人.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "临高启明同人", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://lgqm.huijiwiki.com/wiki/同人作品列表", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951532, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"同人作品列表\",\"url\":\"http://lgqm.huijiwiki.com/wiki/同人作品列表\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\r\n{\"title\":\"2017年铁拳爆菊大出血杯\",\"url\":\"http://lgqm.huijiwiki.com/wiki/2017年铁拳爆菊大出血杯\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\r\n{\"title\":\"2017年吹牛文学奖\",\"url\":\"http://lgqm.huijiwiki.com/wiki/2017年吹牛文学奖\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\r\n{\"title\":\"2016年铁拳爆菊大出血杯\",\"url\":\"http://lgqm.huijiwiki.com/wiki/2016年铁拳爆菊大出血杯\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}}\r\n]", 14 | "lastUpdateTime": 1666887735798, 15 | "loginUrl": "", 16 | "respondTime": 2282, 17 | "ruleBookInfo": { 18 | "name": "tag.h1@text" 19 | }, 20 | "ruleContent": { 21 | "content": "class.mw-parser-output@html" 22 | }, 23 | "ruleExplore": {}, 24 | "ruleReview": {}, 25 | "ruleSearch": { 26 | "author": "tag.td.2@text", 27 | "bookList": "class.wikitable@tr", 28 | "bookUrl": "tag.a@href", 29 | "intro": "tag.td.9@text&&tag.td.3@text&&tag.td.6@text&&tag.td.4@text", 30 | "kind": "tag.td.7@text&&tag.td.8@text", 31 | "name": "tag.td.1@a@text" 32 | }, 33 | "ruleToc": { 34 | "chapterList": "tag.h1", 35 | "chapterName": "text" 36 | }, 37 | "searchUrl": "http://lgqm.huijiwiki.com/wiki/同人作品列表", 38 | "weight": 0 39 | } 40 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/缤纷幻想.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "日轻,国轻\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "缤纷幻想", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://colorful-fantasybooks.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951544, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最新\",\"url\":\"/module/novel/type.php?page={{page}}\",\"style\":{\"layout_flexGrow\":1}}]", 14 | "lastUpdateTime": 1644843720683, 15 | "loginUrl": "", 16 | "respondTime": 6294, 17 | "ruleBookInfo": { 18 | "author": ".works-intro-digi@tag.em.0@text", 19 | "coverUrl": ".works-cover img@src", 20 | "intro": ".works-intro-short@html", 21 | "kind": ".works-intro-digi@tag.em.-1@text&&.works-status@tag.li.0@text&&.ui-pl10@tag.span@text##小说类别.|\\s.*", 22 | "lastChapter": ".works-ft-new a@text", 23 | "name": ".works-intro-title@strong@text", 24 | "wordCount": ".works-status@tag.li.5@text##完成字数." 25 | }, 26 | "ruleContent": { 27 | "content": "#content_cust@html", 28 | "imageStyle": "0" 29 | }, 30 | "ruleExplore": { 31 | "author": "tag.td.3@text", 32 | "bookList": "tbody tr!0", 33 | "bookUrl": "tag.a.0@href", 34 | "kind": "tag.td.0:5@text##\\[|\\]", 35 | "lastChapter": "tag.td.2@text", 36 | "name": "tag.td.1@text", 37 | "wordCount": "tag.td.4@text" 38 | }, 39 | "ruleSearch": { 40 | "bookList": ".mod_book_list li", 41 | "bookUrl": "a@href", 42 | "coverUrl": "img@src", 43 | "kind": "sub@text", 44 | "lastChapter": "h3@text", 45 | "name": "h4@text" 46 | }, 47 | "ruleToc": { 48 | "chapterList": ".works-chapter-list p", 49 | "chapterName": "a@text", 50 | "chapterUrl": "a@href" 51 | }, 52 | "searchUrl": "/module/novel/search.php?type=1&key={{key}}&page={{page}}", 53 | "weight": 0 54 | } 55 | ] 56 | -------------------------------------------------------------------------------- /src/scripts/support_websites.py: -------------------------------------------------------------------------------- 1 | import json 2 | import pathlib 3 | 4 | # 定义目录 5 | ROOT_DIR = pathlib.Path(__file__).parent.parent 6 | BOOKSOURCE_ROOT_DIR = ROOT_DIR / "BookSource" 7 | DOCS_DIR = ROOT_DIR.parent / "docs" 8 | WEBSITES_MD_PATH = DOCS_DIR / "websites.md" 9 | 10 | # 配置文件夹分组别名 11 | FOLDER_ALIASES = { 12 | "China_based_bookSource": "国轻小说", 13 | "Japan_based_bookSource": "日轻小说", 14 | "Japanese_original_bookSource": "日语原版轻小说" 15 | } 16 | 17 | def json_list(kind_path): 18 | """获取指定路径下所有JSON文件的路径列表,排除archive文件夹""" 19 | json_files = [] 20 | for path in pathlib.Path(kind_path).rglob("*.json"): 21 | if 'archive' not in path.parts: 22 | json_files.append(path) 23 | return json_files 24 | 25 | def extract_website_info(source_dir): 26 | """从JSON文件中提取网站信息""" 27 | website_info = [] 28 | json_files = json_list(source_dir) 29 | for json_file in json_files: 30 | with open(json_file, 'r', encoding='utf-8') as f: 31 | data = json.load(f) 32 | for item in data: 33 | name = item.get("bookSourceName", "unknown") 34 | url = item.get("bookSourceUrl", "unknown") 35 | website_info.append((name, url)) 36 | return website_info 37 | 38 | def generate_markdown(): 39 | """生成支持网站的Markdown文件""" 40 | markdown_content = "# 支持网站列表\n> [!CAUTION]\n>此文档由脚本自动生成,可能存在错误,请以实际书源为准。\n\n" 41 | for folder, alias in FOLDER_ALIASES.items(): 42 | source_dir = BOOKSOURCE_ROOT_DIR / folder 43 | website_info = extract_website_info(source_dir) 44 | markdown_content += f"## {alias}\n" 45 | markdown_content += "| 名称 | 网址 |\n" 46 | markdown_content += "| :--: | :--: |\n" 47 | for name, url in website_info: 48 | markdown_content += f"| {name} | {url} |\n" 49 | markdown_content += "\n" 50 | 51 | # 检查文件是否存在,如果不存在则创建 52 | if not DOCS_DIR.exists(): 53 | DOCS_DIR.mkdir(parents=True, exist_ok=True) 54 | print(f"Directory {DOCS_DIR} does not exist. Creating new directory...") 55 | 56 | with open(WEBSITES_MD_PATH, 'w', encoding='utf-8') as f: 57 | f.write(markdown_content) 58 | print(f"Markdown file generated at {WEBSITES_MD_PATH}") 59 | 60 | if __name__ == "__main__": 61 | generate_markdown() -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/同人小说.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "同人小说", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://www.trxs.cc", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951534, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最近更新\",\"url\":\"http://www.trxs.cc/tongren/index<,_{{page}}>.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\n{\"title\":\"最新入库\",\"url\":\"http://www.trxs.cc/tags-151-<0,{{page}}>.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\n{\"title\":\"完本小说\",\"url\":\"http://www.trxs.cc/tags-150-<0,{{page}}>.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\n{\"title\":\"热门排行\",\"url\":\"http://www.trxs.cc/hot/index<,_{{page}}>.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}}]", 14 | "header": "{\n \"User-Agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36\"\n}", 15 | "lastUpdateTime": 1643567922474, 16 | "loginUrl": "", 17 | "respondTime": 1487, 18 | "ruleBookInfo": { 19 | "coverUrl": "class.pic@img@src", 20 | "intro": "class.infos@p@textNodes", 21 | "kind": "[property=\"og:novel:category\"]@content&&[property=\"og:novel:status\"]@content", 22 | "lastChapter": "class.book_list clearfix@tag.li.-1@a@text" 23 | }, 24 | "ruleContent": { 25 | "content": "class.read_chapterDetail@html" 26 | }, 27 | "ruleExplore": {}, 28 | "ruleSearch": { 29 | "author": "class.booknews@textNodes", 30 | "bookList": "class.books m-cols@children", 31 | "bookUrl": "a@href", 32 | "coverUrl": "img@src", 33 | "lastChapter": "class.date@text", 34 | "name": "h3@text" 35 | }, 36 | "ruleToc": { 37 | "chapterList": "class.book_list clearfix@li@a", 38 | "chapterName": "text", 39 | "chapterUrl": "href" 40 | }, 41 | "searchUrl": "http://www.trxs.cc/e/search/index.php,{\n \"charset\": \"gb2312\",\n \"method\": \"POST\",\n \"body\": \"keyboard={{key}}&show=title&classid=0\"\n}", 42 | "weight": 0 43 | } 44 | ] -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/百合会.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻,可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "百合会", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.yamibo.com/site/novel", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951538, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"原创小说\",\"url\":\"https://www.yamibo.com/novel/list?q=1&page={{page}}&per-page=50\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"二次元同人\",\"url\":\"https://www.yamibo.com/novel/list?q=2&page={{page}}&per-page=50\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"三次元同人\",\"url\":\"https://www.yamibo.com/novel/list?q=3&page={{page}}&per-page=50\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"完结\",\"url\":\"https://www.yamibo.com/novel/list?q=finish&page={{page}}&per-page=50\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"全部作品\",\"url\":\"https://www.yamibo.com/novel/list?page={{page}}&per-page=50\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}}\r\n]", 14 | "lastUpdateTime": 1644844037838, 15 | "loginUi": "", 16 | "loginUrl": "https://www.yamibo.com/user/login", 17 | "respondTime": 1893, 18 | "ruleBookInfo": { 19 | "coverUrl": "tag.img.1@src", 20 | "intro": "class.panel-body.1@text" 21 | }, 22 | "ruleContent": { 23 | "content": "class.row@tag.p@textNodes", 24 | "imageStyle": "0.0" 25 | }, 26 | "ruleExplore": {}, 27 | "ruleSearch": { 28 | "author": "tag.td.2@text", 29 | "bookList": "class.table table-hover@tag.tbody@tag.tr", 30 | "bookUrl": "tag.td.1@tag.a@href", 31 | "coverUrl": "tag.img.0@src", 32 | "kind": "tag.td.3@tag.a@text", 33 | "lastChapter": "", 34 | "name": "tag.td.1@tag.a@text" 35 | }, 36 | "ruleToc": { 37 | "chapterList": "class.col-md-4 col-xs-6!0:1:2", 38 | "chapterName": "tag.a@text", 39 | "chapterUrl": "tag.a@href" 40 | }, 41 | "searchUrl": "https://www.yamibo.com/search/novel?SearchForm%5Bkeyword%5D={{key}}&page={{page}}", 42 | "weight": 0 43 | } 44 | ] -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/同人圈.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "同人圈", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://tongrenquan.org", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951533, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"同人小说\",\"url\":\"/tongren/<,index_{{page}}.html>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"全本同人\",\"url\":\"/tags-150-{{page-1}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"连载同人\",\"url\":\"/tags-151-{{page-1}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"排行榜单\",\"url\":\"/hot/<,index_{{page}}.html>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}}\r\n]", 14 | "header": "{\n \"User-Agent\": \"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Safari/537.36\"\n}", 15 | "lastUpdateTime": 1644844469181, 16 | "loginUrl": "", 17 | "respondTime": 12572, 18 | "ruleBookInfo": { 19 | "author": ".date>a@text", 20 | "coverUrl": ".pic img@src", 21 | "intro": "@css:.booktips+p@text", 22 | "kind": ".date@ownText", 23 | "name": "h1@text##\\(\\S+" 24 | }, 25 | "ruleContent": { 26 | "content": ".read_chapterDetail@html" 27 | }, 28 | "ruleExplore": { 29 | "author": ".booknews@ownText##作者:", 30 | "bookList": ".bk", 31 | "bookUrl": "tag.a.0@href", 32 | "coverUrl": "img@src", 33 | "intro": "p@text", 34 | "kind": "label@text", 35 | "lastChapter": "h3@text##\\S+\\(|\\)", 36 | "name": "h3@text##\\(\\S+" 37 | }, 38 | "ruleSearch": { 39 | "author": ".booknews@ownText##作者:", 40 | "bookList": ".bk", 41 | "bookUrl": "tag.a.0@href", 42 | "coverUrl": "img@src", 43 | "intro": "p@text", 44 | "kind": "label@text", 45 | "name": "h3@text" 46 | }, 47 | "ruleToc": { 48 | "chapterList": ".book_list a", 49 | "chapterName": "text", 50 | "chapterUrl": "href" 51 | }, 52 | "searchUrl": "/e/search/indexstart.php,{\n \"charset\": \"gb2312\",\n \"method\": \"POST\",\n \"body\": \"keyboard={{key}}&show=title&classid=0\"\n}", 53 | "weight": 0 54 | } 55 | ] -------------------------------------------------------------------------------- /src/scripts/booksource_combine.py: -------------------------------------------------------------------------------- 1 | import json 2 | import pathlib 3 | from datetime import datetime 4 | 5 | # 定义书源根目录 6 | ROOT_DIR = pathlib.Path(__file__).parent.parent 7 | BOOKSOURCE_ROOT_DIR = ROOT_DIR / "BookSource" 8 | 9 | # 配置文件夹分组别名 10 | FOLDER_ALIASES = { 11 | "China_based_bookSource": "国轻小说", 12 | "Japan_based_bookSource": "日轻小说", 13 | "Japanese_original_bookSource": "日语原版轻小说" 14 | } 15 | 16 | def json_list(kind_path): 17 | """获取指定路径下所有JSON文件的路径列表,排除archive文件夹""" 18 | json_files = [] 19 | for path in pathlib.Path(kind_path).rglob("*.json"): 20 | if 'archive' not in path.parts: 21 | json_files.append(path) 22 | return json_files 23 | 24 | def combine_json_files(source_dir, group_name): 25 | """将指定目录下的所有JSON文件整合成一个JSON文件,并添加分组""" 26 | combined_data = [] 27 | json_files = json_list(source_dir) 28 | 29 | for json_file in json_files: 30 | with open(json_file, 'r', encoding='utf-8') as f: 31 | data = json.load(f) 32 | for item in data: 33 | if "bookSourceGroup" in item and item["bookSourceGroup"]: 34 | item["bookSourceGroup"] += f",{group_name}" 35 | else: 36 | item["bookSourceGroup"] = group_name 37 | combined_data.extend(data) 38 | 39 | return combined_data 40 | 41 | 42 | def save_combined_json(data, output_path): 43 | """将整合后的JSON数据保存到指定路径""" 44 | output_path.parent.mkdir(parents=True, exist_ok=True) # 创建文件夹 45 | with open(output_path, 'w', encoding='utf-8') as f: 46 | json.dump(data, f, ensure_ascii=False, indent=4) 47 | 48 | 49 | def main(): 50 | """主函数""" 51 | # 获取当前日期 52 | current_date = datetime.now().strftime("%Y-%m-%d") 53 | all_combined_data = [] 54 | 55 | # 遍历书源根目录下的每个子目录,排除 archive 文件夹 56 | for source_dir in BOOKSOURCE_ROOT_DIR.iterdir(): 57 | if source_dir.is_dir(): 58 | # 获取文件夹别名,如果没有配置别名则使用文件夹名称 59 | alias = FOLDER_ALIASES.get(source_dir.name, source_dir.name) 60 | group_name = f"{alias}({current_date})\nGitHub@ZWolken" 61 | combined_data = combine_json_files(source_dir, group_name) 62 | all_combined_data.extend(combined_data) 63 | output_path = ROOT_DIR / "build" / f"{source_dir.name}.json" 64 | save_combined_json(combined_data, output_path) 65 | print(f"Combined JSON saved to {output_path}") 66 | 67 | # 保存所有分组书源文件整合成的一个文件 68 | all_output_path = ROOT_DIR / "build" / "All_bookSource.json" 69 | save_combined_json(all_combined_data, all_output_path) 70 | print(f"All combined JSON saved to {all_output_path}") 71 | 72 | if __name__ == "__main__": 73 | main() 74 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/鲸云轻小说.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "API\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "鲸云轻小说", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://jyapi.jyacg.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951539, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"最新更新\",\"url\":\"/web/book_room?channel=0&tag=zxgx&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"人气最高\",\"url\":\"/web/book_room?channel=0&tag=rqzg&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"人气最高\",\"url\":\"/web/book_room?channel=0&tag=rqzg&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"收藏最高\",\"url\":\"/web/book_room?channel=0&tag=sczd&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"收藏最高\",\"url\":\"/web/book_room?channel=0&tag=ypzg&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"打赏最多\",\"url\":\"/web/book_room?channel=0&tag=xlzg&page={{page}}&charge_type=&serial_status=\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "header": "", 15 | "lastUpdateTime": 1644843976085, 16 | "loginUrl": "", 17 | "respondTime": 2641, 18 | "ruleBookInfo": { 19 | "author": "author", 20 | "coverUrl": "cover_image", 21 | "init": "data", 22 | "intro": "intro", 23 | "kind": "book_label##/##,", 24 | "lastChapter": "new_section&&new_seciton_time##\\n##·", 25 | "name": "name@put:{bid:id}", 26 | "tocUrl": "/web/books/directory?books_id={{$.id}}", 27 | "wordCount": "{{$.total_words}}万字" 28 | }, 29 | "ruleContent": { 30 | "content": "data.content##o:" 31 | }, 32 | "ruleExplore": {}, 33 | "ruleSearch": { 34 | "author": "author", 35 | "bookList": "data", 36 | "bookUrl": "/web/books/detail?id={{$.id}}", 37 | "coverUrl": "cover_image", 38 | "intro": "intro", 39 | "kind": "labels.name&&serial_status", 40 | "lastChapter": "java.ajax('https://jyapi.jyacg.com/web/books/detail?id={{$.id}}')data.new_section&&data.new_seciton_time##\\n##·", 41 | "name": "name", 42 | "wordCount": "{{$.total_words}}万字" 43 | }, 44 | "ruleToc": { 45 | "chapterList": "data[*].directory[*]", 46 | "chapterName": "title", 47 | "chapterUrl": "/web/books/read?page={{$.page}}&books_id=@get:{bid}" 48 | }, 49 | "searchUrl": "/web/search?name={{key}}&page={{page}}&type=1", 50 | "weight": 0 51 | } 52 | ] -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # **注意:该项目处在半维护周期内** 2 | 3 | # 轻小说阅读书源合集 4 | `Light-Novel-Yuedu-Source` 5 | 6 | ## 介绍 7 | 8 | ~~**由于多重原因,该项目处在非维护周期内,任何对于书源的无法正常使用等情况的报告issue,在正常情况下都不会进行解决。**~~
9 | **目前由 [@洛初](https://github.com/gongfuture) 转入半维护周期,由于能力不足和精力有限等原因,任何对于书源的issue,可能都不会及时进行解决。** 10 | 11 | **欢迎 fork 本仓库修复维护后提出 PR 进行合并。** 12 | 13 | > [!CAUTION] 14 | > 内容转载请保持原说明。 15 | > 书源转载整合请保持原源名称以及原源注释。 16 | 17 | ## 文件说明 18 | 19 | 1. `Japan_based_bookSource.json`:日轻小说书源文件 20 | 2. `China_based_bookSource.json`:国轻小说书源文件 21 | 3. `Japanese_original_bookSource.json`:日语原版轻小说书源文件 22 | 4. `All_bookSource.json`:日轻、国轻、日轻原版书源合集文件 23 | 5. `original_comment.md`:部分书源完整注释内容(文件位于`/old_ver`目录下) 24 | 25 | ## 使用说明 26 | 27 | 1. 使用这些源时不需要额外的净化规则 28 | 2. `真白萌`、`轻小说文库(.cc)`、`轻小说文库(.net)`和`有度轻小说`登录后方可正常使用 29 | 3. 部分源搜索存在问题,建议前往原网站找到所需阅读书籍的网址后,使用阅读APP主页面右上角菜单⠇内的`添加网址`功能导入书籍 30 | 4. 由于该项目处在非维护周期内,不保证书源的有效性 31 | 4. 日语原版轻小说书源文件的说明请见:[日本Web小说 Book Source](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/tag/JA) 32 | 5. 详细原使用说明请见:[原README文件](/old_ver/README.md) 33 | 34 | ## 导入方法 35 | 36 | ### 书源导入 37 | 38 | 1. 访问[Release发行版](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases),复制所需书源/书源合集的JSON文件的链接或者下载对应的文件 39 | 2. 打开阅读APP 40 | 3. 我的 41 | 4. 书源管理 42 | 5. 右上角菜单⠇ 43 | 6. 网络导入/本地导入 44 | 7. 复制链接/选择文件 45 | 8. 确认 46 | 47 | ### 订阅源导入(测试) 48 | 49 | > 使用规则订阅可便于更新书源 50 | 51 | 1. 于下方表格复制对应订阅源的链接 52 | 2. 打开阅读APP 53 | 3. 订阅 54 | 4. 规则订阅 55 | 5. 右上角添加+ 56 | 6. 类型选择`书源`,填写任意名称,于`Url`框内粘贴链接 57 | 7. 确认 58 | 59 | | 订阅源 | 链接 | 60 | | ---: | :--- | 61 | | [日轻小说](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/Japan_based_bookSource.json) | `https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/Japan_based_bookSource.json` | 62 | | [国轻小说](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/China_based_bookSource.json) | `https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/China_based_bookSource.json` | 63 | | [日语原版轻小说](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/Japanese_original_bookSource.json) | `https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/Japanese_original_bookSource.json` | 64 | | [所有书源](https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/All_bookSource.json) | `https://github.com/ZWolken/Light-Novel-Yuedu-Source/releases/latest/download/All_bookSource.json` | 65 | 66 | > [!TIP] 67 | > 可以直接订阅所有书源,仅打开对应分组即可 68 | 69 | ## 登录方法 70 | 71 | 1. 发现页、管理书源、编辑书源三处菜单的“登录”均可使用 72 | 2. 登录完成后,点击右上方的√,保存返回后即可正常使用。 73 | 74 | ## 贡献者 75 | 76 | 77 | Light-Novel-Yuedu-Source Contributors 78 | 79 | 80 | ## 备注 81 | 82 | 1. `哔哩轻小说`原始源缝合了源仓库里**叶落岚起+关耳/乃星**改的灰色章节可阅的规则脚本,后续又由**酷安@吉王义昊**以及**柚屿☆**等多位进行多次修正维护,但由于原网站使用了各种防爬措施以及字体混淆等,基本无法长期正常使用。 83 | 2. `动漫之家`的轻小说站如有需要可使用[动漫之家Flutter客户端](https://github.com/xiaoyaocz/dmzj_flutter) 84 | 3. (2022年前)`轻之国度(LK)`维护完毕后网站有所改动,先前的源全部失效,由[酷安@转义字符](http://www.coolapk.com/u/2060038) 以及 [酷安@金01461](http://www.coolapk.com/u/1208939)重新写了源,新源可正常使用 85 | 4. `ESJ`的源来自[酷安@户山香澄Official](http://www.coolapk.com/u/614507)的[帖子](https://www.coolapk.com/feed/33474742)并做了更新,详细使用说明请看[另一原帖](https://www.coolapk.com/feed/32715700),发现若需正常使用请科学后登录 86 | 5. 本仓库内书源的发现使用了[酷安@关耳010225](http://www.coolapk.com/u/2379204)提供的方法进行了美化,大部分源的发现均有进行增加 87 | 6. 内容来源于酷安评论区、源仓库,未发帖公开的源均已得到原作者许可公开,~~并且筛选、修复解析和发现保证使用有效~~ 由于该项目处在非维护周期内,不保证书源的有效性 88 | -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/カクヨム.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "カクヨム", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://kakuyomu.jp", 8 | "bookUrlPattern": "", 9 | "customOrder": 10, 10 | "enabled": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "[\r\n{\"title\":\"総合\",\"url\":\"https://kakuyomu.jp/rankings/all/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"異世界ファンタジー\",\"url\":\"https://kakuyomu.jp/rankings/fantasy/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ファンタジー\",\"url\":\"https://kakuyomu.jp/rankings/action/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"SF\",\"url\":\"https://kakuyomu.jp/rankings/sf/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"恋愛\",\"url\":\"https://kakuyomu.jp/rankings/love_story/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ラブコメ\",\"url\":\"https://kakuyomu.jp/rankings/romance/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"現代ドラマ\",\"url\":\"https://kakuyomu.jp/rankings/drama/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ホラー\",\"url\":\"https://kakuyomu.jp/rankings/horror/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ミステリー\",\"url\":\"https://kakuyomu.jp/rankings/mystery/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"エッセイ・ノンフィクション\",\"url\":\"https://kakuyomu.jp/rankings/nonfiction/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"歴史・時代・伝奇\",\"url\":\"https://kakuyomu.jp/rankings/history/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"創作論・評論\",\"url\":\"https://kakuyomu.jp/rankings/criticism/weekly\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"詩・童話・その他\",\"url\":\"https://kakuyomu.jp/rankings/others/weekly\",\"style\":{\"layout_flexGrow\":1}}\r\n]", 13 | "lastUpdateTime": 1645022077718, 14 | "loginUrl": "https://kakuyomu.jp/login", 15 | "respondTime": 180000, 16 | "ruleBookInfo": { 17 | "author": "//span[@id=\"workAuthor-activityName\"]//text()", 18 | "intro": "//section[@id=\"description\"]/p", 19 | "kind": "//li[@id=\"workGenre\"]//text()", 20 | "lastChapter": "//div[contains(@class, \"widget-toc-workInfo\")]//text()", 21 | "name": "//h1[@id=\"workTitle\"]//text()" 22 | }, 23 | "ruleContent": { 24 | "content": "class.widget-episodeBody@p@text" 25 | }, 26 | "ruleExplore": { 27 | "author": "//a[@itemprop=\"author\"]//text()", 28 | "bookList": "//div[contains(@class, \"widget-work\")]", 29 | "bookUrl": "//a[@itemprop=\"name\"]/@href", 30 | "intro": "//p[@class=\"widget-workCard-introduction\"]", 31 | "kind": "//a[@itemprop=\"genre\"]//text()", 32 | "lastChapter": "//span[contains(@class, \"widget-toc-workInfo\")]//text()", 33 | "name": "//a[@itemprop=\"name\"]//text()" 34 | }, 35 | "ruleSearch": { 36 | "author": "//a[@itemprop=\"author\"]//text()", 37 | "bookList": "//div[contains(@class, \"widget-work\")]", 38 | "bookUrl": "//a[@itemprop=\"name\"]/@href", 39 | "intro": "//p[@class=\"widget-workCard-introduction\"]", 40 | "kind": "//a[@itemprop=\"genre\"]//text()", 41 | "lastChapter": "//span[contains(@class, \"widget-workCard-status\")]/span//text()|//span[@itemprop=\"dateModified\"]/text()", 42 | "name": "//a[@itemprop=\"name\"]/text()" 43 | }, 44 | "ruleToc": { 45 | "chapterList": "//div[@class=\"widget-toc-main\"]/ol/li", 46 | "chapterName": "//span/text()", 47 | "chapterUrl": "//a[@class=\"widget-toc-episode-episodeTitle\"]/@href" 48 | }, 49 | "searchUrl": "/search?q={{key}}&page={{page}}", 50 | "weight": 0 51 | } 52 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/有度轻小说.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "登录后才可搜索\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "有度轻小说", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.yodu.org/qingxiaoshuo", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951545, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"电击文库\",\"url\":\"https://www.yoduzw.com/dianjiwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"富士见文库\",\"url\":\"https://www.yoduzw.com/fushijianwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"角川文库\",\"url\":\"https://www.yoduzw.com/jiaochuanwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"MF文库J\",\"url\":\"https://www.yoduzw.com/MFwenkuJ/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"Fami通文库\",\"url\":\"https://www.yoduzw.com/Famitongwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"GA文库\",\"url\":\"https://www.yoduzw.com/GAwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"HJ文库\",\"url\":\"https://www.yoduzw.com/HJwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"一迅社\",\"url\":\"https://www.yoduzw.com/yixunshe/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"集英社\",\"url\":\"https://www.yoduzw.com/jiyingshe/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"小学馆\",\"url\":\"https://www.yoduzw.com/xiaoxueguan/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"讲谈社\",\"url\":\"https://www.yoduzw.com/jiangtanshe/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"少女文库\",\"url\":\"https://www.yoduzw.com/shaonvwenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"其他文库\",\"url\":\"https://www.yoduzw.com/qitawenku/{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1708245107583, 15 | "loginUrl": "https://www.yodu.org/login.php", 16 | "respondTime": 4957, 17 | "ruleBookInfo": { 18 | "author": "class.mr15 ttl@a@text", 19 | "coverUrl": "class.g_thumb@img@src", 20 | "intro": "class.h112 mb15 det-abt lh1d8 c_strong fs16 hm-scroll@html", 21 | "kind": "class.mr15 ttc hisp@text", 22 | "lastChapter": "class.ell lst-chapter dib vam@text", 23 | "name": "class.mb15 lh1d2 oh@text" 24 | }, 25 | "ruleContent": { 26 | "content": "id.TextContent@html##(本章未完)", 27 | "nextContentUrl": "text.下一章@href" 28 | }, 29 | "ruleExplore": {}, 30 | "ruleReview": {}, 31 | "ruleSearch": { 32 | "author": "class.vam mr10.1@text||class.c_small mb5 mr15 ell ttc fs16.0@text", 33 | "bookList": "class.ser-ret@li||class.j_bookList@li", 34 | "bookUrl": "a@href", 35 | "coverUrl": "img@_src", 36 | "kind": "class.vam mr10.0@text&&tag.span.2@text&&class.c_small mb5 mr15 ell ttc fs16.1@text", 37 | "lastChapter": "class.vam@a@text", 38 | "name": "h3@text||h2@text" 39 | }, 40 | "ruleToc": { 41 | "chapterList": "id.chapterList@li@a", 42 | "chapterName": "text", 43 | "chapterUrl": "href" 44 | }, 45 | "searchUrl": "https://www.yodu.org/sa/all-{{key}}-{{page}}.html", 46 | "weight": 0 47 | } 48 | ] 49 | -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/ラブノベ.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ラブノベ", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://lovenove.syosetu.com/", 8 | "bookUrlPattern": "https://ncode.syosetu.com/\\w*/", 9 | "concurrentRate": "", 10 | "customOrder": 4, 11 | "enabled": true, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"恋愛小説ランキング (総合ポイントの高い順)\",\"url\":\"https://lovenove.syosetu.com/search/search/?order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"新着一覧\",\"url\":\"https://lovenove.syosetu.com/search/search/?p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"完結済み連載小説\",\"url\":\"https://lovenove.syosetu.com/search/search/?type=er&order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"連載中\",\"url\":\"https://lovenove.syosetu.com/search/search/?type=r&order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"短編\",\"url\":\"https://lovenove.syosetu.com/search/search/?type=t&order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ジャンル:異世界\",\"url\":\"https://lovenove.syosetu.com/search/search/?genre=101&order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ジャンル:現実世界\",\"url\":\"https://lovenove.syosetu.com/search/search/?&genre=102&order=hyoka&p={{page}}\",\"style\":{\"layout_flexGrow\":1}}\r\n]", 14 | "header": "{\n\"User-Agent\": \"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36 Edg/98.0.4758.80\",\n\"Cookie\": \"over18=yes\"\n}", 15 | "lastUpdateTime": 1645019141494, 16 | "loginCheckJs": "", 17 | "loginUi": "", 18 | "loginUrl": "", 19 | "respondTime": 180000, 20 | "ruleBookInfo": { 21 | "author": "class.info_inbox.1@a@text", 22 | "init": "id.novel_contents", 23 | "intro": "id.title_s1@a@text&&class.info_inbox.3@text&&class.info_inbox.2@html", 24 | "kind": "class.info_inbox.0@text&&class.info_inbox.3@text", 25 | "name": "id.title_s1@a@text", 26 | "tocUrl": "id.novelindex_button.0@a@href", 27 | "wordCount": "class.infotop.1@class.h3_right.0@text" 28 | }, 29 | "ruleContent": { 30 | "content": "id.novel_p@html&&id.novel_honbun@html&&id.novel_a@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 31 | "imageStyle": "full" 32 | }, 33 | "ruleExplore": { 34 | "author": "", 35 | "bookList": "", 36 | "bookUrl": "", 37 | "intro": "", 38 | "kind": "", 39 | "lastChapter": "", 40 | "name": "", 41 | "wordCount": "" 42 | }, 43 | "ruleSearch": { 44 | "author": "class.clearfix.1@tag.a.0@text", 45 | "bookList": "class.search_result clearfix", 46 | "bookUrl": "text.小説情報@href", 47 | "intro": "class.search_result clearfix@tag.p@text", 48 | "kind": "class.clearfix.3@text##[ジャンル\\s]", 49 | "lastChapter": "class.search_result clearfix@html##[\\s\\S]*> (?=[0-9,]+ pt)|\\s(?=pt)||\\n[\\s\\S]*", 50 | "name": "class.novel_title@text", 51 | "wordCount": "class.clearfix.2@text##([0-9,]+文字)##$1###" 52 | }, 53 | "ruleToc": { 54 | "chapterList": "class.novel_sublist@ul@tag.li||class.novel_title", 55 | "chapterName": "tag.a@text||class.novel_title@text", 56 | "chapterUrl": "tag.a@href||", 57 | "nextTocUrl": "text.>@href", 58 | "updateTime": "class.kaikou@text" 59 | }, 60 | "searchUrl": "https://lovenove.syosetu.com/search/search/?word={{key}}&p={{page}}&order=hyoka", 61 | "weight": 0 62 | } 63 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/神凑轻小说(m).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "源仓库:antipodal\n23.11.2优化", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "神凑轻小说(m)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://m.shencou.com", 8 | "customOrder": -88951558, 9 | "enabled": true, 10 | "enabledCookieJar": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "日点击榜::http://m.shencou.com/top.php?type=dayvisit&page={{page}}\n周点击榜::http://m.shencou.com/top.php?type=weekvisit&page={{page}}\n月点击榜::http://m.shencou.com/top.php?type=monthvisit&page={{page}}\n总点击榜::http://m.shencou.com/top.php?type=allvisit&page={{page}}\n总收藏榜::http://m.shencou.com/top.php?type=goodnum&page={{page}}\n字数排行::http://m.shencou.com/top.php?type=size&page={{page}}\n日推荐榜::http://m.shencou.com/top.php?type=dayvote&page={{page}}\n周推荐榜::http://m.shencou.com/top.php?type=weekvote&page={{page}}\n月推荐榜::http://m.shencou.com/top.php?type=monthvote&page={{page}}\n电击文库::http://m.shencou.com/sort.php?sortid=1&page={{page}}\n富见文库::http://m.shencou.com/sort.php?sortid=2&page={{page}}\n角川文库::http://m.shencou.com/sort.php?sortid=3&page={{page}}\nMFJ文库::http://m.shencou.com/sort.php?sortid=4&page={{page}}\nFAMI通文::http://m.shencou.com/sort.php?sortid=5&page={{page}}\nGA文库::http://m.shencou.com/sort.php?sortid=6&page={{page}}\nHJ文库::http://m.shencou.com/sort.php?sortid=7&page={{page}}\n壹迅文库::http://m.shencou.com/sort.php?sortid=8&page={{page}}\n集英文库::http://m.shencou.com/sort.php?sortid=9&page={{page}}\n讲坛社库::http://m.shencou.com/sort.php?sortid=12&page={{page}}\n少女文库::http://m.shencou.com/sort.php?sortid=10&page={{page}}\nsf文库::http://m.shencou.com/sort.php?sortid=11&page={{page}}", 13 | "header": "{\n\t\"User-Agent\": \"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.1 Mobile Safari/537.36\",\n\t\"Referer\": \"https://m.shencou.com/mlooks.php\"\n}", 14 | "lastUpdateTime": 1699158521919, 15 | "respondTime": 180000, 16 | "ruleBookInfo": { 17 | "coverUrl": ".tu@img@src", 18 | "init": "", 19 | "kind": "{{@@.catalog1@class.p4@text}},{{@@.p5@text}},{{@@.p2.1@text##:##:}}", 20 | "lastChapter": ".info_chapters@.p2.0@li.0@text", 21 | "tocUrl": "", 22 | "wordCount": ".p6@text" 23 | }, 24 | "ruleContent": { 25 | "content": "#novelcontent@textNodes" 26 | }, 27 | "ruleExplore": { 28 | "author": ".right@.p4@||.p4@text", 29 | "bookList": ".fl_list@.tt||.content_link", 30 | "bookUrl": ".p2@a@href||a@href", 31 | "coverUrl": "a@href||.p2@a@href@js:\naid = result.match(/[0-9]+/); \nstr = \"http://www.shencou.com/files/article/image/\" +( String(aid).length > 3? String(aid)[0]: \"0\")+ \"/\" + aid + \"/\" + aid +\"s.jpg\"; \nstr\n", 32 | "intro": ".right@.p5@text", 33 | "kind": ".right@.p2@text||.p1@text", 34 | "name": ".right@.p1@text||.p2@text", 35 | "wordCount": ".right@.p3@text||.p3@text" 36 | }, 37 | "ruleSearch": { 38 | "author": "a.2@text", 39 | "bookList": "@js:\npath = 'p.search_list';\nu=java.get('url');\nc=java.getElement(path);\nif (!c.length && result.includes('no-js')) {\n cookie.removeCookie(source.getKey());\n java.longToast(\"首次搜索过验证\");\n s=java.startBrowserAwait(u,\"验证\").body();\n //java.webView(null,u,null);\n //s=java.ajax(u);\n java.setContent(s);\n java.getElement(path);\n}", 40 | "bookUrl": "a@href", 41 | "checkKeyWord": "", 42 | "kind": "a.1@text", 43 | "lastChapter": "", 44 | "name": "a@text##《|》", 45 | "wordCount": "" 46 | }, 47 | "ruleToc": { 48 | "chapterList": "div.info_chapters > ul:nth-child(5) > li", 49 | "chapterName": "textNodes||\na@text", 50 | "chapterUrl": "a@href", 51 | "isVolume": "textNodes", 52 | "nextTocUrl": "text.下一页@href" 53 | }, 54 | "searchUrl": "@js:\nvar headers = JSON.parse(source.header);\nvar body = \"s=\"+key+\"&type=articlename\";\nvar option = { \n\t\"charset\": \"gbk\",\n\t\"method\": \"POST\",\n\t\"body\": body,\n\t\"headers\": headers\n\t};\nurl=\"https://m.shencou.com/mlooks.php,\"+JSON.stringify(option);\njava.put('url',url)", 55 | "variableComment": "", 56 | "weight": 0 57 | } 58 | ] 59 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/SF轻小说[2].json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "SF轻小说[2]", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://book.sfacg.com/", 8 | "customOrder": -88951541, 9 | "enabled": true, 10 | "enabledCookieJar": false, 11 | "enabledExplore": true, 12 | "exploreUrl": "[{\"title\":\"全部\",\"url\":\"/List/default.aspx?tid=-1&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"魔幻\",\"url\":\"/List/default.aspx?tid=21&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"玄幻\",\"url\":\"/List/default.aspx?tid=22&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"古风\",\"url\":\"/List/default.aspx?tid=23&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"科幻\",\"url\":\"/List/default.aspx?tid=24&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"校园\",\"url\":\"/List/default.aspx?tid=25&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"都市\",\"url\":\"/List/default.aspx?tid=26&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"游戏\",\"url\":\"/List/default.aspx?tid=27&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"同人\",\"url\":\"/List/default.aspx?tid=28&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}},\n{\"title\":\"悬疑\",\"url\":\"/List/default.aspx?tid=29&<,PageIndex={{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.15}}]", 13 | "header": "{\"user-agent\":\"okhttp/3.10.0.1\"}", 14 | "lastUpdateTime": 1708252590235, 15 | "loginUrl": "https://book.sfacg.com/", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": ".author-name@span@text", 19 | "canReName": "1", 20 | "coverUrl": ".summary-pic@img@src", 21 | "intro": "
{{@@a.highlight@span.text@text##(^|[\\n])##🏷️}}\n{{'‎'}}\n{{@@p.introduce@text##(^|[\\s]+)##
}}", 22 | "kind": "h1.title@span.tag@text&&div.count-detail@div.text-row@span.text.0:1:3@text##类型:|.*字\\[|]|更新:", 23 | "lastChapter": "h3.chapter-title@a.link@text", 24 | "name": "h1.title@span.text@text", 25 | "tocUrl": "text.点击阅读@href", 26 | "wordCount": "div.count-detail@div.text-row@span.text.1@text##\\D" 27 | }, 28 | "ruleContent": { 29 | "content": "div.article-content[id='ChapterBody']@html" 30 | }, 31 | "ruleExplore": { 32 | "author": "a[id][target]@text", 33 | "bookList": "ul.Comic_Pic_List", 34 | "bookUrl": "strong@a@href", 35 | "coverUrl": "li.Conjunction@img@src", 36 | "intro": "li.1@ownText##.*\\d+字", 37 | "kind": "span.font_red@text&&li.1@a.2@text&&li.1@ownText##.*:\\s/\\s/\\s|\\s/\\s\\d+字.*", 38 | "name": "strong@a@text", 39 | "wordCount": "li.1@ownText##.*\\d\\s/\\s|字.*" 40 | }, 41 | "ruleReview": {}, 42 | "ruleSearch": { 43 | "author": "li.1@ownText##综合信息:\\s|/\\d.*", 44 | "bookList": "ul[style='width:100%']", 45 | "bookUrl": "a.orange_link2@href", 46 | "coverUrl": "li.Conjunction@img@src", 47 | "intro": "li.1@ownText##.*\\d\\s|\\s", 48 | "name": "a.orange_link2@text" 49 | }, 50 | "ruleToc": { 51 | "chapterList": "div.wrap.s-list@h3.catalog-title, li", 52 | "chapterName": "{{@@span.icn@text####🖼️}}{{@@h3.catalog-title@text||@@a@ownText}}", 53 | "chapterUrl": "a@href", 54 | "isVip": "span.icn_vip@text", 55 | "isVolume": "h3.catalog-title@text" 56 | }, 57 | "searchUrl": "http://s.sfacg.com/?Key={{key}}&S=1&SS=0", 58 | "weight": 0 59 | } 60 | ] -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/ハーメルン(R18).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ハーメルン(R18)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://syosetu.org/?r18", 8 | "bookUrlPattern": "https://syosetu.org/novel/[0-9]+/", 9 | "concurrentRate": "", 10 | "customOrder": 8, 11 | "enabled": true, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n {\r\n \"title\": \"R-18ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"日間\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_day\"\r\n },\r\n {\r\n \"title\": \"日間(加点)\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_add_day\"\r\n },\r\n {\r\n \"title\": \"新作日間(加点)\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_new\"\r\n },\r\n {\r\n \"title\": \"ルーキー日間(加点)\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_new_user\"\r\n },\r\n {\r\n \"title\": \"週間\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_week\"\r\n },\r\n {\r\n \"title\": \"月間\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_month\"\r\n },\r\n {\r\n \"title\": \"四半期\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_3month\"\r\n },\r\n {\r\n \"title\": \"年間\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_year\"\r\n },\r\n {\r\n \"title\": \"累計\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_total\"\r\n },\r\n {\r\n \"title\": \"完結累計\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_complete_total\"\r\n },\r\n {\r\n \"title\": \"相対評価\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_relative\"\r\n },\r\n {\r\n \"title\": \"完結相対評価\",\r\n \"url\": \"https://syosetu.org/?mode=rank_r18_complete_relative\"\r\n }\r\n]", 14 | "header": "{\r\n\"User-Agent\": \"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36 Edg/98.0.4758.80\",\r\n\"Cookie\": \"over18=off\"\r\n}", 15 | "lastUpdateTime": 1646204416519, 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "class.intro@text##▼詳細メニューへ|メニュー|作:", 19 | "init": "id.page", 20 | "intro": "class.table1@tag.a.0@text&&class.table1@tag.a.1@text&&class.table1@tag.tr.6@text&&class.table1@tag.tr.4@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 21 | "kind": "class.table1@tag.a.1@text&&class.table1@tag.tr.6@text", 22 | "name": "class.table1@tag.a.0@text", 23 | "tocUrl": "class.table1@tag.a.0@href", 24 | "wordCount": "class.table1@tag.tr.10@tag.td.1@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.maegaki@html&&id.honbun@html&&id.atogaki@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 28 | "imageStyle": "full" 29 | }, 30 | "ruleExplore": {}, 31 | "ruleSearch": { 32 | "author": "class.trigger@html##(作者:)()?([\\s\\S]+?)<(/a|/p)>##$3###", 33 | "bookList": "class.search_box", 34 | "bookUrl": "text.小説情報@href", 35 | "intro": "class.toggle_container@tag.p.0@text", 36 | "kind": "class.trigger@tag.p.1@text&&class.trigger@tag.p.2@text##タグ:|原作:|オリジナル:", 37 | "lastChapter": "class.trigger@tag.p.3@text&&class.toggle_container@tag.p.4@text##[: ]", 38 | "name": "class.trigger@tag.a.0@text", 39 | "wordCount": "class.toggle_container@text##[\\s\\S]+合計:([0-9,]+字)##$1###" 40 | }, 41 | "ruleToc": { 42 | "chapterList": "class.entry.0@tag.li||id.entry_box.1", 43 | "chapterName": "tag.a.0@html||id.entry_box@html##(|

)([\\s\\S]+?)<(/h2|br)>##$2###", 44 | "chapterUrl": "tag.a.0@href||", 45 | "updateTime": "class.date@text||" 46 | }, 47 | "searchUrl": "https://syosetu.org/search/?mode=search_r18&type=28&word={{key}}&page={{page}}", 48 | "weight": 0 49 | } 50 | ] -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/* 2 | !.vscode/settings.json 3 | !.vscode/tasks.json 4 | !.vscode/launch.json 5 | !.vscode/extensions.json 6 | !.vscode/*.code-snippets 7 | 8 | # Local History for Visual Studio Code 9 | .history/ 10 | 11 | # Built Visual Studio Code Extensions 12 | *.vsix 13 | 14 | # Byte-compiled / optimized / DLL files 15 | __pycache__/ 16 | *.py[cod] 17 | *$py.class 18 | 19 | # C extensions 20 | *.so 21 | 22 | # Distribution / packaging 23 | .Python 24 | build/ 25 | develop-eggs/ 26 | dist/ 27 | downloads/ 28 | eggs/ 29 | .eggs/ 30 | lib/ 31 | lib64/ 32 | parts/ 33 | sdist/ 34 | var/ 35 | wheels/ 36 | share/python-wheels/ 37 | *.egg-info/ 38 | .installed.cfg 39 | *.egg 40 | MANIFEST 41 | 42 | # PyInstaller 43 | # Usually these files are written by a python script from a template 44 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 45 | *.manifest 46 | *.spec 47 | 48 | # Installer logs 49 | pip-log.txt 50 | pip-delete-this-directory.txt 51 | 52 | # Unit test / coverage reports 53 | htmlcov/ 54 | .tox/ 55 | .nox/ 56 | .coverage 57 | .coverage.* 58 | .cache 59 | nosetests.xml 60 | coverage.xml 61 | *.cover 62 | *.py,cover 63 | .hypothesis/ 64 | .pytest_cache/ 65 | cover/ 66 | 67 | # Translations 68 | *.mo 69 | *.pot 70 | 71 | # Django stuff: 72 | *.log 73 | local_settings.py 74 | db.sqlite3 75 | db.sqlite3-journal 76 | 77 | # Flask stuff: 78 | instance/ 79 | .webassets-cache 80 | 81 | # Scrapy stuff: 82 | .scrapy 83 | 84 | # Sphinx documentation 85 | docs/_build/ 86 | 87 | # PyBuilder 88 | .pybuilder/ 89 | target/ 90 | 91 | # Jupyter Notebook 92 | .ipynb_checkpoints 93 | 94 | # IPython 95 | profile_default/ 96 | ipython_config.py 97 | 98 | # pyenv 99 | # For a library or package, you might want to ignore these files since the code is 100 | # intended to run in multiple environments; otherwise, check them in: 101 | # .python-version 102 | 103 | # pipenv 104 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 105 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 106 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 107 | # install all needed dependencies. 108 | #Pipfile.lock 109 | 110 | # poetry 111 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. 112 | # This is especially recommended for binary packages to ensure reproducibility, and is more 113 | # commonly ignored for libraries. 114 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control 115 | #poetry.lock 116 | 117 | # pdm 118 | # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control. 119 | #pdm.lock 120 | # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it 121 | # in version control. 122 | # https://pdm.fming.dev/latest/usage/project/#working-with-version-control 123 | .pdm.toml 124 | .pdm-python 125 | .pdm-build/ 126 | 127 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm 128 | __pypackages__/ 129 | 130 | # Celery stuff 131 | celerybeat-schedule 132 | celerybeat.pid 133 | 134 | # SageMath parsed files 135 | *.sage.py 136 | 137 | # Environments 138 | .env 139 | .venv 140 | env/ 141 | venv/ 142 | ENV/ 143 | env.bak/ 144 | venv.bak/ 145 | 146 | # Spyder project settings 147 | .spyderproject 148 | .spyproject 149 | 150 | # Rope project settings 151 | .ropeproject 152 | 153 | # mkdocs documentation 154 | /site 155 | 156 | # mypy 157 | .mypy_cache/ 158 | .dmypy.json 159 | dmypy.json 160 | 161 | # Pyre type checker 162 | .pyre/ 163 | 164 | # pytype static type analyzer 165 | .pytype/ 166 | 167 | # Cython debug symbols 168 | cython_debug/ 169 | 170 | # PyCharm 171 | # JetBrains specific template is maintained in a separate JetBrains.gitignore that can 172 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 173 | # and can be added to the global gitignore or merged into this file. For a more nuclear 174 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 175 | #.idea/ 176 | 177 | docs/websites.md -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/archive/铅笔小说.com.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "整理:GitHub@ZWolken", 4 | "bookSourceGroup": "日轻小说(2024-2-18)\nGitHub@ZWolken", 5 | "bookSourceName": "铅笔小说.com(废弃)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.23qb.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951549, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最近更新\",\"url\":\"https://www.23qb.net/book/0-lastupdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"最新入库\",\"url\":\"https://www.23qb.net/book/0-postdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总点击榜\",\"url\":\"https://www.23qb.net/book/0-allvisit-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总推荐榜\",\"url\":\"https://www.23qb.net/book/0-allvote-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总收藏榜\",\"url\":\"https://www.23qb.net/book/0-goodnum-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总字数榜\",\"url\":\"https://www.23qb.net/book/0-size-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"完本小说\",\"url\":\"https://www.23qb.net/book/0-quanben-0-0-0-0-2-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"全部小说\",\"url\":\"https://www.23qb.net/book/0-quanben-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"言情女生\",\"url\":\"/yanqing/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻奇幻\",\"url\":\"/xuanhuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"都市青春\",\"url\":\"/dushi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"武侠仙侠\",\"url\":\"/wuxia/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"唯美纯爱\",\"url\":\"/danmei/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"科幻灵异\",\"url\":\"/kehuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"轻小说の\",\"url\":\"/lightnovel/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"历史军事\",\"url\":\"/lishi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}}]", 14 | "lastUpdateTime": 1708245682770, 15 | "loginUrl": "https://www.23qb.com/login.php", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "id.count@tag.li.0@a@text", 19 | "coverUrl": "id.bookimg@img@src", 20 | "init": "", 21 | "intro": "id.bookintro@p@textNodes", 22 | "kind": "id.count@li!0:3@span@text", 23 | "lastChapter": "class.chaw@tag.li.0@a@text", 24 | "name": "class.d_title@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.TextContent@html", 28 | "nextContentUrl": "##nextpage=\"([^\"]+)\"##$1###", 29 | "replaceRegex": "##铅笔小说|\\s*(继续下一页)\\s*" 30 | }, 31 | "ruleExplore": { 32 | "bookList": "" 33 | }, 34 | "ruleReview": {}, 35 | "ruleSearch": { 36 | "author": ".book_other@span.0@text", 37 | "bookList": "id.sitebox@dl", 38 | "bookUrl": "a@href", 39 | "coverUrl": "img@_src", 40 | "intro": ".book_des@text", 41 | "kind": "tag.span.0@text&&tag.span.3@text", 42 | "lastChapter": "class.book_other.1@a@text", 43 | "name": "h3@a@text", 44 | "wordCount": "class.book_other.0@tag.span.2@text" 45 | }, 46 | "ruleToc": { 47 | "chapterList": "class.chaw_c@li@a", 48 | "chapterName": "text", 49 | "chapterUrl": "href" 50 | }, 51 | "searchUrl": "https://www.23qb.com/saerch.php,{\n \"charset\": \"gbk\",\n \"method\": \"POST\",\n \"body\": \"searchkey={{key}}&page={{page}}&searchtype=all\"\n}", 52 | "weight": 0 53 | } 54 | ] 55 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/archive/铅笔小说.net.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "整理:GitHub@ZWolken", 4 | "bookSourceGroup": "日轻小说(2024-2-18)\nGitHub@ZWolken", 5 | "bookSourceName": "铅笔小说.net(废弃)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.23qb.net", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951548, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最近更新\",\"url\":\"https://www.23qb.net/book/0-lastupdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"最新入库\",\"url\":\"https://www.23qb.net/book/0-postdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总点击榜\",\"url\":\"https://www.23qb.net/book/0-allvisit-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总推荐榜\",\"url\":\"https://www.23qb.net/book/0-allvote-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总收藏榜\",\"url\":\"https://www.23qb.net/book/0-goodnum-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总字数榜\",\"url\":\"https://www.23qb.net/book/0-size-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"完本小说\",\"url\":\"https://www.23qb.net/book/0-quanben-0-0-0-0-2-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"全部小说\",\"url\":\"https://www.23qb.net/book/0-quanben-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"言情女生\",\"url\":\"/yanqing/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻奇幻\",\"url\":\"/xuanhuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"都市青春\",\"url\":\"/dushi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"武侠仙侠\",\"url\":\"/wuxia/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"唯美纯爱\",\"url\":\"/danmei/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"科幻灵异\",\"url\":\"/kehuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"轻小说の\",\"url\":\"/lightnovel/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"历史军事\",\"url\":\"/lishi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}}]", 14 | "lastUpdateTime": 1708245661882, 15 | "loginUrl": "https://www.23qb.net/login.php", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "id.count@tag.li.0@a@text", 19 | "coverUrl": "id.bookimg@img@src", 20 | "init": "", 21 | "intro": "id.bookintro@p@textNodes", 22 | "kind": "id.count@li!0:3@span@text", 23 | "lastChapter": "class.chaw@tag.li.0@a@text", 24 | "name": "class.d_title@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.TextContent@html", 28 | "nextContentUrl": "##nextpage=\"([^\"]+)\"##$1###", 29 | "replaceRegex": "##铅笔小说|\\s*(继续下一页)\\s*" 30 | }, 31 | "ruleExplore": { 32 | "bookList": "" 33 | }, 34 | "ruleReview": {}, 35 | "ruleSearch": { 36 | "author": ".book_other@span.0@text", 37 | "bookList": "id.sitebox@dl", 38 | "bookUrl": "a@href", 39 | "coverUrl": "img@_src", 40 | "intro": ".book_des@text", 41 | "kind": "tag.span.0@text&&tag.span.3@text", 42 | "lastChapter": "class.book_other.1@a@text", 43 | "name": "h3@a@text", 44 | "wordCount": "class.book_other.0@tag.span.2@text" 45 | }, 46 | "ruleToc": { 47 | "chapterList": "class.chaw_c@li@a", 48 | "chapterName": "text", 49 | "chapterUrl": "href" 50 | }, 51 | "searchUrl": "https://www.23qb.com/saerch.php,{\n \"charset\": \"gbk\",\n \"method\": \"POST\",\n \"body\": \"searchkey={{key}}&page={{page}}&searchtype=all\"\n}", 52 | "weight": 0 53 | } 54 | ] 55 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/archive/铅笔小说x23qb.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "整理:GitHub@ZWolken,修改:g洛初", 4 | "bookSourceGroup": "日轻小说(2024-2-18)\nGitHub@ZWolken", 5 | "bookSourceName": "铅笔小说x23qb", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.x23qb.net", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951542, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最近更新\",\"url\":\"https://www.x23qb.net/book/0-lastupdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"最新入库\",\"url\":\"https://www.x23qb.net/book/0-postdate-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总点击榜\",\"url\":\"https://www.x23qb.net/book/0-allvisit-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总推荐榜\",\"url\":\"https://www.x23qb.net/book/0-allvote-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总收藏榜\",\"url\":\"https://www.x23qb.net/book/0-goodnum-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"总字数榜\",\"url\":\"https://www.x23qb.net/book/0-size-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"完本小说\",\"url\":\"https://www.x23qb.net/book/0-quanben-0-0-0-0-2-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"全部小说\",\"url\":\"https://www.x23qb.net/book/0-quanben-0-0-0-0-0-0-{{page}}.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"言情女生\",\"url\":\"/yanqing/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"玄幻奇幻\",\"url\":\"/xuanhuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"都市青春\",\"url\":\"/dushi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"武侠仙侠\",\"url\":\"/wuxia/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"唯美纯爱\",\"url\":\"/danmei/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"科幻灵异\",\"url\":\"/kehuan/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"轻小说の\",\"url\":\"/lightnovel/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"历史军事\",\"url\":\"/lishi/<,{{page}}>\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}}]", 14 | "lastUpdateTime": 1708245661882, 15 | "loginUrl": "https://www.x23qb.net/login.php", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "id.count@tag.li.0@a@text", 19 | "coverUrl": "id.bookimg@img@src", 20 | "init": "", 21 | "intro": "id.bookintro@p@textNodes", 22 | "kind": "id.count@li!0:3@span@text", 23 | "lastChapter": "class.chaw@tag.li.0@a@text", 24 | "name": "class.d_title@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.TextContent@html", 28 | "nextContentUrl": "##nextpage=\"([^\"]+)\"##$1###", 29 | "replaceRegex": "##铅笔小说|\\s*(继续下一页)\\s*" 30 | }, 31 | "ruleExplore": { 32 | "bookList": "" 33 | }, 34 | "ruleReview": {}, 35 | "ruleSearch": { 36 | "author": ".book_other@span.0@text", 37 | "bookList": "id.sitebox@dl", 38 | "bookUrl": "a@href", 39 | "coverUrl": "img@_src", 40 | "intro": ".book_des@text", 41 | "kind": "tag.span.0@text&&tag.span.3@text", 42 | "lastChapter": "class.book_other.1@a@text", 43 | "name": "h3@a@text", 44 | "wordCount": "class.book_other.0@tag.span.2@text" 45 | }, 46 | "ruleToc": { 47 | "chapterList": "class.chaw_c@li@a", 48 | "chapterName": "text", 49 | "chapterUrl": "href" 50 | }, 51 | "searchUrl": "https://www.x23qb.net/saerch.php,{\n \"charset\": \"gbk\",\n \"method\": \"POST\",\n \"body\": \"searchkey={{key}}&page={{page}}&searchtype=all\"\n}", 52 | "weight": 0 53 | } 54 | ] 55 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/ACGZC.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻,可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ACGZC", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://www.acgzc.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951536, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"古代幻想\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=12&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"近代幻想\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=19&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"未来幻想\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=26&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"体育游戏\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=33&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"同人作品\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=42&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"短篇作品\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=46&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"漫画世界\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&classid=50&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"异能时代\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=20&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"穿越重生\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=21&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"谍战风云\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=22&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"架空战争\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=23&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"军旅生活\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=24&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},{\"title\":\"现代武林\",\"url\":\"/index.php/portal/booklist/?list=true&classid=19&sclassid=25&per_page={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1644844431372, 15 | "loginUrl": "http://www.acgzc.com/index.php/portal/signin", 16 | "respondTime": 1418, 17 | "ruleBookInfo": { 18 | "author": ".a2@tag.span.0@textNodes", 19 | "coverUrl": "class.a1@tag.img.0@src", 20 | "intro": "h3@html", 21 | "kind": "tbody@tag.tr.2@tag.a@text&&tbody@tag.tr.2@tag.td.1@textNodes&&.nav-tabs@tag.li.-1@text##.*:|\\s.*", 22 | "lastChapter": ".z_zuixin@tag.a.0@text", 23 | "name": ".a2@tag.h1@ownText", 24 | "tocUrl": ".a3@tag.a.0@href", 25 | "wordCount": "tbody@tag.tr.2@tag.td.2@textNodes" 26 | }, 27 | "ruleContent": { 28 | "content": ".z_zy@html", 29 | "imageStyle": "0" 30 | }, 31 | "ruleExplore": {}, 32 | "ruleSearch": { 33 | "author": "tag.a.3@text", 34 | "bookList": ".rank-detail ul", 35 | "bookUrl": "tag.a.1@href", 36 | "coverUrl": "", 37 | "kind": "tag.a.0@text&&tag.li.4@text##\\[|\\]|\\s.*", 38 | "name": "tag.a.1@text", 39 | "wordCount": "tag.li.2@text" 40 | }, 41 | "ruleToc": { 42 | "chapterList": ".zpxg a", 43 | "chapterName": "text", 44 | "chapterUrl": "href" 45 | }, 46 | "searchUrl": "/index.php/portal/booklist/?list=true&keywords={{key}}&per_page={{page}}", 47 | "weight": 0 48 | } 49 | ] -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/小説家になろう.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "网络不畅考虑科学上网使用\n整理修改:酷安 Wolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "小説家になろう", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://syosetu.com", 8 | "bookUrlPattern": "", 9 | "customOrder": 2, 10 | "enabled": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "[\r\n{\"title\":\"異世界\",\"url\":\"http://yomou.syosetu.com/search.php?&word=異世界&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"転生\",\"url\":\"http://yomou.syosetu.com/search.php?&word=転生&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"冒険\",\"url\":\"http://yomou.syosetu.com/search.php?&word=冒険&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"主人公最強\",\"url\":\"http://yomou.syosetu.com/search.php?&word=主人公最強&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"男主人公\",\"url\":\"http://yomou.syosetu.com/search.php?&word=男主人公&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"女主人公\",\"url\":\"http://yomou.syosetu.com/search.php?&word=女主人公&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"残酷な描写\",\"url\":\"http://yomou.syosetu.com/search.php?&word=残酷な描写あり&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"現代社会\",\"url\":\"http://yomou.syosetu.com/search.php?&word=現代社会&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"ESN大賞\",\"url\":\"http://yomou.syosetu.com/search.php?&word=ESN大賞&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"R15\",\"url\":\"http://yomou.syosetu.com/search.php?&word=R15&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"日常\",\"url\":\"http://yomou.syosetu.com/search.php?&word=日常&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"恋愛\",\"url\":\"http://yomou.syosetu.com/search.php?&word=恋愛&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"魔法\",\"url\":\"http://yomou.syosetu.com/search.php?&word=魔法&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"学園\",\"url\":\"http://yomou.syosetu.com/search.php?&word=学園&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"青春\",\"url\":\"http://yomou.syosetu.com/search.php?&word=青春&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"精霊\",\"url\":\"http://yomou.syosetu.com/search.php?&word=精霊&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"奴隷\",\"url\":\"http://yomou.syosetu.com/search.php?&word=奴隷&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}},\r\n{\"title\":\"貴族\",\"url\":\"http://yomou.syosetu.com/search.php?&word=貴族&order_former=search&order=new¬nizi=1&p={{page}}\",\"style\":{\"layout_flexGrow\":1}}\r\n]", 13 | "lastUpdateTime": 1647273625042, 14 | "loginUrl": "", 15 | "respondTime": 5320, 16 | "ruleBookInfo": { 17 | "init": "", 18 | "intro": "id.novel_ex@html" 19 | }, 20 | "ruleContent": { 21 | "content": "id.novel_honbun@tag.p@text" 22 | }, 23 | "ruleExplore": { 24 | "bookList": "" 25 | }, 26 | "ruleSearch": { 27 | "author": "tag.a.1@text", 28 | "bookList": "class.searchkekka_box", 29 | "bookUrl": "tag.a.0@href", 30 | "coverUrl": "@js:'http://1t.click/GPx'", 31 | "intro": "class.ex@text##^\\s+", 32 | "kind": "tag.td.1@tag.a.0@text&&tag.td.1@tag.a.1@text&&tag.td.1@tag.a.2@text", 33 | "lastChapter": "tag.td.1@text##.+最終更新日:(\\d+/\\d+/\\d+ \\d+:\\d+).+##$1", 34 | "name": "class.novel_h@tag.a.0@text" 35 | }, 36 | "ruleToc": { 37 | "chapterList": "class.novel_sublist2@tag.dd", 38 | "chapterName": "tag.a@text", 39 | "chapterUrl": "tag.a@href" 40 | }, 41 | "searchUrl": "http://yomou.syosetu.com/search.php?&word={{key}}&order_former=search&order=weeklypoint¬nizi=1&p={{page}}", 42 | "weight": 0 43 | } 44 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/轻之国度.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "不完善,请注意使用方法\n整理修改:GitHub@ZWolken\n原作者:酷安 转义字符\n发现规则原作者:酷安 金01461", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "轻之国度", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.lightnovel.us", 8 | "bookUrlPattern": "https://www.lightnovel.us(/cn)?/(series|detail)/\\d+", 9 | "customOrder": -88951555, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"最新\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"106\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"整卷\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"107\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"原创\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"111\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}}]", 14 | "header": "", 15 | "lastUpdateTime": 1698166064217, 16 | "loginUrl": "https://www.lightnovel.us/", 17 | "respondTime": 180000, 18 | "ruleBookInfo": { 19 | "author": "", 20 | "coverUrl": "div.collection-cover@style##url\\((.*?)\\)##$1,{headers:{Referer:\"{{baseUrl}}\"}}###", 21 | "init": "", 22 | "intro": "class.intro fs-xs say@text", 23 | "kind": "", 24 | "name": "h3@text||h2@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.article-main-contents@html\n\nlet options = {\n\"headers\": {\"Referer\": \"https://www.lightnovel.us\"}\n};\nt=JSON.stringify(options)\nresult.replace(/(src=\"[^\"]+)/g,'$1,'+t)\n" 28 | }, 29 | "ruleExplore": { 30 | "author": "$.author", 31 | "bookList": "$..list[*]", 32 | "bookUrl": "\na=java.getString('$.aid')\nb=java.getString('$.sid')\n!(a==0)?'https://www.lightnovel.us/cn/detail/'+parseInt(a):'https://www.lightnovel.us/cn/series/'+parseInt(b)\n", 33 | "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https://www.lightnovel.us\"}}", 34 | "kind": "$.last_time", 35 | "lastChapter": "", 36 | "name": "$.title", 37 | "wordCount": "@js:('{{$.sid}}'!=0)?\"合集\":\"\"" 38 | }, 39 | "ruleReview": {}, 40 | "ruleSearch": { 41 | "author": "$.author", 42 | "bookList": "\nr=result.match(/window.__NUXT__=(.*\\)\\));/)[1]\neval(r)\n\n$..data\n\n'{\"data\":'+result+'}'\n\n$..collections[*]&&$..articles[*]", 43 | "bookUrl": "\na=java.getString('$.aid')\nb=java.getString('$.sid')\n!(a==0)?'https://www.lightnovel.us/cn/detail/'+parseInt(a):'https://www.lightnovel.us/cn/series/'+parseInt(b)\n", 44 | "checkKeyWord": "", 45 | "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https://www.lightnovel.us\"}}", 46 | "kind": "$.group_name&&parent_group_name&&$.last_time&&$.time", 47 | "name": "$.name||$.title", 48 | "wordCount": "@js:('{{$.sid}}'!=0)?\"合集\":\"\"" 49 | }, 50 | "ruleToc": { 51 | "chapterList": "\nr=result.match(/window.__NUXT__=(.*\\)\\));/)[1]\nv=eval(r)\n\n$..data\n\n'{\"data\":'+result+'}'\n\n$..articles[*]\n\nif(baseUrl.match(/series/)){\n\t result\n\t}else{\n\t\t list=[]\n\t\t list. push({'$.title':'01','$.aid':baseUrl})\n\t\t list\n\t\t}\n", 52 | "chapterName": "$.title", 53 | "chapterUrl": "$.aid##\\.0\n\n!(/http/).test(result)?'https://www.lightnovel.us/cn/detail/'+result:result\n", 54 | "updateTime": "$.time" 55 | }, 56 | "searchUrl": "https://www.lightnovel.us/search?keywords={{key}}", 57 | "weight": 0 58 | } 59 | ] 60 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/SF轻小说(m).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "SF轻小说(m)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://m.sfacg.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951540, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"日轻\",\"url\":\"/rank/jp.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":1}},\n{\"title\":\"首页推荐\",\"url\":\"/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"最近更新\",\"url\":\"/latelist\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"签约作品\",\"url\":\"/latelist/s\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"VIP作品\",\"url\":\"/vip/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"人气\",\"url\":\"/rank/original.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"畅销\",\"url\":\"/rank/sale.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"新书\",\"url\":\"/rank/new.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"收藏\",\"url\":\"/rank/bm.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"月票\",\"url\":\"/rank/ticket.html\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1647024897341, 15 | "loginUrl": "https://m.sfacg.com/login", 16 | "respondTime": 1243, 17 | "ruleBookInfo": { 18 | "init": "", 19 | "intro": "@js:result=java.get('intro');\n'
'+((result)?result:'想要获取更多书籍信息,请点击书籍的书名(・o・)');", 20 | "tocUrl": "text.目录列表@href" 21 | }, 22 | "ruleContent": { 23 | "content": "div[style=text-indent: 2em;]@html@js:\nresult", 24 | "imageStyle": "0.0" 25 | }, 26 | "ruleExplore": { 27 | "author": "tag.li.1@tag.div.-1@text##/.+||$.AuthorName", 28 | "bookList": "@js:\nif(result.match(/book_bk_qs1/)){\nimportClass(org.jsoup.Jsoup);\nresult=Jsoup.parse(result);\nresult=result.select(\".book_bk_qs1 a:has(img)\");\n}\nelse{\nresult='{\"N\":'+result+'}';\nJSON.parse(decodeURIComponent(result)).N;\n}", 29 | "bookUrl": "href||/i/{$.NovelID}/", 30 | "coverUrl": "img@src||https://rs.sfacg.com/web/novel/images/NovelCover/Big/{$.NovelCover}", 31 | "intro": "tag.li.0@text", 32 | "kind": "tag.li.1@tag.div.-1@text##.+/||$.TypeName", 33 | "name": "id.listtitle@textNodes||text||$.NovelName" 34 | }, 35 | "ruleSearch": { 36 | "author": "$.AuthorName", 37 | "bookList": "$.Novels[0,1]", 38 | "bookUrl": "/i/{$.NovelID}/", 39 | "coverUrl": "https://rs.sfacg.com/web/novel/images/NovelCover/Big/{$.NovelCover}", 40 | "intro": "@js:java.get('intro')", 41 | "kind": "http://book.sfacg.com/Novel/{$.NovelID}/@js:\nimportClass(org.jsoup.Jsoup);\nresult=Jsoup.parse(java.ajax(result));\nvar intro=String(result.select(\".introduce\").text()).trim();\nvar last=result.select(\".chapter-title a\").text();\nvar tags=result.select(\".text-row:eq(0)\").text()\njava.put('intro',intro);\njava.put('last',last);\ntags=tags.match(/类型:(.*?)\\s字数:(.*?)字\\[(.*?)\\]\\s.*/);\ntags.shift();\ntags.join(',').replace(/已|中/,'');", 42 | "lastChapter": "@js:java.get('last')", 43 | "name": "$.NovelName" 44 | }, 45 | "ruleToc": { 46 | "chapterList": "+@js:\nvar list=[];\nvar url=result.match(/\\/c\\/\\d+\\//g);\nvar n1=new RegExp(/mulu\">(.+)<\\/d/g);\nvar n3=new RegExp(/href=\"\\/c\\/\\d+\\/\">
  • (.+?)<\\/l/g);\nvar n;var n_pre='';var n_sub;\nvar n_temp;\nvar t=-1;\nvar p=[];var p_tmp;\nvar i=-1;var i_tmp;\n//获取每卷的标题\nwhile((n_temp=n1.exec(result))!=null){\ni=i+1;\np.push({q:n_temp[1],w:n1.lastIndex});\n}\ni_tmp=i;\n\nwhile((n_temp=n3.exec(result))!=null){\n//获取每话的标题\nn_sub=n_temp[1];\n//判断VIP\nif((n_sub.match(/span/))!=null){\nn_sub=n_sub.match(/span>(.+)<\\/span>n3.lastIndex){\ni=i-1;\np_tmp=p[i].w;\n}\nn_pre=p[i].q;\nn_pre=n_pre+' | ';\n}\n//保存数据到数组\nn=n_pre+n_sub;\nt=t+1;\nlist.push({k:n,v:url[t]});\n}\nlist;", 47 | "chapterName": "k", 48 | "chapterUrl": "v" 49 | }, 50 | "searchUrl": "/API/HTML5.ashx?op=search&keyword={{key}}", 51 | "weight": 0 52 | } 53 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/轻小说百科.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "//本来是在找某部作品信息的,意外发现网站也提供在线观看,赶紧加工加点做源。\n//致轻友们\n//2024.1.13", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "轻小说百科", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://lnovel.tw", 8 | "customOrder": -88951552, 9 | "enabled": true, 10 | "enabledCookieJar": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "[\n{\"title\":\"🍁全部文库🍁\",\"url\":\"/books?page={{page}}\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"分类\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"校园\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=3\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"爱情\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=1\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"冒险\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=6\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"搞笑\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=10\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"奇幻\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"魔法\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=2\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"异界\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=17\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"侦探\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=8\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"穿越\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=18\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"科幻\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=4\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"神鬼\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=5\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"后宫\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=12\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"其他\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=9\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"格斗\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=11\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"恐怖\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=7\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"战争\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=16\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"百合\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=20\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"异能\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=14\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"治愈\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=21\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"机战\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=19\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"励志\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=23\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"都市\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=13\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"历史\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=22\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"纯爱\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=24\",\"style\":{\"layout_flexBasisPercent\":0.2,\"layout_flexGrow\":1}},\n{\"title\":\"🎈状态分类🎈\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"连载中\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15&q%5Bstatus_eq%5D=ongoing\",\"style\":{\"layout_flexBasisPercent\":0.3,\"layout_flexGrow\":1}},\n{\"title\":\"已完结\",\"url\":\"/books?page={{page}}&q%5Bgenres_id_eq%5D=15&q%5Bstatus_eq%5D=completed\",\"style\":{\"layout_flexBasisPercent\":0.3,\"layout_flexGrow\":1}},\n]", 13 | "lastUpdateTime": 1705078644555, 14 | "respondTime": 180000, 15 | "ruleBookInfo": { 16 | "author": ".text-body-tertiary.0@text", 17 | "coverUrl": "https://lnovel.tw{{@@class.w-100 h-100.0@src}}", 18 | "intro": " \n🎁:{{@@.card-body@p@text}}", 19 | "kind": "{{@@dd.1@a@text}},{{@@dd.2@a@text}}", 20 | "name": "h1@text" 21 | }, 22 | "ruleContent": { 23 | "content": "class.card-body.0@html##{{title}}" 24 | }, 25 | "ruleExplore": {}, 26 | "ruleReview": {}, 27 | "ruleSearch": { 28 | "bookList": "class.col-6 col-md-4 col-md-3 col-lg-6 col-xl-4", 29 | "bookUrl": "href", 30 | "coverUrl": "img@src", 31 | "name": "text" 32 | }, 33 | "ruleToc": { 34 | "chapterList": ".accordion-item@a", 35 | "chapterName": "text", 36 | "chapterUrl": "href" 37 | }, 38 | "searchUrl": "/books?page={{page}}&q%5Bname_cont%5D={{key}}", 39 | "weight": 0 40 | } 41 | ] 42 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/SF轻小说[1].json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "购买章节需登录\n原作者:一程\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "SF轻小说[1]", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://book.sfacg.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951542, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{\"title\":\"连载\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"魔幻\",\"url\":\"/List/default.aspx?tid=21&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"玄幻\",\"url\":\"/List/default.aspx?tid=22&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"古风\",\"url\":\"/List/default.aspx?tid=23&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"科幻\",\"url\":\"/List/default.aspx?tid=24&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"校园\",\"url\":\"/List/default.aspx?tid=25&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"都市\",\"url\":\"/List/default.aspx?tid=26&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"游戏\",\"url\":\"/List/default.aspx?tid=27&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"同人\",\"url\":\"/List/default.aspx?tid=28&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"悬疑\",\"url\":\"/List/default.aspx?tid=29&if=0&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"完结\",\"url\":\"\",\"style\":{\"layout_flexBasisPercent\":1,\"layout_flexGrow\":1}},\n{\"title\":\"魔幻\",\"url\":\"/List/default.aspx?tid=21&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"玄幻\",\"url\":\"/List/default.aspx?tid=22&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"古风\",\"url\":\"/List/default.aspx?tid=23&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"科幻\",\"url\":\"/List/default.aspx?tid=24&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"校园\",\"url\":\"/List/default.aspx?tid=25&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"都市\",\"url\":\"/List/default.aspx?tid=26&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"游戏\",\"url\":\"/List/default.aspx?tid=27&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"同人\",\"url\":\"/List/default.aspx?tid=28&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}},\n{\"title\":\"悬疑\",\"url\":\"/List/default.aspx?tid=29&if=1&PageIndex={{page}}\",\"style\":{\"layout_flexBasisPercent\":0.25,\"layout_flexGrow\":1}}]", 14 | "header": "{\n \"User-Agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36\"\n}", 15 | "lastUpdateTime": 1708252582422, 16 | "loginCheckJs": "", 17 | "loginUi": "", 18 | "loginUrl": "https://passport.sfacg.com/Login.aspx", 19 | "respondTime": 180000, 20 | "ruleBookInfo": { 21 | "author": ".author-name@text", 22 | "coverUrl": ".summary-pic img@src", 23 | "init": "", 24 | "intro": "标签:{{@.tag-list@text}}{{@.introduce@html}}##(^|[。!?]+[”」)】]?)##$1
    @js:result.replace(//g,\"\")", 25 | "kind": ".title span!0@text&&.count-detail span.0:1:3@text##.*:|.*\\[|\\]|\\s.*", 26 | "lastChapter": ".chapter-title a@text", 27 | "name": ".title span.0@text", 28 | "tocUrl": "#BasicOperation a.0@href", 29 | "wordCount": ".count-detail span.1@text##.*:|字.*" 30 | }, 31 | "ruleContent": { 32 | "content": "#ChapterBody@html", 33 | "imageStyle": "FULL" 34 | }, 35 | "ruleExplore": { 36 | "author": "a.2@text", 37 | "bookList": ".Comic_Pic_List", 38 | "bookUrl": "a.1@href", 39 | "coverUrl": "img@src", 40 | "intro": "li.1@text##^.+/\\s*\\d+字\\s*", 41 | "kind": "a.3@text&&span@text&&li.1@text##.+\\D(\\d+\\/\\d+\\/\\d+)\\D*(\\d+字)\\s*(.+)##$1,$2", 42 | "lastChapter": "", 43 | "name": "a.1@text" 44 | }, 45 | "ruleReview": {}, 46 | "ruleSearch": { 47 | "author": "li.1@text##.+综合信息:\\s*([^\\/]+).*##$1", 48 | "bookList": "tbody ul", 49 | "bookUrl": "a@href", 50 | "checkKeyWord": "", 51 | "coverUrl": "img@src", 52 | "intro": "li.1@text##.+\\d+:\\d+\\s*(.+).*##$1", 53 | "kind": "li.1@text##.+\\/(\\d+\\/\\d+\\/\\d+).*##$1", 54 | "lastChapter": "", 55 | "name": "a@text" 56 | }, 57 | "ruleToc": { 58 | "chapterList": ".catalog-list li a", 59 | "chapterName": "textNodes##[\\((【].*?[求更谢乐发推打加].*?[】)\\)]", 60 | "chapterUrl": "href", 61 | "isVip": ".icn_vip@text" 62 | }, 63 | "searchUrl": "http://s.sfacg.com/?Key={{key}}&S=1&SS=0", 64 | "weight": 0 65 | } 66 | ] -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/ハーメルン.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ハーメルン", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://syosetu.org/", 8 | "bookUrlPattern": "https://syosetu.org/novel/[0-9]+/", 9 | "concurrentRate": "", 10 | "customOrder": 7, 11 | "enabled": true, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n {\r\n \"title\": \"新着一覧\",\r\n \"url\": \"https://syosetu.org/search/?mode=search&page={{page}}\"\r\n },\r\n {\r\n \"title\": \"ピックアップ実験1\",\r\n \"url\": \"https://syosetu.org/?mode=rank_exp\"\r\n },\r\n {\r\n \"title\": \"ピックアップ実験2\",\r\n \"url\": \"https://syosetu.org/?mode=rank_exp2\"\r\n },\r\n {\r\n \"title\": \"ピックアップ実験3\",\r\n \"url\": \"https://syosetu.org/?mode=rank_exp3\"\r\n },\r\n {\r\n \"title\": \"日間ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_day\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_day\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_day\"\r\n },\r\n {\r\n \"title\": \"週間ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_week\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_week\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_week\"\r\n },\r\n {\r\n \"title\": \"月間ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_month\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_month\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_month\"\r\n },\r\n {\r\n \"title\": \"四半期ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_3month\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_3month\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_3month\"\r\n },\r\n {\r\n \"title\": \"年間ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_year\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_year\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_year\"\r\n },\r\n {\r\n \"title\": \"累計ランキング\",\r\n \"url\": \"\",\r\n \"style\": {\r\n \"layout_flexGrow\": 0,\r\n \"layout_flexBasisPercent\": 1\r\n }\r\n },\r\n {\r\n \"title\": \"総合\",\r\n \"url\": \"https://syosetu.org/?mode=rank_total\"\r\n },\r\n {\r\n \"title\": \"二次創作\",\r\n \"url\": \"https://syosetu.org/?mode=rank_2_total\"\r\n },\r\n {\r\n \"title\": \"オリジナル\",\r\n \"url\": \"https://syosetu.org/?mode=rank_ori_total\"\r\n }\r\n]", 14 | "header": "{\r\n\"User-Agent\": \"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36 Edg/98.0.4758.80\",\r\n\"Cookie\": \"over18=off\"\r\n}", 15 | "lastUpdateTime": 1646204412260, 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "class.intro@text##▼詳細メニューへ|メニュー|作:", 19 | "init": "id.page", 20 | "intro": "class.table1@tag.a.0@text&&class.table1@tag.a.1@text&&class.table1@tag.tr.6@text&&class.table1@tag.tr.4@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 21 | "kind": "class.table1@tag.a.1@text&&class.table1@tag.tr.6@text", 22 | "name": "class.table1@tag.a.0@text", 23 | "tocUrl": "class.table1@tag.a.0@href", 24 | "wordCount": "class.table1@tag.tr.10@tag.td.1@text" 25 | }, 26 | "ruleContent": { 27 | "content": "id.maegaki@html&&id.honbun@html&&id.atogaki@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 28 | "imageStyle": "full" 29 | }, 30 | "ruleExplore": {}, 31 | "ruleSearch": { 32 | "author": "class.trigger@html##(作者:)(
    )?([\\s\\S]+?)<(/a|/p)>##$3###", 33 | "bookList": "class.search_box", 34 | "bookUrl": "text.小説情報@href", 35 | "intro": "class.toggle_container@tag.p.0@text", 36 | "kind": "class.trigger@tag.p.1@text&&class.trigger@tag.p.2@text##タグ:|原作:|オリジナル:", 37 | "lastChapter": "class.trigger@tag.p.3@text&&class.toggle_container@tag.p.4@text##[: ]", 38 | "name": "class.trigger@tag.a.0@text", 39 | "wordCount": "class.toggle_container@text##[\\s\\S]+合計:([0-9,]+字)##$1###" 40 | }, 41 | "ruleToc": { 42 | "chapterList": "class.entry.0@tag.li||id.entry_box.1", 43 | "chapterName": "tag.a.0@html||id.entry_box@html##(|

    )([\\s\\S]+?)<(/h2|br)>##$2###", 44 | "chapterUrl": "tag.a.0@href||", 45 | "updateTime": "class.date@text||" 46 | }, 47 | "searchUrl": "https://syosetu.org/search/?mode=search&type=28&word={{key}}&page={{page}}", 48 | "weight": 0 49 | } 50 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/神凑轻小说(www).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "神凑轻小说(www)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://www.shencou.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951557, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{'title':'文库分类','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/modules/article/articlelist.php?class=1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/modules/article/articlelist.php?class=2&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/modules/article/articlelist.php?class=3&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MFJ文库','url':'/modules/article/articlelist.php?class=4&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/modules/article/articlelist.php?class=5&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/modules/article/articlelist.php?class=6&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/modules/article/articlelist.php?class=7&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/modules/article/articlelist.php?class=8&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/modules/article/articlelist.php?class=9&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/modules/article/articlelist.php?class=10&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'SF文库','url':'/modules/article/articlelist.php?class=11&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/modules/article/articlelist.php?class=12&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'榜单列表','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'总排行榜','url':'/modules/article/toplist.php?sort=allvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总推荐榜','url':'/modules/article/toplist.php?sort=allvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月排行榜','url':'/modules/article/toplist.php?sort=monthvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月推荐榜','url':'/modules/article/toplist.php?sort=monthvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'周排行榜','url':'/modules/article/toplist.php?sort=weekvisit&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'周推荐榜','url':'/modules/article/toplist.php?sort=weekvote&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最新入库','url':'/modules/article/toplist.php?sort=postdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最近更新','url':'/modules/article/toplist.php?sort=lastupdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'原创更新','url':'/modules/article/toplist.php?sort=authorupdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'转载更新','url':'/modules/article/toplist.php?sort=masterupdate&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总收藏榜','url':'/modules/article/toplist.php?sort=goodnum&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数排行','url':'/modules/article/toplist.php?sort=size&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", 14 | "header": "{\n\t\"User-Agent\":\"Mozilla/5.0 (Linux; Android 11; V1981A Build/RP1A.200720.012;) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/100.0.4896.79 Mobile Safari/537.36\",\n\"Referer\":\"http://www.shencou.com/\"\n}", 15 | "lastUpdateTime": 1708243718924, 16 | "loginUrl": "http://www.shencou.com/login.php", 17 | "respondTime": 2839, 18 | "ruleBookInfo": { 19 | "coverUrl": "@css:#content table tr:nth-of-type(3) table tr td:nth-of-type(2) img@src", 20 | "init": "", 21 | "intro": "@css:#content table tr:nth-of-type(3) table tr td:nth-of-type(2)@html##.+内容简介:\\s*(.+)本书公告:.+##$1", 22 | "tocUrl": "@css:.btnlink:contains(开始阅读)@href" 23 | }, 24 | "ruleContent": { 25 | "content": "body@textNodes" 26 | }, 27 | "ruleExplore": { 28 | "author": "@css:p:contains(作者:)@text##.+作者:(\\S+).+##$1", 29 | "bookList": "@css:#content td > div", 30 | "bookUrl": "tag.a.1@href", 31 | "coverUrl": "tag.a.1@href\nvar id = result.match(/(\\d+)\\.html/)[1];\nvar iid = parseInt(id/1000);\n'/files/article/image/'+iid+'/'+id+'/'+id+'s.jpg';\n", 32 | "intro": "tag.p.3@text", 33 | "kind": "tag.p.0@text&&tag.p.1@text\nresult.replace(/.+来自\\s*|(更新时间|全文长度)/g, '').replace(/-\\s+-\\s+/g, ',').replace(/:/g, '')\n", 34 | "lastChapter": "class.news@tag.a@text", 35 | "name": "tag.a.1@text" 36 | }, 37 | "ruleReview": {}, 38 | "ruleSearch": { 39 | "author": "tag.td.2@text", 40 | "bookList": "id.content@tag.tr!0", 41 | "bookUrl": "tag.td.0@tag.a@href", 42 | "coverUrl": "tag.td.0@tag.a@href\nvar id = result.match(/(\\d+)\\.html/)[1];\nvar iid = parseInt(id/1000);\n'/files/article/image/'+iid+'/'+id+'/'+id+'s.jpg';\n", 43 | "kind": "tag.td.-1@text&&tag.td.-2@text&&tag.td.-3@text", 44 | "lastChapter": "tag.td.1@tag.a@text", 45 | "name": "tag.td.0@tag.a@text" 46 | }, 47 | "ruleToc": { 48 | "chapterList": "class.zjlist4@tag.a", 49 | "chapterName": "text", 50 | "chapterUrl": "href" 51 | }, 52 | "searchUrl": "/modules/article/search.php?searchtype=articlename+selected&searchkey={{key}}&page={{page}},{\n \"charset\": \"gbk\"\n}", 53 | "weight": 0 54 | } 55 | ] 56 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/ESJ轻小说.cc(科学).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "科学上网使用\n整理修改:GitHub@ZWolken\n原作者:酷安户山香澄Official", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ESJ轻小说.cc(科学)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://www.esjzone.cc", 8 | "bookUrlPattern": "https?://www.esjzone.cc/detail/.*", 9 | "customOrder": -88951560, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{'title':'首页推荐','url':'/&&','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'全部轻小说','url':'/list-01/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'日轻小说','url':'/list-11/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'原创小说','url':'/list-21/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'韩轻小说','url':'/list-31/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R15','url':'/tags/R15/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'残酷描写','url':'/tags/殘酷描寫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'喜剧','url':'/tags/喜劇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'异世界','url':'/tags/异世界/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'勇者','url':'/tags/勇者/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'龙','url':'/tags/龙/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'技能','url':'/tags/技能/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'冒险','url':'/tags/冒险/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'转生','url':'/tags/转生/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'黑暗','url':'/tags/黑暗/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'萝莉','url':'/tags/萝莉/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'后宫','url':'/tags/后宫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔法','url':'/tags/魔法/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'少女','url':'/tags/少女/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'病娇','url':'/tags/病娇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔王','url':'/tags/魔王/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战争','url':'/tags/战争/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'死亡','url':'/tags/死亡/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'穿越','url':'/tags/穿越/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'奴隶','url':'/tags/奴隶/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角','url':'/tags/主角/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R18','url':'/tags/R18/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恋爱','url':'/tags/恋爱/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恶意千金','url':'/tags/惡役千金/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角(女)','url':'/tags/主角(女)/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'青梅竹马','url':'/tags/青梅竹馬/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'NTR','url':'/tags/NTR/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战斗','url':'/tags/戰鬥/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"公告\",\"url\":\"/tags/公告/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"催坑区\",\"url\":\"/tags/推坑區/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"吧台(聊天)\",\"url\":\"/tags/吧台(聊天)/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1647304184559, 15 | "loginUrl": "https://www.esjzone.cc/login.html", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "@css:ul[class=list-unstyled mb-2 book-detail]> li:nth-child(1) > a@text", 19 | "coverUrl": "@css:div.col-md-3 > div > a > img@src", 20 | "init": "", 21 | "intro": "@css:div.description@text", 22 | "kind": "@css:section.widget.widget-tags.hidden-lg-up.mt-30 > a@text", 23 | "lastChapter": "@css:div[id = chapterList] >a:last-child@text", 24 | "name": "@css:div.col-md-9.book-detail > h2@text", 25 | "tocUrl": "" 26 | }, 27 | "ruleContent": { 28 | "content": "@css:div.forum-content.mt-3,div[class =d_post_content j_d_post_content]@all" 29 | }, 30 | "ruleExplore": { 31 | "bookList": "" 32 | }, 33 | "ruleSearch": { 34 | "author": "", 35 | "bookList": "@css: div.col-xl-9.col-lg-8.p-r-30 > div.row > div ", 36 | "bookUrl": "@css:div> div > div > h5 > a@href", 37 | "coverUrl": "@css:div > div > a > div > div > img@data-src", 38 | "kind": "{{@css:.column:has(.icon-star-s)@text}},关注:{{@css:.column:has(.icon-eye)@text}},喜欢:{{@css:.column:has(.icon-heart)@text}},羽毛:{{@css:.column:has(.icon-feather)@text}},评论:{{@css:.column:has(.icon-message-square)@text}}##(\\([^()]+)##星$1人", 39 | "lastChapter": "@css:div>div>div[class=card-ep mt-2]@text", 40 | "name": "@css:div@title" 41 | }, 42 | "ruleToc": { 43 | "chapterList": "r=org.jsoup.Jsoup.parse(result).select(\"#chapterList>*\");r.select(\"p:has(br)\").remove();\nm=r.select(\"p.non\").eachText();\nl=String(r).split(/

    [\\S\\s]+?<\\/p>/);\nfor(i=1,j=0;i(\\d+(?:-[^<>]+| *))(?=<)/g,\">\"+m[j]+\" $1\");l.join(\"\")a", 44 | "chapterName": "text##{{book.name}}[::\\d\\s]+|\\d+-", 45 | "chapterUrl": "a@href" 46 | }, 47 | "searchUrl": "https://www.esjzone.cc/tags/{{key}}/", 48 | "weight": 0 49 | } 50 | ] 51 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/次元姬小说.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻,可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "次元姬小说", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.ciyuanji.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951537, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"最近更新\",\"url\":\"https://www.ciyuanji.com/Classification?rankType=3&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"全部小说\",\"url\":\"https://www.ciyuanji.com/Classification?rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"最新上架\",\"url\":\"https://www.ciyuanji.com/Classification?rankType=4&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"畅销小说\",\"url\":\"https://www.ciyuanji.com/Classification?rankType=2&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总畅销榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=3&countType=4&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总月票榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=1&countType=2&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总推荐榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=2&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总人气榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=4&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总打赏榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=5&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总刀片榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=6&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总收藏榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=7&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总更新榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=8&countType=3&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"总战力榜\",\"url\":\"https://www.ciyuanji.com/ranking?rankCode=9&countType=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"玄幻奇幻\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=5&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"青春日常\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=6&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"科幻未来\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=4&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"仙侠武侠\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=12&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"游戏竞技\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=1&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"诡秘悬疑\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=2&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"历史军事\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=3&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"动漫同人\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=10&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"搞笑吐槽\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=13&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"变身入替\",\"url\":\"https://www.ciyuanji.com/Classification?firstClassify=14&rankType=1&acvtiveWord=1&pageNo={{page}}&pageSize=10\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1645379488714, 15 | "loginUrl": "https://www.ciyuanji.com/login?sourceFullPath=%2F", 16 | "respondTime": 2713, 17 | "ruleBookInfo": { 18 | "coverUrl": "tag.img.0@data-src", 19 | "intro": "class.content@textNodes", 20 | "kind": "class.icons-item!0@span@text", 21 | "lastChapter": "class.chapter.0@text", 22 | "tocUrl": "class.tabs@tag.a.1@href" 23 | }, 24 | "ruleContent": { 25 | "content": "class.content-chapter@p@textNodes" 26 | }, 27 | "ruleExplore": {}, 28 | "ruleSearch": { 29 | "author": "class.author@text", 30 | "bookList": "class.item||class.book@a||class.left@section", 31 | "bookUrl": "a@href", 32 | "coverUrl": "img@data-src", 33 | "intro": "tag.p.1@title", 34 | "kind": "class.num@text##·##,", 35 | "name": "h4@text" 36 | }, 37 | "ruleToc": { 38 | "chapterList": "class.list@li@class.tag@a", 39 | "chapterName": "text", 40 | "chapterUrl": "href" 41 | }, 42 | "searchUrl": "https://www.ciyuanji.com/searchList?keyword={{key}}", 43 | "weight": 0 44 | } 45 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/ESJ轻小说.me.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "请登录\n整理修改:GitHub@ZWolken\n原作者:酷安户山香澄Official", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ESJ轻小说.me", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "http://www.esjzone.me", 8 | "bookUrlPattern": "https?://www.esjzone.me/detail/.*", 9 | "customOrder": -88951559, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{'title':'首页推荐','url':'/&&','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'轻小说','url':'/list-01/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'日轻小说','url':'/list-11/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\n{'title':'最多收藏轻小说','url':'/list-17/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'原创小说','url':'/list-21/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'韩轻小说','url':'/list-31/{{page}}.html','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R15','url':'/tags/R15/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'残酷描写','url':'/tags/殘酷描寫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'喜剧','url':'/tags/喜劇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'异世界','url':'/tags/异世界/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'勇者','url':'/tags/勇者/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'龙','url':'/tags/龙/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'技能','url':'/tags/技能/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'冒险','url':'/tags/冒险/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'转生','url':'/tags/转生/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'黑暗','url':'/tags/黑暗/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'萝莉','url':'/tags/萝莉/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'后宫','url':'/tags/后宫/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔法','url':'/tags/魔法/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'少女','url':'/tags/少女/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'病娇','url':'/tags/病娇/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'魔王','url':'/tags/魔王/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战争','url':'/tags/战争/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'死亡','url':'/tags/死亡/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'穿越','url':'/tags/穿越/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'奴隶','url':'/tags/奴隶/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角','url':'/tags/主角/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'R18','url':'/tags/R18/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恋爱','url':'/tags/恋爱/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'恶意千金','url':'/tags/惡役千金/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'主角(女)','url':'/tags/主角(女)/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'青梅竹马','url':'/tags/青梅竹馬/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'NTR','url':'/tags/NTR/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{'title':'战斗','url':'/tags/戰鬥/','style':{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"公告\",\"url\":\"/tags/公告/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"催坑区\",\"url\":\"/tags/推坑區/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}},\r\n{\"title\":\"吧台(聊天)\",\"url\":\"/tags/吧台(聊天)/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.25}}\r\n]", 14 | "lastUpdateTime": 1703095984771, 15 | "loginUrl": "https://www.esjzone.me/login.html", 16 | "respondTime": 2438, 17 | "ruleBookInfo": { 18 | "author": "@css:ul[class=list-unstyled mb-2 book-detail]> li:nth-child(1) > a@text", 19 | "coverUrl": "@css:div.col-md-3 > div > a > img@src", 20 | "intro": "@css:div.description@text", 21 | "kind": "@css:section.widget.widget-tags.hidden-lg-up.mt-30 > a@text", 22 | "lastChapter": "@css:div[id = chapterList] >a:last-child@text", 23 | "name": "@css:div.col-md-9.book-detail > h2@text", 24 | "tocUrl": "" 25 | }, 26 | "ruleContent": { 27 | "content": "@css:div.forum-content.mt-3,div[class =d_post_content j_d_post_content]@all" 28 | }, 29 | "ruleExplore": { 30 | "coverUrl": "@css:div > div > a > div > div > img@data-src" 31 | }, 32 | "ruleReview": {}, 33 | "ruleSearch": { 34 | "author": "", 35 | "bookList": "@css: div.col-xl-9.col-lg-8.p-r-30 > div.row > div ", 36 | "bookUrl": "@css:div> div > div > h5 > a@href", 37 | "coverUrl": "@css:div > div > a > div > div > img@data-src", 38 | "kind": "{{@css:.column:has(.icon-star-s)@text}},关注:{{@css:.column:has(.icon-eye)@text}},喜欢:{{@css:.column:has(.icon-heart)@text}},羽毛:{{@css:.column:has(.icon-feather)@text}},评论:{{@css:.column:has(.icon-message-square)@text}}##(\\([^()]+)##星$1人", 39 | "lastChapter": "@css:div>div>div[class=card-ep mt-2]@text", 40 | "name": "@css:div@title" 41 | }, 42 | "ruleToc": { 43 | "chapterList": "r=org.jsoup.Jsoup.parse(result).select(\"#chapterList>*\");r.select(\"p:has(br)\").remove();\nm=r.select(\"p.non\").eachText();\nl=String(r).split(/

    [\\S\\s]+?<\\/p>/);\nfor(i=1,j=0;i(\\d+(?:-[^<>]+| *))(?=<)/g,\">\"+m[j]+\" $1\");l.join(\"\")a", 44 | "chapterName": "text##{{book.name}}[::\\d\\s]+|\\d+-", 45 | "chapterUrl": "a@href" 46 | }, 47 | "searchUrl": "https://www.esjzone.net/tags/{{key}}/", 48 | "weight": 0 49 | } 50 | ] 51 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/哔哩轻小说(www).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "缝合怪QAQ\n网页版\n可搜索\n发现较全\n可以自己加东西\n有一些书无权限看不了\n(貌似能登录∑(O_O;))", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "哔哩轻小说(www)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.linovelib.com/", 8 | "customOrder": -88951551, 9 | "enabled": true, 10 | "enabledCookieJar": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "[{'title':'全部榜单','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'点击总榜','url':'/wenku/allvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击月榜','url':'/wenku/monthvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击周榜','url':'/wenku/weekvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐总榜','url':'/wenku/allvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐月榜','url':'/wenku/monthvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐周榜','url':'/wenku/weekvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总点','url':'/wenku/allvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月点','url':'/wenku/monthvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周点','url':'/wenku/weekvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总推','url':'/wenku/allvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月推','url':'/wenku/monthvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周推','url':'/wenku/weekvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'收藏榜单','url':'/wenku/goodnum_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数榜单','url':'/wenku/words_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'新书榜单','url':'/wenku/postdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'更新榜单','url':'/wenku/lastupdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'编辑推荐','url':'/wenku/toptime_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'全部文库(更新时间)','url':'https://www.linovelib.com/wenku/lastupdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/lastupdate_0_1_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/lastupdate_0_2_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/lastupdate_0_3_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/lastupdate_0_4_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/lastupdate_0_5_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/lastupdate_0_6_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/lastupdate_0_7_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/lastupdate_0_8_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/lastupdate_0_9_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/lastupdate_0_10_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/lastupdate_0_11_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/lastupdate_0_12_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'其他文库','url':'/wenku/lastupdate_0_13_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'华文轻小说','url':'/wenku/lastupdate_0_14_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Web轻小说','url':'/wenku/lastupdate_0_15_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻改漫画','url':'/wenku/lastupdate_0_16_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:1}}]", 13 | "header": "", 14 | "lastUpdateTime": 1708252399472, 15 | "loginUrl": "https://www.linovelib.com/login.php", 16 | "respondTime": 180000, 17 | "ruleBookInfo": { 18 | "author": "class.au-name@text", 19 | "coverUrl": "class.book-img@src", 20 | "init": "", 21 | "intro": "tag.p.0:1@text##更便捷的阅读", 22 | "kind": "class.book-label@text", 23 | "name": "h1@text", 24 | "tocUrl": "class.btn-group@a@href", 25 | "wordCount": "tag.span.2@text" 26 | }, 27 | "ruleContent": { 28 | "content": "id.TextContent@html", 29 | "imageStyle": "FULL", 30 | "nextContentUrl": "text.下一页@href##$##,{'webView': true}", 31 | "webJs": "" 32 | }, 33 | "ruleExplore": { 34 | "author": "span.0@text", 35 | "bookList": "div.bookbox", 36 | "bookUrl": "a@href", 37 | "coverUrl": "img@data-original", 38 | "intro": "class.bookintro@text", 39 | "kind": "b@text", 40 | "name": ".bookname@a@text", 41 | "wordCount": "" 42 | }, 43 | "ruleReview": {}, 44 | "ruleSearch": { 45 | "author": "a!1@text", 46 | "bookList": "class.search-result-list clearfix", 47 | "bookUrl": "a@href", 48 | "checkKeyWord": "朋友\n", 49 | "coverUrl": ".se-result-book@img@src", 50 | "intro": ".fl@p@text", 51 | "kind": "div.key-word@text", 52 | "name": ".tit@a@text", 53 | "wordCount": ".bookinfo@span@text" 54 | }, 55 | "ruleToc": { 56 | "chapterList": "li.col-4", 57 | "chapterName": "class.col-4@a@text", 58 | "chapterUrl": "class.col-4@a@href##$##,{'webView': true}", 59 | "nextTocUrl": "" 60 | }, 61 | "searchUrl": "https://www.linovelib.com/S6/,{\n\t\"charset\":\"\",\n\t\"method\":\"POST\",\n\t\"body\":\"searchkey={{key}}&searchtype=all&page={{page}}\"\n\t} ", 62 | "weight": 0 63 | } 64 | ] 65 | -------------------------------------------------------------------------------- /src/BookSource/Japanese_original_bookSource/ノクターンノベルズ.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "ノクターンノベルズ", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://noc.syosetu.com/top/top/", 8 | "bookUrlPattern": "https://novel18.syosetu.com/\\w*/", 9 | "concurrentRate": "", 10 | "customOrder": 5, 11 | "enabled": true, 12 | "enabledExplore": true, 13 | "exploreUrl": "[\r\n{\"title\":\"新着一覧\",\"url\":\"https://noc.syosetu.com/search/search/search.php?order=new&p={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"小説PickUp!一覧\",\"url\":\"https://noc.syosetu.com/pickup/list/index.php?p={{page}}\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.4}},\r\n{\"title\":\"日間ランキング\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\": 1}},\r\n{\"title\":\"総合\",\"url\":\"https://noc.syosetu.com/rank/list/type/daily_total/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"短編\",\"url\":\"https://noc.syosetu.com/rank/list/type/daily_t/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"連載中\",\"url\":\"https://noc.syosetu.com/rank/list/type/daily_r/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"完結済\",\"url\":\"https://noc.syosetu.com/rank/list/type/daily_er/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"週間ランキング\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\": 1}},\r\n{\"title\":\"総合\",\"url\":\"https://noc.syosetu.com/rank/list/type/weekly_total/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"短編\",\"url\":\"https://noc.syosetu.com/rank/list/type/weekly_t/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"連載中\",\"url\":\"https://noc.syosetu.com/rank/list/type/weekly_r/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"完結済\",\"url\":\"https://noc.syosetu.com/rank/list/type/weekly_er/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"月間ランキング\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\": 1}},\r\n{\"title\":\"総合\",\"url\":\"https://noc.syosetu.com/rank/list/type/monthly_total/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"短編\",\"url\":\"https://noc.syosetu.com/rank/list/type/monthly_t/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"連載中\",\"url\":\"https://noc.syosetu.com/rank/list/type/monthly_r/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"完結済\",\"url\":\"https://noc.syosetu.com/rank/list/type/monthly_er/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"四半期ランキング\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\": 1}},\r\n{\"title\":\"総合\",\"url\":\"https://noc.syosetu.com/rank/list/type/quarter_total/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"短編\",\"url\":\"https://noc.syosetu.com/rank/list/type/quarter_t/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"連載中\",\"url\":\"https://noc.syosetu.com/rank/list/type/quarter_r/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"完結済\",\"url\":\"https://noc.syosetu.com/rank/list/type/quarter_er/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"年間ランキング\",\"url\":\"\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\": 1}},\r\n{\"title\":\"総合\",\"url\":\"https://noc.syosetu.com/rank/list/type/yearly_total/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"短編\",\"url\":\"https://noc.syosetu.com/rank/list/type/yearly_t/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"連載中\",\"url\":\"https://noc.syosetu.com/rank/list/type/yearly_r/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}},\r\n{\"title\":\"完結済\",\"url\":\"https://noc.syosetu.com/rank/list/type/yearly_er/\",\"style\":{\"layout_flexGrow\":1,\"layout_flexBasisPercent\":0.2}}\r\n]", 14 | "header": "{\n\"User-Agent\": \"Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36 Edg/98.0.4758.80\",\n\"Cookie\": \"over18=yes\"\n}", 15 | "lastUpdateTime": 1645021222601, 16 | "loginUrl": "", 17 | "respondTime": 180000, 18 | "ruleBookInfo": { 19 | "author": "class.info_inbox.1@a@text", 20 | "init": "id.novel_contents", 21 | "intro": "id.title_s1@a@text&&class.info_inbox.3@text&&class.info_inbox.2@html", 22 | "kind": "class.info_inbox.3@text", 23 | "lastChapter": "", 24 | "name": "id.title_s1@a@text", 25 | "tocUrl": "id.novelindex_button.0@a@href", 26 | "wordCount": "class.infotop.1@class.h3_right.0@text" 27 | }, 28 | "ruleContent": { 29 | "content": "id.novel_p@html&&id.novel_honbun@html&&id.novel_a@html##\\s*\\s*|\\s*\\s*|\\s*<\\/rb>\\s*|\\s*\\s*|\\s*<\\/rp>\\s*|\\s*\\s*|\\s*<\\/rt>\\s*|\\s*<\\/ruby>\\s*", 30 | "imageStyle": "full" 31 | }, 32 | "ruleExplore": { 33 | "author": "class.pickupnovellist@tag.li.2@a.0@text||tag.li.1@text##作者:", 34 | "bookList": "class.pickupnovellist||class.novellist||class.ranking_inbox@class.ranking", 35 | "bookUrl": "class.novellist@tag.li.2@tag.a@href||class.dummy@ul@tag.li.1@a@href||class.pickupnovellist@tag.li.2@tag.a.1@href", 36 | "intro": "class.pickup_ex@text||class.dummy@ul@class.ex@text", 37 | "kind": "class.keyword@tag.a@text", 38 | "lastChapter": "class.ranking@tag.li.2@text&&class.novellist@tag.li.2@text&&class.attention@text##[/:小説情報総合ポイント\\s]|[0-9,]+文字|[\\s\\S]*(?=[連完短])", 39 | "name": "class.pickup_title@text||class.title@tag.a@text", 40 | "wordCount": "class.dummy@tag.ul@tag.li.3@text&&tag.li.2@text##([0-9,]*文字)##$1###" 41 | }, 42 | "ruleSearch": { 43 | "author": "class.novellist@tag.li.1@text##作者:", 44 | "bookList": "class.novellist", 45 | "bookUrl": "class.novellist@tag.li.2@tag.a@href", 46 | "intro": "class.ex@text", 47 | "kind": "class.keyword@tag.a@text", 48 | "lastChapter": "tag.li.2@text&&class.attention@text##[/:小説情報総合ポイント\\s]", 49 | "name": "class.title@text", 50 | "wordCount": "class.dummy@tag.ul@tag.li.3@text##([0-9,]*文字)##$1###" 51 | }, 52 | "ruleToc": { 53 | "chapterList": "class.novel_sublist@ul@tag.li||class.novel_title", 54 | "chapterName": "tag.a@text||class.novel_title@text", 55 | "chapterUrl": "tag.a@href||", 56 | "nextTocUrl": "text.>@href", 57 | "updateTime": "class.kaikou@text" 58 | }, 59 | "searchUrl": "https://noc.syosetu.com/search/search/?word={{key}}&p={{page}}&order=hyoka", 60 | "weight": 0 61 | } 62 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/轻之国度(APPapi测试).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "https://api.lightnovel.us/api/article/get-detail,{\"method\":\"POST\",\"body\":\"{\\\"platform\\\":\\\"android\\\",\\\"client\\\":\\\"app\\\",\\\"sign\\\":\\\"\\\",\\\"ver_name\\\":\\\"0.11.50\\\",\\\"ver_code\\\":190,\\\"d\\\":{\\\"aid\\\":1103082,\\\"simple\\\":0},\\\"gz\\\":0}\"}\n\n\naid==正文\nhttps://www.lightnovel.us/detail/1103082\n\n\n\nhttps://api.lightnovel.us/api/series/get-info,{\"method\":\"POST\",\"body\":\"{\\\"platform\\\":\\\"android\\\",\\\"client\\\":\\\"app\\\",\\\"sign\\\":\\\"\\\",\\\"ver_name\\\":\\\"0.11.5\\\",\\\"ver_code\\\":190,\\\"d\\\":{\\\"sid\\\":2531,\\\"security_key\\\":null},\\\"gz\\\":0}\"}\n\n\nsid==详情\nhttps://www.lightnovel.us/cn/series/1025\n\n\n\n\n1103082\n1101423\n\napp\n1095595", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "轻之国度(APPapi测试)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.lightnovel.us##APP", 8 | "bookUrlPattern": "https://api.lightnovel.us/.*", 9 | "customOrder": -88951554, 10 | "enabled": false, 11 | "enabledCookieJar": false, 12 | "enabledExplore": false, 13 | "exploreUrl": "[{\"title\":\"最新\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"106\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"整卷\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"107\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}},{\"title\":\"原创\",\"url\":\"https://www.lightnovel.us/proxy/api/category/get-article-by-cate,{\\\"method\\\":\\\"POST\\\",\\\"body\\\":\\\"{\\\\\\\"is_encrypted\\\\\\\":0,\\\\\\\"platform\\\\\\\":\\\\\\\"pc\\\\\\\",\\\\\\\"client\\\\\\\":\\\\\\\"web\\\\\\\",\\\\\\\"sign\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"gz\\\\\\\":0,\\\\\\\"d\\\\\\\":{\\\\\\\"parent_gid\\\\\\\":3,\\\\\\\"gid\\\\\\\":\\\\\\\"111\\\\\\\",\\\\\\\"page\\\\\\\":\\\\\\\"{{page}}\\\\\\\"}}\\\"}\",\"style\":{\"layout_flexGrow\":1}}]", 14 | "header": "", 15 | "lastUpdateTime": 1708253806889, 16 | "loginUrl": "", 17 | "respondTime": 180000, 18 | "ruleBookInfo": { 19 | "author": "$.data.author##\\{uid.*##", 20 | "coverUrl": "$.data.cover##$##,{\"headers\":{\"Referer\":\"https://www.lightnovel.us\"}}@js:result.replace(/cover_h/,'cover_v')", 21 | "init": "", 22 | "intro": "$..intro", 23 | "kind": "", 24 | "lastChapter": "@js:if('{{$..articles[0].order}}'==0){}else{p='{{$..articles[-1].order}}'.replace(/00$/,'');id = p<=10?'0'+p:p;'P'+id+'\\u2000'+java.getString('$..articles[-1].title')}", 25 | "name": "$.data.name||$..title", 26 | "tocUrl": "", 27 | "wordCount": "" 28 | }, 29 | "ruleContent": { 30 | "content": "$..content&&$..res\n\na=/\\[[a-z]+=[^\\]]+\\]|\\[\\/(?!res|img)[a-z]+\\]|\\[b\\]/g\nresult.replace(a,'')\n\n\nif(result.match(/\\[\\/img\\]/)){result}else{\nr=result.match(/[\\d,]+={resid=.*?url=.*?}/g)\nlist=[]\nfor (x in r){\nn=r[x].match(/^,?(.*?)=/)[1].replace(/\\s*/,'')\nm=r[x].match(/url=(.*)}/)[1];\nvar b=new RegExp(n,'g')\nresult=result.replace(b,m)\n}\nresult.replace(/{ids=\\[.*}/,'')\n}\n\n\nlet options = {\n\"headers\": {\"Referer\": \"https://www.lightnovel.us\"}\n};\nt=JSON.stringify(options)\n\nresult.replace(/\\[img\\](.*?)\\[\\/img\\]/g,'').replace(/\\[res\\](.*?)\\[\\/res\\]/g,'')\n\n", 31 | "nextContentUrl": "" 32 | }, 33 | "ruleExplore": { 34 | "author": "$.author", 35 | "bookList": "$..list[*]", 36 | "bookUrl": "\na=java.getString('$.sid')\nb=java.getString('$.aid')\nif(a!=0){\t\nbody='{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.50\",\"ver_code\":190,\"d\":{\"sid\":'+a+',\"security_key\":null},\"gz\":0}'\nlet option = \t{\n'method': 'POST',\n'body': String(body)\n}\n'https://api.lightnovel.us/api/series/get-info'+','+JSON.stringify(option)\n}else{\t\t\nbody='{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.50\",\"ver_code\":190,\"d\":{\"aid\":'+b+',\"simple\":0},\"gz\":0}'\nlet option = {\n'method': 'POST',\n'body': String(body)\n}\n'https://api.lightnovel.us/api/article/get-detail'+','+JSON.stringify(option)\n}\n", 37 | "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https://www.lightnovel.us\"}}", 38 | "intro": "", 39 | "kind": "$.last_time", 40 | "lastChapter": "", 41 | "name": "$.title", 42 | "wordCount": "@js:('{{$.sid}}'!=0)?\"合集\":\"\"" 43 | }, 44 | "ruleReview": {}, 45 | "ruleSearch": { 46 | "author": "$.author", 47 | "bookList": "\nxs=result.match(/\"sid\":\\d+/g)\nxd=String(xs).replace(/\"sid\":/g,'')\nxf=xd.match(/\\d+/g)\n\nlet arr=xf\nlet lyu=arr.filter(function(currentValue,currentIndex,array){\n\treturn array.indexOf(currentValue)===currentIndex && currentValue!=0\n})\n\nresult=result.replace(/(\"sid\":)(0,)/g,'$1'+'#'+'$2')\n\nlist=[]\n\tfor(x in lyu){\n\t\t\n\t\tre=new RegExp('('+'\\\\b'+lyu[x]+'\\\\b'+')','')\n\t\t\n result=result.replace(re,'#'+'$1')\n \n}\nresult.replace(/(\"sid\":)(?!#)\\d+/g,'$1'+'0')\n\n$..data.collections[*]&&$..data.articles[*]", 48 | "bookUrl": "\nxu=java.getString('$.sid')\n\na=String(xu).replace(/\\#/,'')\nb=java.getString('$.aid')\nif(a!=0){\t\nbody='{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.5.'+Math.random()+'\",\"ver_code\":190,\"d\":{\"sid\":'+a+',\"security_key\":null},\"gz\":0}'\nlet option = \t{\n'method': 'POST',\n'body': String(body)\n}\n'https://api.lightnovel.us/api/series/get-info'+','+JSON.stringify(option)\n}else{\t\t\nbody='{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.50\",\"ver_code\":190,\"d\":{\"aid\":'+b+',\"simple\":0},\"gz\":0}'\nlet option = {\n'method': 'POST',\n'body': String(body)\n}\n'https://api.lightnovel.us/api/article/get-detail'+','+JSON.stringify(option)\n}\n", 49 | "checkKeyWord": "", 50 | "coverUrl": "$.cover##$##,{\"headers\":{\"Referer\":\"https://www.lightnovel.us\"}}", 51 | "kind": "$.group_name&&parent_group_name&&$.last_time&&$.time", 52 | "lastChapter": "", 53 | "name": "$.name||$.title@js:\n(/#\\d+/).test('{{$.sid}}')?result:''", 54 | "wordCount": "@js:('{{$.sid}}'!='#0')?\"合集\":\"\"" 55 | }, 56 | "ruleToc": { 57 | "chapterList": "$.data.articles\n\n(/series/).test(baseUrl)?result:[{'$.*':'01','$.aid':baseUrl}]\n", 58 | "chapterName": "$.*@js:p='{{$.order}}'.replace(/00$/,'');id = p<=10?'0'+p:p;'P'+id+'\\u2000'+java.getString('$.title')", 59 | "chapterUrl": "\na=java.getString('$.aid')\nif(a!=0){\nbody='{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.50\",\"ver_code\":190,\"d\":{\"aid\":'+a+',\"simple\":0},\"gz\":0}'\nlet option = {\n'method': 'POST',\n'body': String(body)\n}\n'https://api.lightnovel.us/api/article/get-detail'+','+JSON.stringify(option)\n}\n", 60 | "updateTime": "$.time" 61 | }, 62 | "searchUrl": "https://www.lightnovel.us/proxy/api/search/search-result,{\n'method': 'POST',\n'body': '{\"platform\":\"android\",\"client\":\"app\",\"sign\":\"\",\"ver_name\":\"0.11.50\",\"ver_code\":190,\"d\":{\"q\":\"{{key}}\",\"type\":0,\"page\":{{page}},\"page_size\":20},\"gz\":0}'\n}", 63 | "weight": 0 64 | } 65 | ] 66 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/轻之文库.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "轻之文库", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.linovel.net", 8 | "customOrder": -88951553, 9 | "enabled": true, 10 | "enabledCookieJar": false, 11 | "enabledExplore": true, 12 | "exploreUrl": "[{'title':'分类专区','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'全部','url':'/cat/-1.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'文库精选','url':'/cat/2000.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'幻想','url':'/cat/1.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'战斗','url':'/cat/2.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'恋爱','url':'/cat/3.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'异界','url':'/cat/4.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'搞笑','url':'/cat/5.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'日常','url':'/cat/6.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'校园','url':'/cat/7.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'后宫','url':'/cat/8.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'科幻','url':'/cat/10.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'治愈','url':'/cat/11.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'超能力','url':'/cat/12.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'节操','url':'/cat/13.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'妖怪','url':'/cat/14.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'恐怖','url':'/cat/15.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'妹控','url':'/cat/16.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'伪娘','url':'/cat/17.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'魔法少女','url':'/cat/18.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'乙女','url':'/cat/19.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'同人','url':'/cat/20.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'百合','url':'/cat/21.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'偶像','url':'/cat/22.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'悬疑','url':'/cat/104.html?sort=hot&sign=-1&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'排行榜','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'重推周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=zt&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'佳作周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=jz&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月票周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ticket&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻币周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=coin&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'墨水周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ink&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'应援周榜','url':'http://www.linovel.net/hub/getTopBooks?unit=supp&time=week&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'重推月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=zt&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'佳作月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=jz&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月票月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ticket&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻币月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=coin&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'墨水月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ink&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'应援月榜','url':'http://www.linovel.net/hub/getTopBooks?unit=supp&time=month&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'重推新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=zt&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'佳作新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=jz&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻币新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=coin&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'墨水新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ink&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'应援新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=supp&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月票新人榜','url':'http://www.linovel.net/hub/getTopBooks?unit=ticket&time=new&page={{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", 13 | "lastUpdateTime": 1645368591265, 14 | "loginUrl": "https://www.linovel.net/auth/login", 15 | "respondTime": 621, 16 | "ruleBookInfo": { 17 | "author": "class.name.3@text", 18 | "coverUrl": ".book-cover@src", 19 | "intro": ".about-text@text", 20 | "kind": ".book-cats@text", 21 | "lastChapter": "class.chapter-item new@text", 22 | "name": ".book-title@text", 23 | "tocUrl": "text.查看完整目录@href", 24 | "wordCount": ".book-data@tag.span.0@text" 25 | }, 26 | "ruleContent": { 27 | "content": ".article-text@html", 28 | "imageStyle": "" 29 | }, 30 | "ruleExplore": { 31 | "author": ".book-extra@text||author", 32 | "bookList": ".book-draw||$.data.books[*]", 33 | "bookUrl": ".book-name@href||https://www.linovel.net/book/{$.id}.html", 34 | "coverUrl": ".book-cover@img@src||coverUrl", 35 | "intro": ".book-intro@text||about", 36 | "kind": ".book-tag@text||cat[*]", 37 | "lastChapter": "class.vol-chapter@tag.li.-1@text||lastVolName", 38 | "name": ".book-name@text||name", 39 | "wordCount": "words" 40 | }, 41 | "ruleSearch": { 42 | "author": ".book-extra@text", 43 | "bookList": ".search-book", 44 | "bookUrl": "href", 45 | "coverUrl": "img@src", 46 | "intro": ".book-intro@text", 47 | "kind": ".book-tag@text", 48 | "name": ".book-name@text", 49 | "wordCount": "" 50 | }, 51 | "ruleToc": { 52 | "chapterList": ".chapter", 53 | "chapterName": "@js:\nvar title = result.parentNode().parentNode().parentNode().parentNode().parentNode();\nresult = title.select('h2').text() +':'+ result.text()", 54 | "chapterUrl": "a@href" 55 | }, 56 | "searchUrl": "/search/?kw={{key}}&page={{page}}", 57 | "weight": 0 58 | } 59 | ] 60 | -------------------------------------------------------------------------------- /src/BookSource/China_based_bookSource/刺猬猫.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "国轻,可登录\n整理修改:GitHub@ZWolken", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "刺猬猫", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.ciweimao.com", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951535, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{'title':'榜单排行','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'点击榜','url':'https://www.ciweimao.com/rank-index/no-vip-click-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'收藏榜','url':'https://www.ciweimao.com/rank-index/favor-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐榜','url':'https://www.ciweimao.com/rank-index/recommend-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'订阅榜','url':'https://www.ciweimao.com/rank-index/buy-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月票榜','url':'https://www.ciweimao.com/rank-index/yp-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'吐槽榜','url':'https://www.ciweimao.com/rank-index/tsukkomi-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'新书榜','url':'https://www.ciweimao.com/rank-index/yp_new-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'刀片榜','url':'https://www.ciweimao.com/rank-index/blade-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'更新榜','url':'https://www.ciweimao.com/rank-index/get-update-most-week/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'免费作品','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'异界幻想','url':'https://www.ciweimao.com/book_list/1-8-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'青春日常','url':'https://www.ciweimao.com/book_list/1-27-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'动漫穿越','url':'https://www.ciweimao.com/book_list/1-10-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'神秘未知','url':'https://www.ciweimao.com/book_list/1-1-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'战争历史','url':'https://www.ciweimao.com/book_list/1-30-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推理灵异','url':'https://www.ciweimao.com/book_list/1-7-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'未来幻想','url':'https://www.ciweimao.com/book_list/1-6-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'游戏世界','url':'https://www.ciweimao.com/book_list/1-3-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'热血竞技','url':'https://www.ciweimao.com/book_list/1-5-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'现实都市','url':'https://www.ciweimao.com/book_list/1-29-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'同人','url':'https://www.ciweimao.com/book_list/1-24-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'女频','url':'https://www.ciweimao.com/book_list/2-11-total_click-0-0-2/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完本作品','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'异界幻想','url':'https://www.ciweimao.com/book_list/1-8-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'青春日常','url':'https://www.ciweimao.com/book_list/1-27-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'动漫穿越','url':'https://www.ciweimao.com/book_list/1-10-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'神秘未知','url':'https://www.ciweimao.com/book_list/1-1-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'战争历史','url':'https://www.ciweimao.com/book_list/1-30-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推理灵异','url':'https://www.ciweimao.com/book_list/1-7-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'未来幻想','url':'https://www.ciweimao.com/book_list/1-6-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'游戏世界','url':'https://www.ciweimao.com/book_list/1-3-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'热血竞技','url':'https://www.ciweimao.com/book_list/1-5-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'现实都市','url':'https://www.ciweimao.com/book_list/1-29-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'同人','url':'https://www.ciweimao.com/book_list/1-24-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'女频','url':'https://www.ciweimao.com/book_list/2-11-total_click-0-0-1/quanbu/{{page}}','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", 14 | "header": "", 15 | "lastUpdateTime": 1643567916124, 16 | "loginUrl": "https://www.ciweimao.com/signup/login", 17 | "respondTime": 2359, 18 | "ruleBookInfo": { 19 | "author": "", 20 | "coverUrl": "class.cover ly-fl@tag.img@src", 21 | "init": "", 22 | "intro": "class.book-desc.0@text@js:result.replace(/(&.{3}br.{3,4};)+|[\\n\\s]+/g,\"\\n\").replace(/\\n\\s*\\n/g,\"\\n\").replace(/^\\s*\\n/g,\"\").replace(/\\n\\s*/g,\"\\n\\u3000\\u3000\").replace(/^\\s*/g,\"\\u3000\\u3000\")", 23 | "kind": "", 24 | "lastChapter": "", 25 | "name": "", 26 | "tocUrl": "class.btn btn-lg btn-danger@tag.a.0@href||text.所有章节@href", 27 | "wordCount": "" 28 | }, 29 | "ruleContent": { 30 | "content": "#J_BookRead .chapter@textNodes", 31 | "nextContentUrl": "", 32 | "sourceRegex": "", 33 | "webJs": "" 34 | }, 35 | "ruleExplore": { 36 | "author": "class.author@tag.a.0@text||p@tag.a.0@text", 37 | "bookList": "class.rank-book-list@tag.li||class.book-list-table@tag.tr!0", 38 | "bookUrl": "class.tit@tag.a.0@href||class.name@tag.a.0@href", 39 | "coverUrl": "class.lazyload@data-original", 40 | "intro": "class.desc@text", 41 | "kind": "class.type@tag.p.0@text##\\[|\\]", 42 | "lastChapter": "class.cnt@tag.p.1@text||class.chapter@tag.p.0@text##最近更新:.*\\/(.*)##$1", 43 | "name": "class.tit@tag.a.0@text||class.name@tag.a.0@text", 44 | "wordCount": "class.cnt@tag.p.1@text##最近更新:|\\/.*" 45 | }, 46 | "ruleSearch": { 47 | "author": "class.cnt.0@tag.p.1@tag.a.0@text||class.author@text", 48 | "bookList": "class.rank-book-list@tag.li||class.book-list-table@tag.tr!0", 49 | "bookUrl": "class.cnt.0@class.tit.0@tag.a.0@href||class.name@tag.a@href", 50 | "coverUrl": "class.cover@tag.img@data-original||tag.img.0@src", 51 | "intro": "class.desc@text", 52 | "kind": "", 53 | "lastChapter": "@css:p:matches(最近更新)@text||.chapter@text\n@js:result.includes('最近更新') ? result.replace(/最近更新:(\\d+-\\d+-\\d+).*\\/(.*)/,'$2($1)') : result", 54 | "name": "class.cnt.0@class.tit.0@tag.a.0@text||class.name@tag.a@text", 55 | "wordCount": "" 56 | }, 57 | "ruleToc": { 58 | "chapterList": ".book-chapter-box@li@a", 59 | "chapterName": "text", 60 | "chapterUrl": "href##$##,{'webView': true}", 61 | "isVip": "@js:result.outerHtml().includes('icon-lock')", 62 | "nextTocUrl": "", 63 | "updateTime": "" 64 | }, 65 | "searchUrl": "/get-search-book-list/0-0-0-0-0-0/全部/{{key}}/{{page}}", 66 | "weight": 0 67 | } 68 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/三七轻小说.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceGroup": "", 4 | "bookSourceComment": "编写人员:GitHub@洛初\n不强制登录(目前)", 5 | "bookSourceName": "三七轻小说", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://www.37yq.com", 8 | "customOrder": -88951564, 9 | "enabled": true, 10 | "enabledCookieJar": true, 11 | "enabledExplore": true, 12 | "exploreUrl": "[{'title':'全站总榜','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'总点击榜','url':'/wenku/allvisit_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总推荐榜','url':'/wenku/allvote_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'总鲜花榜','url':'/wenku/allflower_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月点击榜','url':'/wenku/monthvisit_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月推荐榜','url':'/wenku/monthvote_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'月鲜花榜','url':'/wenku/monthflower_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最近更新','url':'/wenku/lastupdate_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'最新入库','url':'/wenku/postdate_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'收藏榜','url':'/wenku/goodnum_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数榜','url':'/wenku/words_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'新书榜','url':'/wenku/postdate_0_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'文库新书榜','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/postdate_1_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/postdate_2_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/postdate_3_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/postdate_4_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/postdate_5_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/postdate_6_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/postdate_7_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/postdate_8_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/postdate_9_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/postdate_10_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/postdate_11_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/postdate_12_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'文库热点榜','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/allvisit_1_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/allvisit_2_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/allvisit_3_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/allvisit_4_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/allvisit_5_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/allvisit_6_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/allvisit_7_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/allvisit_8_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/allvisit_9_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/allvisit_10_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/allvisit_11_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/allvisit_12_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'文库收藏榜','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/goodnum_1_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/goodnum_2_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/goodnum_3_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/goodnum_4_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/goodnum_5_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/goodnum_6_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/goodnum_7_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/goodnum_8_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/goodnum_9_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/goodnum_10_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/goodnum_11_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/goodnum_12_0_0_0_0_0_0_{{page}}.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", 13 | "lastUpdateTime": 0, 14 | "loginUrl": "https://www.37yq.com/login.php", 15 | "respondTime": 180000, 16 | "ruleBookInfo": { 17 | "author": "class.au-name@text", 18 | "coverUrl": "class.book-img fl@tag.img@src", 19 | "intro": "class.book-dec Jbook-dec hide@p@text", 20 | "kind": "class.book-label@children@text## ##,", 21 | "lastChapter": "class.tit fl.0@text", 22 | "name": "class.book-name@text##\\(.*?\\)", 23 | "tocUrl": "class.btn read-btn@href", 24 | "wordCount": "@js:\n// 这里字数还是有问题,不过是网站给的数据有问题,我不知道咋改了\nlet wordCountStr = java.getString(\"class.nums@tag.i.1@text\");\nlet wordCount = parseInt(wordCountStr, 10);\nlet doubledWordCount = wordCount * 2;\nlet formattedWordCount = `${doubledWordCount}万字`;\nformattedWordCount\n" 25 | }, 26 | "ruleContent": { 27 | "content": "class.read-content@all&&class.divimage@tag.img@all", 28 | "title": "id.mlfy_main_text@h1@text", 29 | "sourceRegex": "/files.*" 30 | }, 31 | "ruleExplore": { 32 | "author": "class.bookilnk@span.0@text", 33 | "bookList": "class.bookbox fl", 34 | "bookUrl": "class.bookimg@tag.a.0@href", 35 | "coverUrl": "class.bookimg@tag.a.0@tag.img@data-original", 36 | "intro": "class.bookintro@text", 37 | "kind": "class.bookilnk@span.1@text", 38 | "lastChapter": "class.bookupdate@tag.a.0@text", 39 | "name": "class.bookname@tag.a.0@text##\\(.*?\\)" 40 | }, 41 | "ruleReview": {}, 42 | "ruleSearch": { 43 | "author": "class.bookinfo@a.0@text", 44 | "bookList": "class.search-result-list clearfix", 45 | "bookUrl": "class.btn@a.0@href||class.tit@a.0@href||class.imgbox fl se-result-book@a.0@href", 46 | "checkKeyWord": "魔女之旅", 47 | "coverUrl": "class.imgbox fl se-result-book@a.0@tag.img.0@src", 48 | "intro": "class.fl se-result-infos@p.0@text", 49 | "kind": "class.bookinfo@a.1@text%%class.bookinfo@span.0@text", 50 | "name": "class.tit@a.0@text##\\(.*?\\)", 51 | "wordCount": "class.bookinfo@tag.span.1@all##\\D+" 52 | }, 53 | "ruleToc": { 54 | "chapterList": "class.col-4", 55 | "chapterName": "class.col-4@a@text", 56 | "chapterUrl": "class.col-4@a@href", 57 | "isVolume": "class.v-line@text" 58 | }, 59 | "searchUrl": "https://www.37yq.com/so.html?searchkey={{key}}&page={{page}}&searchtype=all", 60 | "weight": 0 61 | } 62 | ] -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/真白萌(建议科学).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "建议登录\n网络不畅考虑科学上网使用\n整理:GitHub@ZWolken\n乃星改 2021.8.19", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "真白萌(建议科学)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://masiro.me", 8 | "bookUrlPattern": "", 9 | "customOrder": -88951556, 10 | "enabled": true, 11 | "enabledCookieJar": false, 12 | "enabledExplore": true, 13 | "exploreUrl": "[{'title':'论坛首页','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'全部小说','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&status=1&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'日轻小说','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&order=2&ori=0','style':{layout_flexGrow:1,layout_flexBasisPercent:0.4}},\n{'title':'原创小说','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&order=2&ori=1','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'最近更新','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&order=1','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'我的收藏','url':'https://masiro.me/admin/loadMoreNovels?collection=1','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'世界观','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'VR/游戏','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=40&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'异世界','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=5&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'迷宫地域','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=6&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'现代','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=45&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'科幻','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=25&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'校园','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=11&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'主题|题材','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'战 纪','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=12&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'游记','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=20&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'美食','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=21&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'恶役','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=38&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'误解系','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=16&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'欢乐向','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=34&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'穿越/转生','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=24&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'种田/经营','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=43&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'异能/超自然战斗','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=26&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'主角类型','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'女性主角','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=8&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'青梅竹马','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=29&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'萝莉/幼女','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=39&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'病娇','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=19&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'人外','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=9&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'兽耳','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=10&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'妹妹','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=27&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'姐姐','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=28&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'伪娘','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=30&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'TS','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=23&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'吸血鬼','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=17&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'恋爱关系','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'喜剧','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=4&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'纯爱','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=31&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'后宫','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=33&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'百合','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=7&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'其他标签','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'治愈','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=36&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'黑深残','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=18&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'R17','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=22&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'短篇','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=37&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'同人','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=41&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'连载','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&status=0&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'完结','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=15&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}},\n{'title':'腰斩','url':'https://masiro.me/admin/loadMoreNovels?page={{page}}&tags=14&order=2','style':{layout_flexGrow:1,layout_flexBasisPercent:0.2}}]", 14 | "header": "", 15 | "lastUpdateTime": 1696534783208, 16 | "loginUrl": "https://masiro.me/admin/auth/login", 17 | "respondTime": 3658, 18 | "ruleBookInfo": { 19 | "intro": "  更新时间:{{@@.s-font@text}}{{'\\n‎\\n'}}{{@@.brief@html##简介:}}", 20 | "kind": "{{@@.n-chapters@text##字数 : \\d+字}},{{@@.n-status@text##状态 : }},{{@@.tags a@text##完结}}" 21 | }, 22 | "ruleContent": { 23 | "content": "class.nvl-content@html", 24 | "imageStyle": "FULL" 25 | }, 26 | "ruleExplore": { 27 | "author": "", 28 | "bookList": "", 29 | "bookUrl": "", 30 | "intro": "", 31 | "kind": "", 32 | "lastChapter": "", 33 | "name": "", 34 | "wordCount": "" 35 | }, 36 | "ruleReview": {}, 37 | "ruleSearch": { 38 | "author": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".author\").text().replace(\"作者: \",\"\");\n//java.log(result);\n", 39 | "bookList": "\nvar html = JSON.parse(result).html;\n//java.log(html);\ndoc=org.jsoup.Jsoup.parse(html);\nresult=doc.select(\".layui-card\");\n", 40 | "bookUrl": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.selectFirst(\"a\").attr(\"href\");\n//java.log(result);\n", 41 | "coverUrl": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".n-img\").attr(\"lay-src\");\n//java.log(result);\n", 42 | "intro": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".hot\").text();\n//java.log(result);\n\n##热度: ", 43 | "kind": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".words\").text().replace(\"字数: \",\"\").replace(\"字共话\",\"\");\nresult=result+\",\"+doc.select(\".tag\").text();\n//java.log(result);\n\nresult.replace(/\\d+字(共\\d+话)/,'$1')\n##\\s##,", 44 | "lastChapter": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".new_up\").text();\n//java.log(result);\n\n##最新:", 45 | "name": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".layui-card-header\").attr(\"title\");\n//java.log(result);\n", 46 | "wordCount": "\ndoc=org.jsoup.Jsoup.parse(result);\nresult=doc.select(\".words\").text();\n##字数: |字|共.+话|共话\nn=parselnt(result);\na=n/10000;\nresult=a+\"万字\";\n//java.log(result);\n\n##共话" 47 | }, 48 | "ruleToc": { 49 | "chapterList": "@css:a[href^=/admin/novelReading]", 50 | "chapterName": "@css:span:first-child@text", 51 | "chapterUrl": "href", 52 | "isVip": "result.attr(\"data-cost\")>0", 53 | "updateTime": ".episode-box span.-1@text" 54 | }, 55 | "searchUrl": "https://masiro.me/admin/loadMoreNovels?page={{page}}&keyword={{key}}", 56 | "weight": 0 57 | } 58 | ] 59 | -------------------------------------------------------------------------------- /src/BookSource/Japan_based_bookSource/哔哩轻小说(tw).json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "bookSourceComment": "建议登录\n整理修改缝合:GitHub@ZWolken\n灰色章节修复目录部分By叶落岚起+关耳/乃星改2021.8.3\n补丁 : 神秘人\n修复搜索问题\n修复发现榜单没图的问题\n修复章节内图片问题\n改为繁体站,需要VPN", 4 | "bookSourceGroup": "", 5 | "bookSourceName": "哔哩轻小说(tw)", 6 | "bookSourceType": 0, 7 | "bookSourceUrl": "https://tw.linovelib.com/", 8 | "bookUrlPattern": "", 9 | "coverDecodeJs": "", 10 | "customOrder": -88951550, 11 | "enabled": true, 12 | "enabledCookieJar": false, 13 | "enabledExplore": true, 14 | "exploreUrl": "[{'title':'全部榜单','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'点击总榜','url':'/wenku/allvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击月榜','url':'/wenku/monthvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'点击周榜','url':'/wenku/weekvisit_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐总榜','url':'/wenku/allvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐月榜','url':'/wenku/monthvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'推荐周榜','url':'/wenku/weekvote_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总点','url':'/wenku/allvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月点','url':'/wenku/monthvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周点','url':'/wenku/weekvisit_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结总推','url':'/wenku/allvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结月推','url':'/wenku/monthvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'完结周推','url':'/wenku/weekvote_0_0_0_0_0_0_5_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'收藏榜单','url':'/wenku/goodnum_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'字数榜单','url':'/wenku/words_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'新书榜单','url':'/wenku/postdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'更新榜单','url':'/wenku/lastupdate_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'编辑推荐','url':'/wenku/toptime_0_0_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'全部文库','url':'','style':{layout_flexGrow:1,layout_flexBasisPercent:1}},\n{'title':'电击文库','url':'/wenku/lastupdate_0_1_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'角川文库','url':'/wenku/lastupdate_0_3_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'少女文库','url':'/wenku/lastupdate_0_12_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'GA文库','url':'/wenku/lastupdate_0_6_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'HJ文库','url':'/wenku/lastupdate_0_7_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'MF文库J','url':'/wenku/lastupdate_0_4_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'富士见文库','url':'/wenku/lastupdate_0_2_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'Fami通文库','url':'/wenku/lastupdate_0_5_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'小学馆','url':'/wenku/lastupdate_0_10_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'集英社','url':'/wenku/lastupdate_0_9_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'讲谈社','url':'/wenku/lastupdate_0_11_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'一迅社','url':'/wenku/lastupdate_0_8_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'其他文库','url':'/wenku/lastupdate_0_13_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'轻改漫画','url':'/wenku/lastupdate_0_15_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}},\n{'title':'华文轻小说','url':'/wenku/lastupdate_0_14_0_0_0_0_0_{{page}}_0.html','style':{layout_flexGrow:1,layout_flexBasisPercent:0.25}}]", 15 | "header": "{\n \"User-Agent\": \"Mobile\",\n \"Referer\": \"https://tw.linovelib.com/\"\n}", 16 | "lastUpdateTime": 1708245915592, 17 | "loginCheckJs": "", 18 | "loginUi": "[\n {\n \"name\": \"账号\",\n \"type\": \"text\"\n },\n {\n \"name\": \"密码\",\n \"type\": \"password\"\n }\n]", 19 | "loginUrl": "@js:\nfunction login() {\n let une = source.getLoginInfoMap().get(\"账号\")\n let pwd = source.getLoginInfoMap().get(\"密码\")\n if (une && pwd) {\n let body = String('username=' + une + '&password=' + pwd + '&usecookie=315360000&action=login')\n let url = source.bookSourceUrl + '/login.php'\n let ck = java.post(url, body, { \"Content-Type\": \"application/x-www-form-urlencoded\" }).cookies()\n let header = JSON.stringify({\n \"Cookie\": String(ck).match(/\\{(.*?)\\}/)[1].replace(/,/g, ';')\n })\n source.putLoginHeader(header)\n }\n}", 20 | "respondTime": 25101, 21 | "ruleBookInfo": { 22 | "author": "[property=\"og:novel:author\"]@content", 23 | "coverUrl": "[property=\"og:image\"]@content", 24 | "intro": "id.bookSummary@tag.content@textNodes\n@js:\nresult=\" \"+result;", 25 | "kind": "class.book-cell@tag.p.1@ownText&&class.tag-small red@text\n##.*万字|·.*", 26 | "lastChapter": "class.gray ell@text##(\\d+-\\d+-\\d+\\s\\d+:\\d+)·(.*)##$2 • $1", 27 | "name": "[property=\"og:novel:book_name\"]@content", 28 | "tocUrl": "class.btn-normal red@href", 29 | "wordCount": "class.book-cell@tag.p.1@ownText##连载|完结" 30 | }, 31 | "ruleContent": { 32 | "content": "\n!(/google.com/).test(baseUrl) ? java.getString(\"id.acontent@html\") : decodeURIComponent(baseUrl.replace(/^.*?text=/, ''))\n", 33 | "imageDecode": "", 34 | "imageStyle": "FULL", 35 | "nextContentUrl": "##url_next:'([^']*)'##$1###\n@js:\nvar isNew = /\\/(\\d+).html/.test(result);\nvar out = isNew ? '' : result;\nout", 36 | "replaceRegex": "##((?<=[\\u4e00-\\u9fa5“‘「(,])\\s+)?\\s*|((?<=[\\u4e00-\\u9fa5“‘「(,])\\s+)?\\(本章未完\\)\\s*|" 37 | }, 38 | "ruleExplore": { 39 | "author": "class.book-author@ownText", 40 | "bookList": "class.book-ol book-ol-normal jsBooks@tag.li", 41 | "bookUrl": "a@href", 42 | "coverUrl": "img@data-src", 43 | "intro": "class.book-desc@text", 44 | "kind": "class.tag-small-group origin-right@tag.em.0@text&&\nclass.tag-small-group origin-right@tag.em.1@text", 45 | "name": "class.book-title@text", 46 | "wordCount": "class.tag-small blue@text" 47 | }, 48 | "ruleReview": {}, 49 | "ruleSearch": { 50 | "author": "class.book-author@textNodes", 51 | "bookList": "@js:\npath = 'class.book-ol book-ol-normal@tag.li';\nc = java.getElement(path);\nif (!c.length && result.includes('no-js')) {\n res = java.startBrowserAwait(baseUrl, '等待至跳转,然后重搜');\n java.setContent(res.body());\n c = java.getElement(path);\n}\nc", 52 | "bookUrl": "tag.a.0@href", 53 | "checkKeyWord": "我的青春恋爱喜剧", 54 | "coverUrl": "a@href@js:\nvar id = result.match(/\\/(\\d+)\\.html/)[1];\n'https://www.linovelib.com/files/article/image/'+parseInt(id/1000)+'/'+id+'/'+id+'s.jpg';", 55 | "intro": "class.book-desc@text", 56 | "kind": "class.tag-small-group origin-right@tag.em@text", 57 | "name": "class.book-title-x@class.book-title@text" 58 | }, 59 | "ruleToc": { 60 | "chapterList": "a.chapter-li-a, li.chapter-bar\n@js:\n//现实debug(尝试修复正文链接问题,和目录不全)\n//<<好友角色的我怎么可能大受欢迎>>第三卷12\n//<<我的青春恋爱喜剧>>\n//2022-8-19\n//原来的代码在源注释\n//2022-8-20修复https://w.linovelib.com/novel/2765.html目录加载失败\na = result\nlist = []\n\nfor (i = 0; i < a.length; i++) {\n java.setContent(a[i])\n b = java.getString(\"tag.a@href\")\n if (b == \"javascript:cid(0)\") {\n if (i == a.length - 1) {\n java.setContent(a[i - 1])\n c1 = java.getString(\"tag.a@href\")\n if (c1 == \"\") {\n java.setContent(a[i - 2])\n c1 = java.getString(\"tag.a@href\")\n }\n d1 = java.ajax(\"https://w.linovelib.com\" + c1)\n java.setContent(d1)\n e1 = java.getElements(\"id.footlink\")\n\n while (e1.indexOf(\"下一页\") != -1) {\n f1 = d1.match(/