From 5def7e80adc465406f326a149edf95b5ea4e2fb3 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 7 Oct 2019 10:37:47 +0100 Subject: [PATCH] Increase timeout for talking to wikibase. --- depicts/mediawiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depicts/mediawiki.py b/depicts/mediawiki.py index 27ae4a9..72cc8b1 100644 --- a/depicts/mediawiki.py +++ b/depicts/mediawiki.py @@ -18,7 +18,7 @@ def api_call(params, api_url=wikidata_url): **params, } - r = requests.get(api_url, params=call_params, timeout=2) + r = requests.get(api_url, params=call_params, timeout=5) return r def get_entity(qid):