To learn about web scraping and HTML parsing, I'm using BeautifulSoup to get a list of course codes from academic plans of my university such as this.
Install dependencies
pip install -r requirements.txt
Run
python parse.py [url]
Or call it as a module import
from parse import parse_html
parse(your_url)
which will return a list of codes