Skip to content

Commit

Permalink
fix: fetch script
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <[email protected]>
  • Loading branch information
Dup4 committed Jul 21, 2024
1 parent 8087516 commit 0c483dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions origin-data/camp/tsinghua/2024/online-qualification/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ def parse_submissions(html: str) -> Submissions:

for i in range(4, 17):
tds = tr.select('td')
if len(tds) <= i:
try:
td = tr.select('td')[i]
except:
continue
td = tr.select('td')[i]

_submission = copy.deepcopy(submission)
_submission.problem_id = i - 4
Expand Down

0 comments on commit 0c483dc

Please sign in to comment.