Increase providers fetching timeout

This commit is contained in:
Gui Vieira
2024-11-01 18:54:40 -03:00
parent 9b142e580b
commit 57201fb856

View File

@@ -164,7 +164,7 @@ def fetch_provider_data(cache_file):
- dict or None: The fetched provider data or None if the operation fails.
"""
try:
response = requests.get(JSON_URL, stream=True, timeout=10)
response = requests.get(JSON_URL, stream=True, timeout=60)
response.raise_for_status()
data = download_data(response)
with open(cache_file, "w") as f: