Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Ryuno-Ki/fcc-web-scraping-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FCC Web Scraping Example

This repo is accompanying an article on freeCodeCamp. It explains how to crawl a set of static sites as well as a Single Page Application.

Make sure, you update the dependencies locally, as I want to have the versions here pinned. Be aware, they they contain known vulnerabilities!

Local running

It is recommended to clone this repo into a virtual environment. The code was written in Python 3.6 on Sabayon Linux. However, other platforms should be supported as well.

virtualenv fcc-web-scraping-example --python=python3
cd fcc-web-scraping-example
. bin/activate
git clone https://github.com/Ryuno-Ki/fcc-web-scraping-example.git src
cd src
pip install -r requirements.txt
python scraper.py
python crawler.py

Testing

For testing, you'll need to install the package locally as well.

pip install -e .
python -m pytest tests/

License

GPL v3 or later. See LICENSE.

About

The accompanying repo for scraping a website using Python 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages