From a94001e7e24bc7878070873cc2547df82d872c75 Mon Sep 17 00:00:00 2001 From: shmilylty Date: Sat, 30 Nov 2019 20:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgithub=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=95=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oneforall/modules/search/github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oneforall/modules/search/github.py b/oneforall/modules/search/github.py index a4d7a2a..43ccf17 100644 --- a/oneforall/modules/search/github.py +++ b/oneforall/modules/search/github.py @@ -101,7 +101,7 @@ class Github(Search): # 搜索中发现搜索出的结果有完全重复的结果就停止搜索 if subdomains.issubset(self.subdomains): break - if 'class="next_page disabled"' in resp.text: + if 'class="next_page"' not in resp.text: break if page_num > 100: break @@ -132,4 +132,4 @@ def do(domain): # 统一入口名字 方便多线程调用 if __name__ == '__main__': - do('mi.com') + do('example.com')