diff options
author | MichaĆ Klichowicz <emkael@tlen.pl> | 2018-02-25 13:55:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 13:55:54 +0100 |
commit | c4f7018e7bba0f105443e181928e7f0d061e6981 (patch) | |
tree | 330baa4f12aa3cede012cfc1fedac7e2e050e043 /jfr_playoff/matchinfo.py | |
parent | 70a74524095166ee349603e2d48f2cf7c6c5f118 (diff) | |
parent | 3031a1768e24b57119d08748006141578e8ea31d (diff) |
Merge pull request #21 from emkael/bugfixes
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( |