Increase timeout to 10s
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled

This commit is contained in:
tooomm 2025-09-13 11:17:38 +02:00 committed by GitHub
parent 85e4bd093b
commit daa0f09a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,7 +101,7 @@ def json_download(scryfall_url: str) -> Dict[str, Any]:
:return: JSON object of the Scryfall data
"""
session = __get_session()
response: Any = session.get(url=scryfall_url, timeout=5.0)
response: Any = session.get(url=scryfall_url, timeout=10.0)
request_api_json: Dict[str, Any] = response.json()
print("Downloaded: {} (Cache = {})".format(scryfall_url, response.from_cache))
return request_api_json