mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
不进行响应检查
This commit is contained in:
@@ -47,7 +47,7 @@ class Search(Module):
|
|||||||
:return: 匹配的子域
|
:return: 匹配的子域
|
||||||
:rtype set
|
:rtype set
|
||||||
"""
|
"""
|
||||||
resp = self.head(url, allow_redirects=False)
|
resp = self.head(url, check=False, allow_redirects=False)
|
||||||
if not resp:
|
if not resp:
|
||||||
return set()
|
return set()
|
||||||
location = resp.headers.get('location')
|
location = resp.headers.get('location')
|
||||||
|
|||||||
Reference in New Issue
Block a user