game: Inventar und fünf Vollbilder in 1920 — Titel scharf, Startgepäck
This commit is contained in:
parent
5b11e770b8
commit
3fae74b1e8
56 changed files with 795 additions and 84 deletions
|
|
@ -66,7 +66,8 @@ def api(url: str, key: str, payload: dict | None = None) -> tuple[dict, dict]:
|
|||
"Authorization": f"Key {key}",
|
||||
"Content-Type": "application/json",
|
||||
})
|
||||
with urllib.request.urlopen(req, timeout=180) as r:
|
||||
# 1920x1080 über [pro] kann über drei Minuten brauchen.
|
||||
with urllib.request.urlopen(req, timeout=300) as r:
|
||||
return json.loads(r.read().decode()), dict(r.headers)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue