useless commit

This commit is contained in:
Kfir Dayan 2023-04-18 11:21:47 +03:00
parent babed7889b
commit 10af68eec7

View file

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