Wikipedia
Wikipedia copied to clipboard
Get wikipedia page with exact title
When I try to access page with title 'Ranchi', API returns page for 'Ranch':
>>> import wikipedia
>>> wikipedia.page('Ranchi')
<WikipediaPage 'Ranch'>
Is there any way to force API to return page for exact title passed?
Or should I be using wikipedia.WikipediaPage()
instead of wikipedia.page()
?
>>> wikipedia.WikipediaPage(title='Ranchi')
<WikipediaPage 'Ranchi'>
Set auto_suggest = False
while calling wikipedia.page
, .It returns page object according to the parameter provided #266