diff options
author | emkael <emkael@tlen.pl> | 2018-02-25 08:39:01 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-25 08:41:40 +0100 |
commit | 3031a1768e24b57119d08748006141578e8ea31d (patch) | |
tree | 330baa4f12aa3cede012cfc1fedac7e2e050e043 /jfr_playoff/matchinfo.py | |
parent | 70a74524095166ee349603e2d48f2cf7c6c5f118 (diff) |
Stricter selection of board table rows in HTML mode
Diffstat (limited to 'jfr_playoff/matchinfo.py')
-rw-r--r-- | jfr_playoff/matchinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/matchinfo.py b/jfr_playoff/matchinfo.py index 997e685..5924564 100644 --- a/jfr_playoff/matchinfo.py +++ b/jfr_playoff/matchinfo.py @@ -191,7 +191,7 @@ class MatchInfo: urljoin(self.info.link, segment_link[0]['href'])) try: segment_content = p_remote.fetch(segment_url) - board_rows = [row for row in segment_content.find_all('tr') if len(row.select('a.zb')) > 0] + board_rows = [row for row in segment_content.find_all('tr') if len(row.select('td.bdcc a.zb')) > 0] board_count = len(board_rows) played_boards = len([ row for row in board_rows if len( |