Skip to content
#

wikipedia

Here are 1,125 public repositories matching this topic...

Istador
Istador commented Aug 22, 2019

Example 1:

wtf('[[Page 1]], [[Page 1]]').sentences(0).html()

Result:

<span class="sentence"><a class="link" href="./Page_1"><a class="link" href="./Page_1">Page 1</a></a>, Page 1</span>

Expected Result:

<span class="sentence"><a class="link" href="./Page_1">Page 1</a>, <a class="link" href="./Page_1">Page 1</a></span>

Example 2:

wt
asifkhan69
asifkhan69 commented Oct 1, 2019

Can we get more detail documentation with examples specially how to get data for wikidata method once it is fetched such as to get "date of birth, gender" which can cover for people who are new to python. There are examples but not enough to utilise this great package for usage.

nnt0
nnt0 commented Mar 17, 2018

Hi,

im trying to use random() and recentchanges() but everytime i print the output of one of them i get this:

>>random = site.random(namespace=0, limit=10)
>>random
<List object 'random' for <Site object 'test.wikipedia.org/w/'>>

and the same for recentchanges()

>>> recent = site.recentchanges()
>>> recent
`<List object 'recentchanges' for <Site object 'test.wikipedia.or

Improve this page

Add a description, image, and links to the wikipedia topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the wikipedia topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.