Web Scraping Using Python 3 and BeautifulSoup4 — Part 1

Overview

  • Introduction
  • Requirements
  • Setting Up your Environment
  • Learning Web Scraping using Python 3 & Beautifulsoup4

Introduction

Requirements

  1. Visual Studio Code — This can be downloaded here (Note: You can also use any IDE of your choosing. I feel comfortable using VS Code)
  2. Python 3 — Download from this link
  3. Install VirtualEnv, to create a virtual environment for running your project.

Setting Up Your Environment

  1. Create a folder in any location of your choice. Mine will be ‘C:\Users\username\Desktop\PyScraping’
  2. Installing VirtualEnv — Run Windows CMD as Administrator, type ‘pip install virtualenv’ and ‘pip install virtualenvwrapper-win’
  3. Navigate to your project folder using terminal on VS Code — simply run ‘pip install requests beautifulsoup4’ to install requests and beautifulsoup4 libraries.

Learning Web Scraping using Python 3 & Beautifulsoup4

What is Web Scraping?

Tutorial

Setup Virtual Environment

Timmy Iwoni
·
2 min
·
4 cards

Read “Web Scraping Using Python 3 and BeautifulSoup4 — Part 1” on a larger screen, or in the Medium app!

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store