Closed CTrando closed 5 years ago
Looks good. However, rather than manually having to close the browser (which could result in memory leaks if you run into an exception midway through the program), why don't you implement Python's try-with-resources? You can implement this through __enter() and __exit() functions. See here: https://stackoverflow.com/questions/3774328/implementing-use-of-with-object-as-f-in-custom-class-in-python
Good idea, I have done that.
…peed up course scraping