From 10af68eec74e005f6f6f112e9840776bff9af19d Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Tue, 18 Apr 2023 11:21:47 +0300 Subject: [PATCH] useless commit --- src/crawler/crawler.service.ts | 9 --------- 1 file changed, 9 deletions(-) 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(); }