diff --git a/data/red/main.py b/data/red/main.py index 849f6b1b..52a2d45e 100755 --- a/data/red/main.py +++ b/data/red/main.py @@ -5,10 +5,13 @@ import json import logging import multiprocessing +import ssl import os from urllib.parse import urlparse from urllib.request import Request, urlopen +ssl._create_default_https_context = ssl._create_unverified_context + HTTP_TIMEOUT = 60 # TODO: mozna nebude treba, mozna budou URL nemenne