This commit is contained in:
TheNetsky
2023-10-08 13:55:36 +02:00
parent e982e6e25f
commit 03ba5129c6
16 changed files with 419 additions and 345 deletions

View File

@@ -218,4 +218,11 @@ export async function checkQuizCompleted(page: Page) {
} catch (error) {
return false
}
}
export async function refreshCheerio(page: Page) {
const html = await page.content()
const $ = load(html)
return $
}