cp.nvim/scrapers
Barrett Ruth 2cdde85d36 refactor: centralize timeout constants in scrapers/timeouts.py
Problem: each scraper defined its own timeout constants
(`TIMEOUT_S`, `TIMEOUT_SECONDS`) with inconsistent values (15s vs 30s)
and browser timeouts were scattered as magic numbers (60000, 15000,
5000, 500).

Solution: introduce `scrapers/timeouts.py` with named constants for
HTTP requests, browser session/navigation/element/turnstile/settle
timeouts, and submission polling. All six scrapers now import from
the shared module.
2026-03-05 01:35:40 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00
base.py ci: format 2026-03-03 15:09:41 -05:00
codechef.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00
codeforces.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00
cses.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00
kattis.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -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
timeouts.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00
usaco.py refactor: centralize timeout constants in scrapers/timeouts.py 2026-03-05 01:35:40 -05:00