codeforces: normalize contest ID to numeric form #306
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#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Users may pass a Codeforces contest in non-canonical forms — a full URL, a round name, or a gym ID. The contest ID should be normalized to just the numeric form (e.g. `1933`) before it is stored or used.
Apply normalization in `parse_command` or `setup_contest` before any cache lookup or scraper call. Common cases to handle: