diff --git a/src/__init__.py b/src/__init__.py index 3e67c36d..d07c958e 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -1 +1 @@ -__version__ = "5.5.7" +__version__ = "5.5.8" diff --git a/src/gui/importer/common.py b/src/gui/importer/common.py index 5936b375..99b1602d 100644 --- a/src/gui/importer/common.py +++ b/src/gui/importer/common.py @@ -97,7 +97,10 @@ def get_class_name(input_str: str) -> str: def get_with_retry(url: str) -> requests.Response: for _ in range(5): - r = requests.get(url) + headers = { + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" + } + r = requests.get(url, headers=headers) if r.status_code == 200: return r Logger.debug(f"Request {url} failed with status code {r.status_code}, retrying...")