Merge pull request #234 from r0ckysec/master

fix github api 400 Bad Request
This commit is contained in:
Jing Ling
2021-11-19 10:59:32 +08:00
committed by GitHub
+2
View File
@@ -23,6 +23,8 @@ class GithubAPI(Search):
self.proxy = self.get_proxy(self.source)
self.header.update(
{'Accept': 'application/vnd.github.v3.text-match+json'})
self.header.update(
{'Authorization': 'token ' + self.token})
page = 1
while True: