From 6ba4fc7e35eba180e134feae8cc2771d48759a76 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 8 Jan 2020 15:38:35 +0000 Subject: [PATCH] Correct URL for commons API. --- depicts/commons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depicts/commons.py b/depicts/commons.py index ba73134..ccac806 100644 --- a/depicts/commons.py +++ b/depicts/commons.py @@ -1,6 +1,6 @@ from . import mediawiki, utils -commons_url = 'https://www.wikidata.org/w/api.php' +commons_url = 'https://commons.wikimedia.org/w/api.php' page_size = 50 def image_detail(filenames, thumbheight=None, thumbwidth=None):