Skip to content

Commit 0bd6f1e

Browse files
committed
v2.6.20: 同步禁漫html正则表达式
1 parent 9bea7ca commit 0bd6f1e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/jmcomic/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# 被依赖方 <--- 使用方
33
# config <--- entity <--- toolkit <--- client <--- option <--- downloader
44

5-
__version__ = '2.6.19'
5+
__version__ = '2.6.20'
66

77
from .api import *
88
from .jm_plugin import *

src/jmcomic/jm_toolkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class JmcomicText:
2626
pattern_html_album_album_id = compile(r'<span class="number">.*?:JM(\d+)</span>')
2727
pattern_html_album_scramble_id = compile(r'var scramble_id = (\d+);')
2828
pattern_html_album_name = compile(r'id="book-name"[^>]*?>([\s\S]*?)<')
29-
pattern_html_album_description = compile(r'叙述:([\s\S]*?)</h2>')
29+
pattern_html_album_description = compile(r'[叙|敘]述:([\s\S]*?)</h2>')
3030
pattern_html_album_episode_list = compile(r'data-album="(\d+)"[^>]*>[\s\S]*?第(\d+)[话話]([\s\S]*?)<[\s\S]*?>')
3131
pattern_html_album_page_count = compile(r'<span class="pagecount">.*?:(\d+)</span>')
3232
pattern_html_album_pub_date = compile(r'>上架日期 : (.*?)</span>')

0 commit comments

Comments
 (0)