barrust/mediawiki

Can not use this api

Harry-Jing opened this issue · 1 comments

from mediawiki import MediaWiki
wiki = MediaWiki('https://zh.moegirl.org.cn/api.php')

that‘s show is a invalid URL

I have tried loading the API link in a normal browser and it isn't loading for me. It could be that the API is not turned on or that it is behind some kind of firewall.

If it is turned on for the MediaWiki site than you should get a page similar to the Wikipedia API site: https://en.wikipedia.org/w/api.php