Relative Content

Tag Archive for wikipedia-api

Wikipedia API allpages generator returns duplicate titles

I have an issue while trying to download all the page titles in Wikipedia:
I’m using a generator=allpages in order to download all of the article titles and using the clcontinue parameter to get the next page but unfortunately, in the response, I often get titles that has been already returned.

Page not found Wikipedia-api

I’m trying to access https://en.wikipedia.org/wiki/2018_Winter_Olympics using the API but I get the error message The page you specified doesn't exist. According to the manual the URL should be https://en.wikipedia.org/w/api.php?action=parse&page=2018_winter_olympics. I tried many other websites using the same format and it works fine. Not sure why this one does not work, if its because of the digits or something?