feat(scraper): add login stubs for codechef, kattis, usaco
This commit is contained in:
parent
2161ad5020
commit
720ae4ff76
3 changed files with 12 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from .timeouts import HTTP_TIMEOUT
|
|||
from .models import (
|
||||
ContestListResult,
|
||||
ContestSummary,
|
||||
LoginResult,
|
||||
MetadataResult,
|
||||
ProblemSummary,
|
||||
SubmitResult,
|
||||
|
|
@ -267,6 +268,9 @@ class CodeChefScraper(BaseScraper):
|
|||
verdict="",
|
||||
)
|
||||
|
||||
async def login(self, credentials: dict[str, str]) -> LoginResult:
|
||||
return self._login_error("CodeChef login not yet implemented")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
CodeChefScraper().run_cli()
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ from .timeouts import HTTP_TIMEOUT
|
|||
from .models import (
|
||||
ContestListResult,
|
||||
ContestSummary,
|
||||
LoginResult,
|
||||
MetadataResult,
|
||||
ProblemSummary,
|
||||
SubmitResult,
|
||||
|
|
@ -284,6 +285,9 @@ class KattisScraper(BaseScraper):
|
|||
verdict="",
|
||||
)
|
||||
|
||||
async def login(self, credentials: dict[str, str]) -> LoginResult:
|
||||
return self._login_error("Kattis login not yet implemented")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
KattisScraper().run_cli()
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ from .timeouts import HTTP_TIMEOUT
|
|||
from .models import (
|
||||
ContestListResult,
|
||||
ContestSummary,
|
||||
LoginResult,
|
||||
MetadataResult,
|
||||
ProblemSummary,
|
||||
SubmitResult,
|
||||
|
|
@ -299,6 +300,9 @@ class USACOScraper(BaseScraper):
|
|||
verdict="",
|
||||
)
|
||||
|
||||
async def login(self, credentials: dict[str, str]) -> LoginResult:
|
||||
return self._login_error("USACO login not yet implemented")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
USACOScraper().run_cli()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue