def short(self, url):
        params = {'url': url}
        response = self._post(self.api_url, data=params)
        if response.ok:
            try:
                data = response.json()
            except __HOLE__:
                raise ShorteningErrorException('There was an error shortening'
                                               ' this url - {0}'.format(
                                                   response.content))
            return data['meta']['rdd_url']
        raise ShorteningErrorException('There was an error shortening this '
                                       'url - {0}'.format(response.content))
dataset/ETHPy150Open ellisonleao/pyshorteners/pyshorteners/shorteners/readability.py/Readability.short