This post will first show an easy way to scrape text from Wikipedia in a handful of lines of code then extract the same text using a more general way that can be applied to other websites.

#python #web-scraping #text-mining

Two simple ways to scrape text from Wikipedia in Python
4.20 GEEK