diff options
Diffstat (limited to 'jfr_playoff/tournamentinfo.py')
-rw-r--r-- | jfr_playoff/tournamentinfo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jfr_playoff/tournamentinfo.py b/jfr_playoff/tournamentinfo.py index 9805c74..90c8174 100644 --- a/jfr_playoff/tournamentinfo.py +++ b/jfr_playoff/tournamentinfo.py @@ -23,6 +23,7 @@ class TournamentInfo: if not self.settings['link'].endswith('leaderb.html'): raise ValueError('unable to determine tournament results') leaderboard = p_remote.fetch(self.settings['link']) + print leaderboard result_links = [row.select('a[onmouseover]') for row in leaderboard.find_all('tr') if len(row.select('a[onmouseover]')) > 0] results = [None] * (len(result_links) * max([len(links) for links in result_links])) for i in range(0, len(result_links)): |