Skip to content

Commit e39e3a1

Browse files
authored
v2.6.12: 更新禁漫APP的版本号、请求参数和网页端分类排序参数(分数/评论数),优化文档 (#510)
1 parent 0651403 commit e39e3a1

File tree

6 files changed

+69
-19
lines changed

6 files changed

+69
-19
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
[【指路】教程:导出并下载你的禁漫收藏夹数据](./assets/docs/sources/tutorial/10_export_favorites.md)
2929

3030

31+
![introduction.jpg](./assets/docs/sources/images/introduction.jpg)
32+
33+
3134
## 项目介绍
3235

3336
本项目的核心功能是下载本子。

assets/docs/sources/TODO.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# 版本更新计划
22

3-
| 版本范围 | 更新计划 |
4-
|:--------:|:--------------------------------------:|
5-
| v2.5.* | 引入新插件`jm-server`,实现基于浏览器观看本地本子。 |
6-
| v2.4.* | 项目实现基本稳定,进入维护期,按需增加功能。 |
7-
| v2.3.* | 实现移动端API的基础功能,统一HTML和API的实现。 |
8-
| v2.2.* | 新的插件体系,新的命令行调用,完善搜索功能。 |
9-
| v2.1.* | 拆分Downloader抽象调度,优化可扩展性、代码复用性、模块级别自定义。 |
10-
| v2.0.* | 重新设计合理的抽象层次,实现请求重试切换域名机制,新的option配置设计。 |
11-
| v1.\*.\* | 基于HTML实现基础功能。 |
3+
| 版本范围 | 更新计划 |
4+
|:--------:|:-----------------------------------------:|
5+
| v2.6.* | 实现移动端API域名自动更新,支持Zip加密/PDF密码/路径繁简转换/封面下载。 |
6+
| v2.5.* | 引入新插件`jm-server`,实现基于浏览器观看本地本子。 |
7+
| v2.4.* | 项目实现基本稳定,进入维护期,按需增加功能。 |
8+
| v2.3.* | 实现移动端API的基础功能,统一HTML和API的实现。 |
9+
| v2.2.* | 新的插件体系,新的命令行调用,完善搜索功能。 |
10+
| v2.1.* | 拆分Downloader抽象调度,优化可扩展性、代码复用性、模块级别自定义。 |
11+
| v2.0.* | 重新设计合理的抽象层次,实现请求重试切换域名机制,新的option配置设计。 |
12+
| v1.\*.\* | 基于HTML实现基础功能。 |
584 KB
Loading

assets/docs/sources/index.md

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,78 @@
66
> jmcomic库封装了一套可用于爬取禁漫的Python API.
77
>
88
> 你可以通过简单的几行Python代码,访问禁漫的接口,以及下载禁漫的本子。
9-
>
9+
>
1010
> [查看项目更新计划](TODO.md)
1111
12+
## 一图看懂 JMComic 工具生态
1213

14+
![introduction.jpg](images/introduction.jpg)
1315

1416
## 入门
1517

1618
- [快速上手(GitHub README)](https://github.com/hect0x7/JMComic-Crawler-Python/tree/master?tab=readme-ov-file#%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B)
1719
- [常用类和方法演示](tutorial/0_common_usage.md)
1820
- [option配置以及插件写法](./option_file_syntax.md)
1921

20-
21-
2222
## 特殊用法教程
23+
2324
- [使用GitHub Actions下载本子](./tutorial/1_github_actions.md)
2425
- [使用GitHub Actions导出收藏夹](tutorial/10_export_favorites.md)
2526
- [命令行用法教程](tutorial/2_command_line.md)
2627
- [测试你的ip能访问哪些禁漫域名](tutorial/8_pick_domain.md)
2728

28-
29-
3029
## 核心机制
30+
3131
- [下载过滤器机制](tutorial/5_filter.md)
3232
- [插件机制](tutorial/6_plugin.md)
3333

34-
35-
3634
## 自定义
35+
3736
- [下载文件夹名](tutorial/9_custom_download_dir_name.md)
3837
- [日志](tutorial/11_log_custom.md)
3938
- [模块](tutorial/4_module_custom.md)
4039

40+
## 相关项目
41+
42+
<table align="center">
43+
<tr>
44+
<td align="center">
45+
<a href="https://github.com/hect0x7/JMComic-Crawler-Python">
46+
<picture>
47+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-Crawler-Python-dark.svg?" />
48+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-Crawler-Python.svg?" />
49+
<img alt="Repo Card" src="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-Crawler-Python-dark.svg?" />
50+
</picture>
51+
</a>
52+
</td>
53+
<td align="center">
54+
<a href="https://github.com/hect0x7/JMComic-APK">
55+
<picture>
56+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-APK-dark.svg?" />
57+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-APK.svg?" />
58+
<img alt="Repo Card" src="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-JMComic-APK-dark.svg?" />
59+
</picture>
60+
</a>
61+
</td>
62+
</tr>
63+
<tr>
64+
<td align="center">
65+
<a href="https://github.com/hect0x7/plugin-jm-server">
66+
<picture>
67+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-plugin-jm-server-dark.svg?" />
68+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-plugin-jm-server.svg?" />
69+
<img alt="Repo Card" src="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-plugin-jm-server-dark.svg?" />
70+
</picture>
71+
</a>
72+
</td>
73+
<td align="center">
74+
<a href="https://github.com/hect0x7/jmcomic-ai">
75+
<picture>
76+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-jmcomic-ai-dark.svg?" />
77+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-jmcomic-ai.svg?" />
78+
<img alt="Repo Card" src="https://raw.githubusercontent.com/hect0x7/hect0x7/refs/heads/master/profile/pin-jmcomic-ai-dark.svg?" />
79+
</picture>
80+
</a>
81+
</td>
82+
</tr>
83+
</table>

src/jmcomic/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 被依赖方 <--- 使用方
33
# config <--- entity <--- toolkit <--- client <--- option <--- downloader
44

5-
__version__ = '2.6.11'
5+
__version__ = '2.6.12'
66

77
from .api import *
88
from .jm_plugin import *

src/jmcomic/jm_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class JmMagicConstants:
2121
ORDER_BY_VIEW = 'mv'
2222
ORDER_BY_PICTURE = 'mp'
2323
ORDER_BY_LIKE = 'tf'
24+
# 下面这两个目前只在网页上看到,app上没有
25+
ORDER_BY_SCORE = 'tr'
26+
ORDER_BY_COMMENT = 'md'
2427

2528
ORDER_MONTH_RANKING = 'mv_m'
2629
ORDER_WEEK_RANKING = 'mv_w'
@@ -77,7 +80,7 @@ class JmMagicConstants:
7780
APP_TOKEN_SECRET_2 = '18comicAPPContent'
7881
APP_DATA_SECRET = '185Hcomic3PAPP7R'
7982
API_DOMAIN_SERVER_SECRET = 'diosfjckwpqpdfjkvnqQjsik'
80-
APP_VERSION = '2.0.13'
83+
APP_VERSION = '2.0.16'
8184

8285

8386
# 模块级别共用配置
@@ -150,7 +153,7 @@ class JmModuleConfig:
150153

151154
APP_HEADERS_IMAGE = {
152155
'Accept': 'image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8',
153-
'X-Requested-With': 'com.jiaohua_browser',
156+
'X-Requested-With': 'com.JMComic3.app',
154157
'Referer': PROT + DOMAIN_API_LIST[0],
155158
'Accept-Language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
156159
}

0 commit comments

Comments
 (0)