thanks - that worked!

On Wed, Sep 12, 2018 at 1:41 AM Martin Urbanec <> wrote:

A) look into wikipedia/ and change API_URL
B) not applicable


Dne út 11. zář 2018 22:10 uživatel Fred Zimmerman <> napsal:

I am trying to adapt a program that searches and fetches pages from the main US Wikipedia to do the same against a private MediaWiki installation.  The program is written using the  wikipedia python library

Unfortunately, I cannot figure out how to get the library to "point" at other Mediawikis than the Wikipedia ones.

Can anyone either

a) show me how to change the target endpoint with this library or
b) point me to another Python library where I can do the same


c) provide me with an URL to a publicly accessible non-Wikipedia Mediawiki site with API that I can use to test the results of a/b?

Any help will be much appreciated.

Fred Zimmerman
Mediawiki-api mailing list
Mediawiki-api mailing list