Wikipedia icon indicating copy to clipboard operation
Wikipedia copied to clipboard

Correct suggestions

Open co-sty opened this issue 9 years ago • 2 comments

As pointed in issue #108

This modifies the current behavior of the auto_suggest option of wikipedia.page(): if a spelling correction is provided by Wikipedia, then relaunch the search with that spelling, otherwise use the first search result.

Testing data (mock data) was modified accordingly.

co-sty avatar Dec 07 '16 17:12 co-sty

Here's another improved version of the wikipedia.page() function: https://github.com/goldsmith/Wikipedia/issues/227#issuecomment-712565190

alphapapa avatar Oct 20 '20 03:10 alphapapa

On the other hand, this library seems to work well as an alternative: https://github.com/barrust/mediawiki

alphapapa avatar Oct 20 '20 04:10 alphapapa