diff --git a/main.py b/main.py index c058fc3..c5aacde 100644 --- a/main.py +++ b/main.py @@ -75,6 +75,9 @@ def render_html(shuoshuo_path, zhuanfa_path): image_html = '
' for img_url in img_url_lst: if img_url and img_url.startswith('http'): + # 将图片替换为高清图 + img_url = str(img_url).replace("/m&ek=1&kp=1", "/s&ek=1&kp=1") + img_url = str(img_url).replace(r"!/m/", "!/s/") image_html += f'图片\n' image_html += "
" comment_html = ""