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.
Files changed (23) hide show
  1. {jmcomic-2.5.17/src/jmcomic.egg-info → jmcomic-2.5.19}/PKG-INFO +1 -1
  2. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/__init__.py +1 -1
  3. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_config.py +20 -12
  4. {jmcomic-2.5.17 → jmcomic-2.5.19/src/jmcomic.egg-info}/PKG-INFO +1 -1
  5. {jmcomic-2.5.17 → jmcomic-2.5.19}/LICENSE +0 -0
  6. {jmcomic-2.5.17 → jmcomic-2.5.19}/README.md +0 -0
  7. {jmcomic-2.5.17 → jmcomic-2.5.19}/setup.cfg +0 -0
  8. {jmcomic-2.5.17 → jmcomic-2.5.19}/setup.py +0 -0
  9. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/api.py +0 -0
  10. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/cl.py +0 -0
  11. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_client_impl.py +0 -0
  12. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_client_interface.py +0 -0
  13. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_downloader.py +0 -0
  14. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_entity.py +0 -0
  15. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_exception.py +0 -0
  16. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_option.py +0 -0
  17. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_plugin.py +0 -0
  18. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic/jm_toolkit.py +0 -0
  19. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/SOURCES.txt +0 -0
  20. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/dependency_links.txt +0 -0
  21. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/entry_points.txt +0 -0
  22. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/requires.txt +0 -0
  23. {jmcomic-2.5.17 → jmcomic-2.5.19}/src/jmcomic.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jmcomic
3
- Version: 2.5.17
3
+ Version: 2.5.19
4
4
  Summary: Python API For JMComic (禁漫天堂)
5
5
  Home-page: https://github.com/hect0x7/JMComic-Crawler-Python
6
6
  Author: hect0x7
@@ -2,7 +2,7 @@
2
2
  # 被依赖方 <--- 使用方
3
3
  # config <--- entity <--- toolkit <--- client <--- option <--- downloader
4
4
 
5
- __version__ = '2.5.17'
5
+ __version__ = '2.5.19'
6
6
 
7
7
  from .api import *
8
8
  from .jm_plugin import *
@@ -1,4 +1,12 @@
1
- from common import time_stamp, str_to_list, field_cache, ProxyBuilder
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.1'
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 = str_to_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 = str_to_list('''
155
- www.jmapinodeudzn.xyz
156
- www.cdn-eldenringproxy.xyz
157
- www.cdn-eldenringproxy.me
158
- www.cdn-eldenringproxy.vip
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
  # 网页端域名配置
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jmcomic
3
- Version: 2.5.17
3
+ Version: 2.5.19
4
4
  Summary: Python API For JMComic (禁漫天堂)
5
5
  Home-page: https://github.com/hect0x7/JMComic-Crawler-Python
6
6
  Author: hect0x7
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes