Wikipedia
Wikipedia copied to clipboard
A Pythonic wrapper for the Wikipedia API
This comes from a simple wikipedia.page(title) call. I do not have access to the particular title in question, unfortunately.
Whenever I run the line `wikipedia.page("New York City")` The api returns an error indicating there is no page for 'new york sity'. The error occurs on line 270 of wikipedia.py...
Hi I'm trying to read the pages (category members) and subcategories in category "[Prime Ministers of Sweden](https://en.wikipedia.org/wiki/Category:Prime_Ministers_of_Sweden)" by doing `pm = wikipedia.page("Category:Prime_Ministers_of_Sweden")`. However, `pm.__dict__` doesn't show pages and `_sections` is...
I can not use almost any function of **wikipidia** module. It always returns to me the connection error. My original code is: `wikipedia.search("Barack")` It gives me the error: `Traceback (most...
I am looking for a way to get an information from a side panel of wikipedia website, example:[ https://en.wikipedia.org/wiki/Netflix]( https://en.wikipedia.org/wiki/Netflix) (the panel on the right) I was trying using this:...
This is my code: ```python import wikipedia wikipedia.summary("theresa may") ``` but for some reasons, it ran into error, and saying that I am giving "teresa may" as input??? ``` PageError:...
Can u add proxy functionality I can add proxies argument if I directly use requests! Maybe you can need an interface?
I am running a script on many page of Wikipedia, and I regularly get the following warning: > /home/jehan/.local/lib/python3.4/site-packages/bs4/**init**.py:166: UserWarning: No parser was explicitly specified, so I'm using the best...
Fixes #279 and related. There are already at least four proposed fixes to this bug ( #305 #297 #287 #253 ), but none of them quite succeed so here's a...
* Fix #304 * Fallback to original title if wikipedia.org suggest API returns a nonexistent page title or no suggestions * Add BAD SUGGESTION warnings when Wikipedia.org suggests nonexsitent titles