From 211b3a8246ccfce27aaf11cdda0702f90e7fda79 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 21 Feb 2018 15:36:55 +0100 Subject: ? --- jfr_playoff/tournamentinfo.py | 1 + 1 file changed, 1 insertion(+) 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)): -- cgit v1.2.3