optimized webscraper (i.e. reconstructed it to a more flexible and extendable python module)