A command line tool that displays course information from the Caltech Catalog. In no way is this project affiliated or endorsed by the California Institute of Technology.
$ pip3 install -r requirements.txt
The project uses MySQL to set up the database. The following environment
variables are placed in a .env
file to connect to the database:
HOST=
USER=
PASSWORD=
DATABASE_NAME=
$ python3 scrape.py
$ python3 caltech-scraper.py
- Beautiful Soup Documentation: https://www.crummy.com/software/BeautifulSoup/bs4/doc/
- MySQL Connector Documentation: https://dev.mysql.com/doc/connector-python/en/
- Argparse Documentation: https://docs.python.org/3/library/argparse.html