mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
去掉无用的参数
This commit is contained in:
@@ -26,7 +26,7 @@ class Baidu(Search):
|
|||||||
# 获取搜索结果中所有的跳转URL地址
|
# 获取搜索结果中所有的跳转URL地址
|
||||||
for find_res in bs.find_all('a', {'class': 'c-showurl'}):
|
for find_res in bs.find_all('a', {'class': 'c-showurl'}):
|
||||||
url = find_res.get('href')
|
url = find_res.get('href')
|
||||||
subdomains = self.match_location(domain, url)
|
subdomains = self.match_location(url)
|
||||||
subdomains_all = subdomains_all.union(subdomains)
|
subdomains_all = subdomains_all.union(subdomains)
|
||||||
return subdomains_all
|
return subdomains_all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user