From 5d7bdbbcea53ebf3199d24fc9ae9d99227c01156 Mon Sep 17 00:00:00 2001 From: Jing Ling Date: Sat, 15 Aug 2020 18:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/finder.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/finder.py b/modules/finder.py index 1982354..492aafd 100644 --- a/modules/finder.py +++ b/modules/finder.py @@ -119,7 +119,8 @@ def filter_url(domain, url, black_name): try: raw_url = parse.urlparse(url) except Exception as e: # 解析失败则跳过该URL - logger.log('DEBUG', url, e.args) + logger.log('DEBUG', url) + logger.log('DEBUG', e.args) return True scheme = raw_url.scheme.lower() if not scheme: