Correct URL for commons API.
This commit is contained in:
parent
c2ba2c988c
commit
6ba4fc7e35
|
@ -1,6 +1,6 @@
|
||||||
from . import mediawiki, utils
|
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
|
page_size = 50
|
||||||
|
|
||||||
def image_detail(filenames, thumbheight=None, thumbwidth=None):
|
def image_detail(filenames, thumbheight=None, thumbwidth=None):
|
||||||
|
|
Loading…
Reference in a new issue