WIP: 优化上传图片到Lsky Pro的逻辑,增加重试机制和超时设置;调整Markdown文件保存路径处理 #2
@ -187,6 +187,8 @@ def process_image_file(markdown_file_path):
|
|||||||
try:
|
try:
|
||||||
if not url.startswith(('http://', 'https://')):
|
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]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user