Python classes to accelerate web scraping