From 56746600ad4096338d00849323f8158a2d69ed86 Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 14 Mar 2023 01:02:46 +0100 Subject: [PATCH] update base image --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index d367a8b..41e6d5a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,6 +43,7 @@ bot.start(async (ctx) => { }) const step1 = async (page: Page) => { await page.goto(url) + console.log('step 1', url, JSON.stringify(page)) await sendScreenshot(bot, page, 'step 1') } const step2 = async (page: Page) => { @@ -104,6 +105,7 @@ const scrape = async () => { const browser = await chromium.launch() try { const page = await browser.newPage() + console.log('scraping...') await step1(page) await step2(page) await step3(page)