From 5fbfc4e992daf740d8233e54f4bae757242f3f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=9A=28noham=29=C2=B2?= <100566912+NohamR@users.noreply.github.com> Date: Fri, 19 Jun 2026 22:02:27 +0200 Subject: [PATCH] Increase timeout --- src/pdfy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pdfy.js b/src/pdfy.js index 42bd3f2..9f4f992 100644 --- a/src/pdfy.js +++ b/src/pdfy.js @@ -62,7 +62,7 @@ export async function convert (url, options = {}) { if (html) { await articlePage.setContent(html, { waitUntil: 'networkidle0' }) } else { - await articlePage.goto(url, { waitUntil: 'networkidle0', timeout: 30000 }) + await articlePage.goto(url, { waitUntil: 'networkidle0', timeout: 60000 }) } const article = await extractArticle(articlePage, getReadabilityPath()) await articlePage.close() @@ -95,7 +95,7 @@ export async function convert (url, options = {}) { logger.debug(`Opening Reader View: ${readerUrl}`) const readerPage = await browser.newPage() - await readerPage.goto(readerUrl, { waitUntil: 'load', timeout: 30000 }) + await readerPage.goto(readerUrl, { waitUntil: 'load', timeout: 60000 }) await waitForReaderView(readerPage) await new Promise((resolve) => setTimeout(resolve, 1000))