Undo last commmit
All checks were successful
buildbot/multibuild_parent Build done.
buildbot/travis_bionic Build done.

- well the reasons why it was faster was that it was only returning
  unauthenticated results
This commit is contained in:
Peter Šurda 2024-04-15 18:37:34 +08:00
parent 7bade8f3d5
commit cfd5200b29
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95

View File

@ -20,7 +20,7 @@ def get_combined(token):
req = urllib.request.Request(GITEA_REPO_URL
+ f"/repos/issues/search?state=open&{q}=true")
req.add_header("Accept", "application/json")
req.add_header("Authorization", token)
req.add_header("Authorization", "token" + token)
timestamp=datetime.datetime.now()
print(f"{timestamp} Requesting and parsing {q}")