def expand(self, url):
        """Base expand method. Only visits the link, and return the response
        url"""
        url = self.clean_url(url)
        response = self._get(url)
        if response.ok:
            return response.url
        raise ExpandingErrorException
def expand ( self , url ) : url = self . clean_url ( url ) response = self . _get ( url ) if response . ok : return response . url raise ExpandingErrorException
Base expand method. Only visits the link, and return the response
        url