Exemple #1
0
 def __init__(self, url):
     global bs
     global global_url
     global tables
     global_url = url
     s = Scraper(url)
     bs = BeautifulSoup(s.get_html())
     tables = self.get_tables()
Exemple #2
0
 def __init__(self, url):
     global bs
     s = Scraper(url)
     bs = BeautifulSoup(s.get_html())
Exemple #3
0
 def get_mins(self):
     url = self.__get_fixtures()
     s = Scraper(url)
     bs_local = BeautifulSoup(s.get_html())
     tables = bs_local.findAll("table")
     return int(tables[3].findAll('tr')[3].findAll('td')[1].string) * 90