diff --git a/src/crawler/crawler.service.ts b/src/crawler/crawler.service.ts index 210a579..73a276a 100644 --- a/src/crawler/crawler.service.ts +++ b/src/crawler/crawler.service.ts @@ -5,10 +5,6 @@ import puppeteer from 'puppeteer'; import { URL } from 'url'; import axios from 'axios'; -interface ScreenshotResponse { - buffer: Buffer; - path?: string; -} @Injectable() export class CrawlerService { @@ -44,11 +40,6 @@ export class CrawlerService { // URLS // const urls = await page.$$eval('a', links => links.map(link => link.href)); - console.log(urls); - - - - await browser.close(); }