fix: replace curl_cffi with scrapling in codeforces metadata #334
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/cp.nvim!334
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/curl-cffi"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
codeforces.pyusedcurl_cffito bypass Cloudflare when fetching contest problem HTML, making it unavailable in the nix python env and requiring an extra dependency acrosspyproject.tomlandflake.nix.Solution
Rewrite
_fetch_problems_htmlto use scraplingStealthySessionwithsolve_cloudflare=True, matching the existing CF submit pattern. Extendneeds_browserinscraper.luato route CFmetadataandteststhrough the FHS env on NixOS. Removecurl-cffifrompyproject.toml,flake.nix, and test mocks.