Downloading files from web using Python

Note: This article has also featured on .

Requests is a versatile HTTP library in python with various applications. One of its applications is to download a file from web using the file URL.
Installation: First of all, you would need to download the requests library. You can directly install it using pip by typing following command:Read More »

Implementing Web Scraping in Python with Beautiful Soup

Note: This article has also featured on .

There are mainly two ways to extract data from a website:

  • Use the API of the website (if it exists). For example, facebook has the Facebook Graph API which allows retrieval of data posted on facebook.
  • Access the HTML of the webpage and extract useful information/data from it. This technique is called web scraping or web harvesting or web data extraction.

This article discusses the steps involved in web scraping using Python.Read More »

Back to top