fix: open problem-specific url

This commit is contained in:
Barrett Ruth 2025-10-15 11:00:31 -04:00
parent 7f9f60af5b
commit 352f98f26f
6 changed files with 7 additions and 5 deletions

View file

@ -286,7 +286,7 @@ class AtcoderScraper(BaseScraper):
error="",
contest_id=cid,
problems=problems,
url=f"https://atcoder.jp/contests/{contest_id}/tasks",
url=f"https://atcoder.jp/contests/{contest_id}/tasks/{contest_id}_%s",
)
return await self._safe_execute("metadata", impl, contest_id)

View file

@ -202,7 +202,7 @@ class CodeforcesScraper(BaseScraper):
error="",
contest_id=cid,
problems=problems,
url=f"https://codeforces.com/contest/{contest_id}",
url=f"https://codeforces.com/contest/{contest_id}/%s",
)
return await self._safe_execute("metadata", impl, contest_id)

View file

@ -200,7 +200,7 @@ class CSESScraper(BaseScraper):
error="",
contest_id=contest_id,
problems=problems,
url="https://cses.fi/problemset",
url="https://cses.fi/problemset/task/%s",
)
async def scrape_contest_list(self) -> ContestListResult: