250. cpl fetch reads Codeforces and AtCoder pages, or a saved one (2026-11-22)
- Decision.
cpl fetch <url> [name](crates/cpl-contest/src/fetch.rs) downloads the page withcurl, ascpl selfdoes, and reads the samples, title and limits of a Codeforces or AtCoder problem.--html FILEreads a page saved from the browser. Any other judge is a usage error pointing atcpl new --listen(Competitive Companion). A sample file already present with other content stops it, so stress cases and hand-written tests survive. - Why. Those two judges are where the corpus comes from.
curl https://codeforces.com/problemset/problem/4/Agets HTTP 403 (a script check), so the saved page is the dependable path there; AtCoder serves the page (abc300_a, 200). No HTTP crate: curl is already whatcpl selfneeds. - Reverse. Delete
fetch.rs, its entries incrates/cpl-cli, and addfetchback toSPEC_ONLYincrates/cpl-cli/tests/spec_sync.rs.