From 42a41ede6d02b04bafff430ddfad5c6d136bb97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B8=A2=E4=BD=8E=E5=90=B8?= Date: Tue, 18 Jul 2023 03:00:12 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoBuild/tw_165.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoBuild/tw_165.py b/AutoBuild/tw_165.py index cf4cb18..c1b5a31 100644 --- a/AutoBuild/tw_165.py +++ b/AutoBuild/tw_165.py @@ -39,14 +39,14 @@ def main(): raise domains = dict.fromkeys([ - urlparse(row['WEBURL']).hostname if row['WEBURL'].startwith('http') else urlparse('http://'+row['WEBURL']).hostname + urlparse(row['WEBURL']).hostname if row['WEBURL'].startswith('http') else urlparse('http://'+row['WEBURL']).hostname for row in r_json[1:] ]) r = fetchdata(csvurl) domains.update(dict.fromkeys( [ - urlparse(x.split(',')[1]).hostname if x.split(',')[1].startwith('http') else urlparse('http://'+x.split(',')[1]).hostname + urlparse(x.split(',')[1]).hostname if x.split(',')[1].startswith('http') else urlparse('http://'+x.split(',')[1]).hostname for x in r.text.splitlines()[2:] ] ))