feat: some more updates

This commit is contained in:
Barrett Ruth 2025-09-22 19:11:11 -04:00
parent 5a6902633f
commit 9c2be9c6b0
6 changed files with 54 additions and 36 deletions

View file

@ -9,8 +9,12 @@ function M.scrape_missing_problems(contest_id, missing_problems, config)
logger.log(('scraping %d uncached problems...'):format(#missing_problems))
local results =
scrape.scrape_problems_parallel(state.get_platform(), contest_id, missing_problems, config)
local results = scrape.scrape_problems_parallel(
state.get_platform() or '',
contest_id,
missing_problems,
config
)
local success_count = 0
local failed_problems = {}