Correct URL for commons API.

This commit is contained in:
Edward Betts 2020-01-08 15:38:35 +00:00
parent c2ba2c988c
commit 6ba4fc7e35

View file

@ -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):