Skip to content

Commit

Permalink
Update scraper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SidorenkovIvan committed Apr 3, 2020
1 parent 31cddd1 commit 6f12724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scraper.js
Expand Up @@ -148,9 +148,6 @@ q.drain = function () {
if (GRAB_IMGS) storeImages();
};

// добавляем в очередь ссылки на категории из меню
start();

async function imgToBase64(url) {
let response = await fetch(url);
let buf = await response.buffer();
Expand Down Expand Up @@ -192,3 +189,6 @@ function storeImages() {
db.close();
});
}

// добавляем в очередь ссылки на категории из меню
start();

0 comments on commit 6f12724

Please sign in to comment.