summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authorMichaƂ Klichowicz <emkael@tlen.pl>2018-02-25 13:55:54 +0100
committerGitHub <noreply@github.com>2018-02-25 13:55:54 +0100
commitc4f7018e7bba0f105443e181928e7f0d061e6981 (patch)
tree330baa4f12aa3cede012cfc1fedac7e2e050e043 /jfr_playoff
parent70a74524095166ee349603e2d48f2cf7c6c5f118 (diff)
parent3031a1768e24b57119d08748006141578e8ea31d (diff)
Merge pull request #21 from emkael/bugfixes
Stricter selection of board table rows in HTML mode
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/matchinfo.py2
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(