v2.5.19: 更新禁漫最新可用线路(#279)

This commit is contained in:
hect0x7 2024-08-26 22:10:22 +08:00 committed by GitHub
parent ccfc4c9ea2
commit c50ca791f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# 被依赖方 <--- 使用方
# config <--- entity <--- toolkit <--- client <--- option <--- downloader
__version__ = '2.5.18'
__version__ = '2.5.19'
from .api import *
from .jm_plugin import *

View File

@ -1,4 +1,12 @@
from common import time_stamp, str_to_list, field_cache, ProxyBuilder
from common import time_stamp, field_cache, ProxyBuilder
def shuffled(lines):
from random import shuffle
from common import str_to_list
ls = str_to_list(lines)
shuffle(ls)
return ls
def default_jm_logging(topic: str, msg: str):
@ -68,7 +76,7 @@ class JmMagicConstants:
APP_TOKEN_SECRET = '18comicAPP'
APP_TOKEN_SECRET_2 = '18comicAPPContent'
APP_DATA_SECRET = '185Hcomic3PAPP7R'
APP_VERSION = '1.7.1'
APP_VERSION = '1.7.2'
# 模块级别共用配置
@ -142,20 +150,19 @@ class JmModuleConfig:
APP_COOKIES = None
# 移动端图片域名
DOMAIN_IMAGE_LIST = str_to_list('''
DOMAIN_IMAGE_LIST = shuffled('''
cdn-msp.jmapiproxy1.cc
cdn-msp.jmapiproxy2.cc
cdn-msp2.jmapiproxy2.cc
cdn-msp3.jmapiproxy2.cc
cdn-msp.jmapinodeudzn.net
cdn-msp3.jmapinodeudzn.net
''')
# 移动端API域名
DOMAIN_API_LIST = str_to_list('''
www.jmapidestiny.xyz
DOMAIN_API_LIST = shuffled('''
www.jmeadpoolcdn.one
www.jmapiproxyxxx.one
www.jmeadpoolcdn.life
''')