From d23e4fd0f3261d3d8ee3548a5e08139ca97b45c9 Mon Sep 17 00:00:00 2001 From: Peter Evers Date: Mon, 22 Jan 2024 07:45:23 +0100 Subject: [PATCH] chore: speed improvement --- src/google/scraper.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/google/scraper.js b/src/google/scraper.js index b997a5e..2b84ec3 100644 --- a/src/google/scraper.js +++ b/src/google/scraper.js @@ -112,9 +112,6 @@ class GoogleScraper { } else { results = await this._scrapePage(searchQuery, limit); } - - await this._scrapePage(searchQuery, limit); - await this.browser.close(); return results; }