Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 676 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 676 Bytes

matrufsc-crawler

Crawler to extract information from UFSC's CAGR service.

Intro

This project aims to generate a JSON with all relevant course data from UFSC's 'Cadastro de Turmas' page.

Setup

This project uses poetry as the dependency manager. Install dependencies and run with:

poetry install
poetry run matrufsc-crawler ./db.json

If you have pip>=19 installed, it already supports PEP517 build backends, so you can just pip install it.

Usage as library

import matrufsc_crawler as crawler

data = crawler.run()
with open("./db.json", "w") as f:
    json.dump(data, f)