From 05141046bdffad2bec473c0d68689b416192daa3 Mon Sep 17 00:00:00 2001 From: shmilylty Date: Tue, 17 Dec 2019 18:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=BF=9B=E8=A1=8C=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/common/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oneforall/common/search.py b/oneforall/common/search.py index 422c505..eb19fa9 100644 --- a/oneforall/common/search.py +++ b/oneforall/common/search.py @@ -47,7 +47,7 @@ class Search(Module): :return: 匹配的子域 :rtype set """ - resp = self.head(url, allow_redirects=False) + resp = self.head(url, check=False, allow_redirects=False) if not resp: return set() location = resp.headers.get('location')