From daa0f09a5ee54fc49f0dece46ff7401ba6b88b7a Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 13 Sep 2025 11:17:38 +0200 Subject: [PATCH] Increase timeout to 10s --- magic_spoiler/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic_spoiler/__main__.py b/magic_spoiler/__main__.py index ebac7973..b13f6f18 100644 --- a/magic_spoiler/__main__.py +++ b/magic_spoiler/__main__.py @@ -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