From bc871faad00acc6af38768de5ae3f5a4fb92511d Mon Sep 17 00:00:00 2001 From: glowzz <24627181@qq.com> Date: Tue, 25 Mar 2025 09:38:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E7=89=87URL?= =?UTF-8?q?=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=A4=84=E7=90=86=E4=BF=A1=E6=81=AF=E8=BE=93=E5=87=BA=E5=B9=B6?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dialogue_download_change.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dialogue_download_change.py b/dialogue_download_change.py index f1f9948..2a242d5 100644 --- a/dialogue_download_change.py +++ b/dialogue_download_change.py @@ -186,7 +186,9 @@ def process_image_file(markdown_file_path): for url in image_urls: try: if not url.startswith(('http://', 'https://')): - if 'image.lqsjy.cn' not in url: + if 'image.lqsjy.cn' not in url: + print(f"处理中: {url}") + url = url.split(' ')[0]