diff options
author | emkael <emkael@tlen.pl> | 2020-01-31 21:16:13 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-01-31 21:16:13 +0100 |
commit | c331e563768a750d618a7fa81ff666b41121a541 (patch) | |
tree | 62a76c8dd7db8351e6f34e4d211c228f40bae4d0 | |
parent | d0c0d03f2a8ec7609f1533a9868b20120da04ef6 (diff) |
-rw-r--r-- | http/index.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/http/index.py b/http/index.py index 7b672b6..970ebfc 100644 --- a/http/index.py +++ b/http/index.py @@ -109,7 +109,8 @@ def handler(req): # unnecessary tables removed for table in page_content.select('table > tr > td > table')[4:]: table.extract() - if u'Lista' not in [b.text for b in page_content.select('b')]: + if u'Lista' not in [b.text for b in page_content.select('b')] and \ + u'Błąd' not in [b.text for b in page_content.select('b')]: page_content.select('table > tr > td')[-1].extract() # internal link targets (team, WK breakdown, etc.) removed |