def _get_soup(self, page_url): content = Http.Http(page_url).get_content() self.soup = bs4.BeautifulSoup(content, 'lxml')
def __init__(self, link): content = Http.Http(link).get_content() self.soup = bs4.BeautifulSoup(content, 'lxml')