cp.nvim/scrapers
Barrett Ruth cb58062464
refactor(scrapers): centralize cookie storage into shared file
Problem: each platform scraper managed its own cookie file path and
load/save/clear logic, duplicating boilerplate across kattis, usaco,
codeforces, and codechef.

Solution: add \`load_platform_cookies\`, \`save_platform_cookies\`, and
\`clear_platform_cookies\` to \`base.py\` backed by a single
\`~/.cache/cp-nvim/cookies.json\` keyed by platform name. Update all
scrapers to use these helpers.
2026-03-07 03:46:28 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py fix: codechef submit fixes and atcoder cleanup (#355) 2026-03-06 23:40:12 -05:00
base.py refactor(scrapers): centralize cookie storage into shared file 2026-03-07 03:46:28 -05:00
codechef.py fix: codechef submit fixes and atcoder cleanup (#355) 2026-03-06 23:40:12 -05:00
codeforces.py refactor(scrapers): centralize cookie storage into shared file 2026-03-07 03:46:28 -05:00
cses.py fix(scrapers): login fast paths and re-auth hardening for httpx platforms (#357) 2026-03-07 02:23:43 -05:00
kattis.py refactor(scrapers): centralize cookie storage into shared file 2026-03-07 03:46:28 -05:00
language_ids.py feat(codechef): implement full CodeChef support (#354) 2026-03-06 23:10:44 -05:00
models.py feat: race countdown support and language version selection (#346) 2026-03-06 18:18:21 -05:00
timeouts.py fix: codechef submit fixes and atcoder cleanup (#355) 2026-03-06 23:40:12 -05:00
usaco.py refactor(scrapers): centralize cookie storage into shared file 2026-03-07 03:46:28 -05:00