Scraping the Auckland SNC Hockey website one symbol at a time. (http://www.aucklandsnchockey.com)
At the time of writing this all the scraping is done in Beautiful Soup 4. There are plans to move it to use Scrapy later down the lines.
This repository uses Scrapy and Python3. To get set up do the following:
- Install python3
- Set up a virtual environment
virtualenv venv
orvirtualenv -p python3 venv
- Activate your virtual environment with
source venv/bin/activate
cd
into this repo- Run
pip install -r requirements.txt
- Write awesome code
python src/main.py
(builds not yet implemented)
from bs4 import BeautifulSoup
import requests
r = requests.get([url goes here])
soup = BeautifulSoup(r.text, 'lxml')