def METHOD_NAME(self, task, url):
    try:
        page = task.requests.get(url)
    except RequestException as e:
        raise UrlRewritingError(str(e))
    try:
        return get_soup(page.text)
    except Exception as e:
        raise UrlRewritingError(str(e))