mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
Merge pull request #234 from r0ckysec/master
fix github api 400 Bad Request
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user