コード例 #1
0
ファイル: playerinfo.py プロジェクト: BPK27/tm-scraper
 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()
コード例 #2
0
ファイル: clubinfo.py プロジェクト: BPK27/tm-scraper
 def __init__(self, url):
     global bs
     s = Scraper(url)
     bs = BeautifulSoup(s.get_html())
コード例 #3
0
ファイル: clubinfo.py プロジェクト: BPK27/tm-scraper
 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