mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 21:07:50 +08:00
bing搜索模块,判断下一页条件编写错误!
This commit is contained in:
@@ -46,7 +46,7 @@ class Bing(Search):
|
|||||||
# 合并搜索子域名搜索结果
|
# 合并搜索子域名搜索结果
|
||||||
self.subdomains = self.subdomains.union(subdomains)
|
self.subdomains = self.subdomains.union(subdomains)
|
||||||
# 搜索页面没有出现下一页时停止搜索
|
# 搜索页面没有出现下一页时停止搜索
|
||||||
if '<div class="sw_next>' not in resp.text:
|
if '<div class="sw_next">' not in resp.text:
|
||||||
break
|
break
|
||||||
self.page_num += self.per_page_num
|
self.page_num += self.per_page_num
|
||||||
if self.page_num >= self.limit_num: # 搜索条数限制
|
if self.page_num >= self.limit_num: # 搜索条数限制
|
||||||
|
|||||||
Reference in New Issue
Block a user