Skip to content

Latest commit

 

History

History

web-scraping-bs4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Beautiful Soup: Build a Web Scraper With Python

This repository contains scraper.py, which is the sample script built in the Real Python tutorial Beautiful Soup: Build a Web Scraper With Python.

Installation and Setup

  1. Create a Python virtual environment
$ python -m venv venv/
$ source venv/bin/activate
(venv) $
  1. Install the requirements
(venv) $ pip install -r requirements.txt

Run the Scraper

Run the scraper script:

(venv) $ python scraper.py

You'll see the filtered and formatted Python job listings from the Fake Python job board printed to your console.

About the Author

Martin Breuss - Email: martin@realpython.com

License

Distributed under the MIT license. See LICENSE for more information.