jmcomic 2.5.17__tar.gz → 2.5.19__tar.gz
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-2.5.17/src/jmcomic.egg-info → jmcomic-2.5.19}/PKG-INFO +1 -1
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/__init__.py +1 -1
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_config.py +20 -12
- {jmcomic-2.5.17 → jmcomic-2.5.19/src/jmcomic.egg-info}/PKG-INFO +1 -1
- {jmcomic-2.5.17 → jmcomic-2.5.19}/LICENSE +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/README.md +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/setup.cfg +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/setup.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/api.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/cl.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_client_impl.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_client_interface.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_downloader.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_entity.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_exception.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_option.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_plugin.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_toolkit.py +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/SOURCES.txt +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/dependency_links.txt +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/entry_points.txt +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/requires.txt +0 -0
- {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/top_level.txt +0 -0
|
@@ -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,21 +150,21 @@ class JmModuleConfig:
|
|
|
142
150
|
APP_COOKIES = None
|
|
143
151
|
|
|
144
152
|
# 移动端图片域名
|
|
145
|
-
DOMAIN_IMAGE_LIST =
|
|
153
|
+
DOMAIN_IMAGE_LIST = shuffled('''
|
|
154
|
+
cdn-msp.jmapiproxy1.cc
|
|
155
|
+
cdn-msp.jmapiproxy2.cc
|
|
156
|
+
cdn-msp2.jmapiproxy2.cc
|
|
157
|
+
cdn-msp3.jmapiproxy2.cc
|
|
146
158
|
cdn-msp.jmapinodeudzn.net
|
|
147
|
-
cdn-msp2.jmapinodeudzn.net
|
|
148
|
-
cdn-msp2.jmapiproxy3.cc
|
|
149
159
|
cdn-msp3.jmapinodeudzn.net
|
|
150
|
-
|
|
151
160
|
''')
|
|
152
161
|
|
|
153
162
|
# 移动端API域名
|
|
154
|
-
DOMAIN_API_LIST =
|
|
155
|
-
www.
|
|
156
|
-
www.
|
|
157
|
-
www.
|
|
158
|
-
|
|
159
|
-
www.jmapinode.xyz
|
|
163
|
+
DOMAIN_API_LIST = shuffled('''
|
|
164
|
+
www.jmeadpoolcdn.one
|
|
165
|
+
www.jmapiproxyxxx.one
|
|
166
|
+
www.jmeadpoolcdn.life
|
|
167
|
+
|
|
160
168
|
''')
|
|
161
169
|
|
|
162
170
|
# 网页端域名配置
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|