This commit is contained in:
Barrett Ruth 2025-09-13 19:45:48 -05:00
parent d0d5ec9bfd
commit e0c3cd4596
4 changed files with 21 additions and 18 deletions

View file

@ -59,9 +59,9 @@ function M.scrape_problem(ctx)
local args
if ctx.contest == "cses" then
args = { "uv", "run", scraper_path, ctx.problem_id }
args = { "uv", "run", scraper_path, ctx.contest_id }
else
args = { "uv", "run", scraper_path, ctx.problem_id, ctx.problem_letter }
args = { "uv", "run", scraper_path, ctx.contest_id, ctx.problem_id }
end
local result = vim.system(args, {