Beispiel #1
0
 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
Beispiel #2
0
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
Beispiel #3
0
 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