| Dvorapa added a comment. |
As @zhuyifei1999 suggested, you should make sure the api uri properly if it leads where it should and set the proper uri to def apipath(): return 'http://path to api.php' into your family file.
Also you should check the output what you get from API, what it looks like. Try to print what you actually get by Pywikibot and compare it to what you get with your script. That should help us find the issue inside Pywikibot's code if any.
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: zhuyifei1999, Chicocvenancio, Framawiki, Dvorapa, Aklapper, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: zhuyifei1999, Chicocvenancio, Framawiki, Dvorapa, Aklapper, pywikibot-bugs-list, Sc4s2cg, Magul, Tbscho, MayS, Salgo60, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
