summaryrefslogtreecommitdiff
path: root/http/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'http/index.py')
-rw-r--r--http/index.py3
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