clips / pattern

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
https://github.com/clips/pattern/wiki
BSD 3-Clause "New" or "Revised" License
8.72k stars 1.58k forks source link

Fix MediaWiki.index() #310

Closed maxmunzel closed 2 years ago

maxmunzel commented 4 years ago

The old code fetched non existing fields, resulting in an aborted iteration after the first "batch" of articles. This was probably due to a change in the underlying MediaWiki API.

Reference: https://meta.wikimedia.org/w/api.php?action=help&modules=query%2Ballpages

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.004%) to 67.464% when pulling 8cf3454d2a67782cc45b9635f2403e8566d58d2f on maxmunzel:master into d25511f9ca7ed9356b801d8663b8b5168464e68f on clips:master.