cp.nvim/scrapers
Barrett Ruth 972044fd0f feat(cses): implement submit via REST API
Problem: CSES submit was a stub returning "not yet implemented".

Solution: authenticate via web login + API token bridge (POST
`/login` form, then POST `/api/login` and confirm the auth page),
submit source to `/api/courses/problemset/submissions` with
base64-encoded content, and poll for verdict. Uses the same
username/password credential model as AtCoder.

Also update `scraper.lua` to pass the full ndjson event to `on_status`
(instead of just the status string) and handle `credentials` events
for platforms that return updated credentials.
2026-03-05 01:03:53 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py feat(atcoder): extract submit helpers; add live status notifications (#294) 2026-03-04 19:27:29 -05:00
base.py ci: format 2026-03-03 15:09:41 -05:00
codechef.py ci: format 2026-03-03 15:09:41 -05:00
codeforces.py ci: format 2026-03-03 15:09:41 -05:00
cses.py feat(cses): implement submit via REST API 2026-03-05 01:03:53 -05:00
kattis.py feat(kattis): rewrite scraper to support real contests 2026-03-03 16:02:09 -05:00
language_ids.py feat(atcoder): extract submit helpers; add live status notifications (#294) 2026-03-04 19:27:29 -05:00
models.py feat(scraper): add precision extraction, start_time, and submit support 2026-03-03 15:09:41 -05:00
usaco.py fix: resolve typecheck errors in cache, atcoder, cses, and usaco 2026-03-03 15:09:41 -05:00