Skip to content

Commit

Permalink
fix: multi page
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 a4f33c6 commit 7ef4bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions origin-data/camp/tsinghua/2024/online-qualification/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ def work(c: Contest, data_dir: str, fetch_uri: str):
try:
teams = Teams()
submissions = Submissions()
for i in range(1, 3):
for i in range(1, 4):
uri = f"{fetch_uri}/groupmates/true/page/{i}"
resp = fetch(fetch_uri)
resp = fetch(uri)
_teams = parse_teams(resp)
_submissions = parse_submissions(resp)
teams.update(_teams)
Expand Down

0 comments on commit 7ef4bc7

Please sign in to comment.