I'm really not sure: it's highly specialized to scrape the pages of that particular course and output it in my own HTML and CSS classes. Luckily for me, their format is quite standard across chapters, but may not be across courses, and I didn't write the code to be modular or adaptive given my need (and the fact that I'm learning Python, not application design).
Still, the code lives in a git repo, so it's not excluded that I'll make it evolve to something more generic and maintainable in the future. But today, it's my own little dirty code that I will jealously keep and hide like that lewd drawing I did when I was a teenager.