Search results
Results From The WOW.Com Content Network
Now available on Stack Overflow for Teams! AI features where you work: search, IDE, and chat. Learn more Explore Teams
See this section in the MediaWiki API documentation, specifically involving getting the contents of the page. ...
I've been looking for a way to query the wikipedia api based on a search string for a list of articles with the following properties: Title; Snippet/Description; One or more images related to the article. I also have to make the query using jsonp. I've tried using the list=search parameter
Wikipedia search API get redirect pageID. Ask Question Asked 10 years, 7 months ago. Modified 8 years, 11 ...
Since 2017 Wikipedia provides a REST API with better caching. In the documentation you can find the following API which perfectly fits your use case (as it is used by the new Page Previews feature).
I am using wikipedia module in my python code. I would like to have an input from user to search from wikipedia and get 2 lines from its summary. Since there might be many topics with same name, I used like this. import wikipedia value=input ("Enter what u want to search") m=wikipedia.search (value,3) print (wikipedia.summary (m [0],sentences=2))
Using embeddedin does not allow you to search for a specific person, the search string becomes the Template:Persondata. The best way I've found to get only people from Wikipedia is to use list=search and filter the search using AND"Born"AND"Occupation":
Wikipedia search API get redirect pageID. 3. Wikipedia Page Id from URL. 2. Retrieving pageid from ...
17. I am trying to see the table of contents in a wikipedia page using Wikipedia API for Python using this code: >>> import wikipedia. >>> ny = wikipedia.page("New York") >>> ny.sections. But I am getting an empty list [] as the result. When I go to the page and check, I can see that there is content in the table of contents.
MediaWiki's API is running on Wikipedia (docs). You can also use the Special:Export feature to dump data and parse it yourself. More information. answered Mar 9, 2009 at 19:08. Ross.