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()
def __init__(self, url): global bs s = Scraper(url) bs = BeautifulSoup(s.get_html())
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