mirror of
https://github.com/hect0x7/JMComic-Crawler-Python.git
synced 2025-09-26 22:31:30 +08:00
v2.6.2: 兼容python3.7语法,无功能更新 (#451)
Some checks failed
Auto Release & Publish / release (push) Has been cancelled
Some checks failed
Auto Release & Publish / release (push) Has been cancelled
This commit is contained in:
parent
d633a5de73
commit
ede6817fa8
@ -2,7 +2,7 @@
|
||||
# 被依赖方 <--- 使用方
|
||||
# config <--- entity <--- toolkit <--- client <--- option <--- downloader
|
||||
|
||||
__version__ = '2.6.1'
|
||||
__version__ = '2.6.2'
|
||||
|
||||
from .api import *
|
||||
from .jm_plugin import *
|
||||
|
@ -1033,7 +1033,7 @@ class JmApiClient(AbstractJmClient):
|
||||
jm_log('api.update_domain.empty',
|
||||
f'获取禁漫最新API域名失败, 返回值: {res_json}')
|
||||
return
|
||||
new_server_list: list[str] = res_data['Server']
|
||||
new_server_list: List[str] = res_data['Server']
|
||||
old_server_list = JmModuleConfig.DOMAIN_API_LIST
|
||||
jm_log('api.update_domain.success',
|
||||
f'获取到最新的API域名,替换jmcomic内置域名:(new){new_server_list} ---→ (old){old_server_list}'
|
||||
|
@ -134,7 +134,7 @@ class DirRule:
|
||||
return str(DetailEntity.get_dirname(detail, rule[1:]))
|
||||
|
||||
# noinspection PyMethodMayBeStatic
|
||||
def split_rule_dsl(self, rule_dsl: str) -> list[str]:
|
||||
def split_rule_dsl(self, rule_dsl: str) -> List[str]:
|
||||
if '/' in rule_dsl:
|
||||
rule_list = rule_dsl.split('/')
|
||||
elif '_' in rule_dsl:
|
||||
|
Loading…
Reference in New Issue
Block a user