cp.nvim/scrapers
Barrett Ruth 7368747946
perf(atcoder): bail out early from _solve_turnstile when no iframe present
Problem: `_solve_turnstile` looped 6 times with ~20s per iteration
(15s bounding_box timeout + 5s wait_for_function) when no Turnstile
iframe existed on the page, causing a 120-second delay on pages that
don't require Turnstile verification.

Solution: check for existing token and iframe presence before entering
the retry loop. `iframe_loc.count()` returns immediately when no
matching elements exist, avoiding the expensive timeout cascade.
2026-03-05 10:35:27 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py perf(atcoder): bail out early from _solve_turnstile when no iframe present 2026-03-05 10:35:27 -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 ci: format 2026-03-05 01:39:59 -05:00
cses.py ci: format 2026-03-05 01:39:59 -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 ci: format 2026-03-05 01:39:59 -05:00