Skip to content

Commit 7432aeb

Browse files
Minor bugfix on problem table
1 parent b9cf621 commit 7432aeb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autokattis/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def problems(self, show_solved=True, show_partial=True, show_tried=False, show_u
100100
for f in as_completed(futures):
101101
response = f.result()
102102
soup = bs(response.content, features='lxml')
103-
table = soup.find('table', class_='table2')
103+
table = soup.find('section', class_='strip strip-item-plain').find('table', class_='table2')
104104
try: table_content = table.tbody.find_all('tr')
105105
except AttributeError: continue
106106
for row in table_content:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup_args = dict(
77
name='autokattis',
8-
version='1.4.8',
8+
version='1.4.9',
99
description='Updated Kattis API wrapper',
1010
long_description_content_type="text/markdown",
1111
long_description=README,

0 commit comments

Comments
 (0)