fix: open problem-specific url
This commit is contained in:
parent
7f9f60af5b
commit
352f98f26f
6 changed files with 7 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue