[SOLVED] problem in pywikibot login to third-party wiki
Fragment of a discussion from Project talk:Support desk/Archive 1
You should be using http://westeros.ir/wiki/api.php for your api.php. BTW: added to wikiapiary.
☠MarkAHershberger☢(talk)☣
Yes, as you see I want use http://westeros.ir/wiki/api.php and defined apipath in westeros_family.py file like this:
def apipath(self, code): return '/wiki'
I wonder why I'm receiving this error. I never mentioned '/w' folder anywhere! Is there any way to fix this?
PS: Thanks for adding to wikiapary.
I'm afraid I don't know much about this. Looks like you got an answer from your post on Pywikipediabot page, though.
☠MarkAHershberger☢(talk)☣