Python

Web Scraping

Web Scraping

The explosion of the internet has been a boon for data enthusiasts. There is more information on the Internet than any human can absorb in a lifetime. The variety and quantity of data that is available today through the internet is like a treasure trove of secrets and mysteries waiting to be solved.

For example, Google runs many web scraping programs to index web pages for its search engine. Guess, You are planning to travel – how about scraping a few travel recommendation sites, pull out comments about various do to things and see which property is getting a lot of positive responses from the users! The list of use cases is endless and that is why you need Web scraping!!

Web scraping automatically extracts data and presents it in a format you can easily make sense of. Web scraping can be used in a wide variety of situations. If you’re an avid investor, getting closing prices every day can be a pain, especially when the information you need is found across several webpages. Building a web scraper makes data extraction easier to retrieve stock indices automatically from the Internet. In this program, we have tried to extract the ‘List of State and Union Territory Capitals in India’ using Python.