diff --git a/src/zbmath_rest2oai/getAsXml.py b/src/zbmath_rest2oai/getAsXml.py index bd29fa5..2114879 100644 --- a/src/zbmath_rest2oai/getAsXml.py +++ b/src/zbmath_rest2oai/getAsXml.py @@ -115,7 +115,7 @@ def api_doc_endpoint(page): return dict_res def final_xml2(api_source, prefix): headers = {'Accept': 'application/json'} - r = requests.get(api_source, headers=headers) + r = requests.get(api_source, headers=headers, timeout=(10, 60)) if r.status_code == 404: json = r.json() if json['status']['execution'].startswith('Entry not found!'):