jmcomic 2.5.18__py3-none-any.whl → 2.5.19__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jmcomic/__init__.py +1 -1
- jmcomic/jm_config.py +13 -6
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/METADATA +1 -1
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/RECORD +8 -8
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/WHEEL +1 -1
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/LICENSE +0 -0
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/entry_points.txt +0 -0
- {jmcomic-2.5.18.dist-info → jmcomic-2.5.19.dist-info}/top_level.txt +0 -0
jmcomic/__init__.py
CHANGED
jmcomic/jm_config.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
from common import time_stamp,
|
|
1
|
+
from common import time_stamp, field_cache, ProxyBuilder
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def shuffled(lines):
|
|
5
|
+
from random import shuffle
|
|
6
|
+
from common import str_to_list
|
|
7
|
+
ls = str_to_list(lines)
|
|
8
|
+
shuffle(ls)
|
|
9
|
+
return ls
|
|
2
10
|
|
|
3
11
|
|
|
4
12
|
def default_jm_logging(topic: str, msg: str):
|
|
@@ -68,7 +76,7 @@ class JmMagicConstants:
|
|
|
68
76
|
APP_TOKEN_SECRET = '18comicAPP'
|
|
69
77
|
APP_TOKEN_SECRET_2 = '18comicAPPContent'
|
|
70
78
|
APP_DATA_SECRET = '185Hcomic3PAPP7R'
|
|
71
|
-
APP_VERSION = '1.7.
|
|
79
|
+
APP_VERSION = '1.7.2'
|
|
72
80
|
|
|
73
81
|
|
|
74
82
|
# 模块级别共用配置
|
|
@@ -142,20 +150,19 @@ class JmModuleConfig:
|
|
|
142
150
|
APP_COOKIES = None
|
|
143
151
|
|
|
144
152
|
# 移动端图片域名
|
|
145
|
-
DOMAIN_IMAGE_LIST =
|
|
153
|
+
DOMAIN_IMAGE_LIST = shuffled('''
|
|
146
154
|
cdn-msp.jmapiproxy1.cc
|
|
147
155
|
cdn-msp.jmapiproxy2.cc
|
|
148
156
|
cdn-msp2.jmapiproxy2.cc
|
|
149
157
|
cdn-msp3.jmapiproxy2.cc
|
|
150
158
|
cdn-msp.jmapinodeudzn.net
|
|
151
159
|
cdn-msp3.jmapinodeudzn.net
|
|
152
|
-
|
|
153
160
|
''')
|
|
154
161
|
|
|
155
162
|
# 移动端API域名
|
|
156
|
-
DOMAIN_API_LIST =
|
|
157
|
-
www.jmapidestiny.xyz
|
|
163
|
+
DOMAIN_API_LIST = shuffled('''
|
|
158
164
|
www.jmeadpoolcdn.one
|
|
165
|
+
www.jmapiproxyxxx.one
|
|
159
166
|
www.jmeadpoolcdn.life
|
|
160
167
|
|
|
161
168
|
''')
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
jmcomic/__init__.py,sha256=
|
|
1
|
+
jmcomic/__init__.py,sha256=cQuQjkd78cNdav2sDA4MnmHTzAUSiIY_DMNOv8C2vjQ,903
|
|
2
2
|
jmcomic/api.py,sha256=40mzFEVhR0h_Ta-ub8vMfJ9yx89yvL09XMv9zK0QUvA,3865
|
|
3
3
|
jmcomic/cl.py,sha256=PBSh0JndNFZw3B7WJPj5Y8SeFdKzHE00jIwYo9An-K0,3475
|
|
4
4
|
jmcomic/jm_client_impl.py,sha256=dJvlhBs0aPxGgH4wsXEFPamHTsxgrmGUytbnv8TQLYk,39523
|
|
5
5
|
jmcomic/jm_client_interface.py,sha256=5JFSZEvAffDPh7oo8GQNVbm_Hdlmy_KYvTwrkY-OSA4,19074
|
|
6
|
-
jmcomic/jm_config.py,sha256=
|
|
6
|
+
jmcomic/jm_config.py,sha256=K5OURd2-nisXW4GcEdXYBcW8A2nDDsP-s5RXe7e-ouQ,16771
|
|
7
7
|
jmcomic/jm_downloader.py,sha256=0r4z7FRnow6xkRy_WTv7nLQOhYdtZmoouw0BNrhngco,10397
|
|
8
8
|
jmcomic/jm_entity.py,sha256=yjGz55r2UwCIhQLUEBHhx3-MAipBYLHqn4ofnqvg1GI,19090
|
|
9
9
|
jmcomic/jm_exception.py,sha256=B9APE1jw23JBzCT12eV_imCZny3mNrSXju1p2IquaHA,4801
|
|
10
10
|
jmcomic/jm_option.py,sha256=wmoOIwffM8b8fKUufRslXK5-bynD1nPXqc1sotXLIzQ,21918
|
|
11
11
|
jmcomic/jm_plugin.py,sha256=HlsT94kKooTNEiWqGHukD0y86GToPpPWELhzU3rQ0lk,36359
|
|
12
12
|
jmcomic/jm_toolkit.py,sha256=jU83ujluX_NxqwI7wwgoirJ_ZE2UmPBGvZCyVYnCJvQ,29164
|
|
13
|
-
jmcomic-2.5.
|
|
14
|
-
jmcomic-2.5.
|
|
15
|
-
jmcomic-2.5.
|
|
16
|
-
jmcomic-2.5.
|
|
17
|
-
jmcomic-2.5.
|
|
18
|
-
jmcomic-2.5.
|
|
13
|
+
jmcomic-2.5.19.dist-info/LICENSE,sha256=kz4coTxZxuGxisK3W00tjK57Zh3RcMGq-EnbXrK7-xA,1064
|
|
14
|
+
jmcomic-2.5.19.dist-info/METADATA,sha256=ghLNeR1Ukuz5Bw79BfHNeuPUqqHFw70SBcr5qgDQJ6k,7064
|
|
15
|
+
jmcomic-2.5.19.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
|
|
16
|
+
jmcomic-2.5.19.dist-info/entry_points.txt,sha256=tRbQltaGSBjejI0c9jYt-4SXQMd5nSDHcMvHmuTy4ow,44
|
|
17
|
+
jmcomic-2.5.19.dist-info/top_level.txt,sha256=puvVMFYJqIbd6NOTMEvOyugMTT8woBfSQyxEBan3zY4,8
|
|
18
|
+
jmcomic-2.5.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|