From 7fd5f8dfe6d59fb1cc70331274fbbb5462e0ab3e Mon Sep 17 00:00:00 2001 From: Anatoly Date: Fri, 18 Feb 2022 02:51:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B9,=20=D0=B7=D0=B0=D0=B1=D1=8B=D0=BB?= =?UTF-8?q?=20=D1=80=D0=B0=D1=81=D0=BA=D0=BE=D0=BC=D0=B5=D0=BD=D1=82=D0=B8?= =?UTF-8?q?=D1=82=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 3 +-- items/index.js | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index f8bfbf0..24eec27 100644 --- a/index.js +++ b/index.js @@ -12,8 +12,7 @@ async function initPuppeteer (page) { } (async () => { - // const browser = await puppeteer.launch({ executablePath: 'chromium-browser' }) - const browser = await puppeteer.launch() + const browser = await puppeteer.launch({ executablePath: 'chromium-browser' }) const page = await browser.newPage() await initPuppeteer(page) diff --git a/items/index.js b/items/index.js index bec1e70..97940d2 100644 --- a/items/index.js +++ b/items/index.js @@ -18,9 +18,9 @@ const primaries = [ const items = [] -// warframes.forEach((name) => { -// items.push(new Warframe(name)) -// }) +warframes.forEach((name) => { + items.push(new Warframe(name)) +}) primaries.forEach((name) => { items.push(new Primary(name))