diff options
author | emkael <emkael@tlen.pl> | 2018-02-21 15:36:55 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-21 15:36:55 +0100 |
commit | 211b3a8246ccfce27aaf11cdda0702f90e7fda79 (patch) | |
tree | fc9cc39de40fe3dc8ba2bb73f99408df868dc6f8 /jfr_playoff | |
parent | 8ff88a5494d77dba398ca874ce303449479d367d (diff) |
Diffstat (limited to 'jfr_playoff')
-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)): |