Refactored to use Requests instead of URLLib2