thanks - that worked!
ᐧ

On Wed, Sep 12, 2018 at 1:41 AM Martin Urbanec <martin.urba...@wikimedia.cz>
wrote:

> Hi,
>
> A) look into wikipedia/wikipedia.py and change API_URL
> B) not applicable
> C) www.wikimedia.cz/mw/api.php.
>
> Best
> Martin
>
> Dne út 11. zář 2018 22:10 uživatel Fred Zimmerman <wfzimmer...@gmail.com>
> napsal:
>
>> Hi,
>>
>> 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
>> https://github.com/goldsmith/Wikipedia.
>>
>> 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
>>
>> and
>>
>> 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
>> --
>> Fred Zimmerman
>> _______________________________________________
>> Mediawiki-api mailing list
>> Mediawiki-api@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to