DEV Community

Discussion on: Extracting info from Wikipedia in python

Collapse
 
wjplatformer profile image
Wj • Edited

Although getting from a Wikipedia API is fine, but not all information found on websites would provide you with an API. An API is a source of info scraped from a website or retrieved from a database such as SQL.

An example Databases include :

  1. The GH Rest API and
  2. a web-scraped GH API by LogSkele called Gitcollect.
  3. This Wikipedia python module

So if a website has no API, you can still get information from it!

Using BS4 or Beautiful Soup 4 A python module to web scrape information from a website where you can do requests. It's a really useful module to add to your skillset!
You can use Web Scraping!

Collapse
 
sehgalspandan profile image
Spandan Sehgal

Yeah thanks for sharing, I know that but this script is for using just the Wikipedia module.

Collapse
 
wjplatformer profile image
Wj

ok then 😀