def get_summary_content(self): html = Scrape.get_html(self) strain = Scrape.strain_by_id(self.summary_id) soup = Scrape.get_soup(html, strain) return soup
def get_latest_URLs(): scrape_latest = Scrape(Defaults.main_url) scrape_latest_soup = scrape_latest.get_soup() latest_URLs = find_latest_URLs(scrape_latest_soup['soup']) return latest_URLs
def get_collapse_content(self): html = super(Collapse, self).get_html() strain = super(Collapse, self).strain_by_id(self.strain_id) soup = Scrape.get_soup(html, strain) return soup