Parsing a Wikipedia dump

前端 未结 9 1260
生来不讨喜
生来不讨喜 2020-12-03 05:33

For example using this Wikipedia dump:

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=lebron%20james&rvprop=content&redirects=t

9条回答
  •  失恋的感觉
    2020-12-03 06:04

    I would say look at using Beautiful Soup and just get the Wikipedia page in HTML instead of using the API.

    I'll try and post an example.

提交回复
热议问题