Replaced urllib with requests to speed up code. Went from >17 to ~4 seconds.
Cleaned up code.