优化图片URL处理逻辑,增加处理信息输出并去除多余空格
This commit is contained in:
		@@ -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]            
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    
 | 
					                    
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user