From 0a01f05fea88731db52b0c8be8678a0cfac442e1 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 23 Dec 2020 22:34:53 +0100 Subject: [PATCH] remove debug log --- nzz.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nzz.js b/nzz.js index 98efc28..26a63ca 100755 --- a/nzz.js +++ b/nzz.js @@ -84,7 +84,6 @@ async function moveDownload(tmpDir, outDir, date) { * @param {Date} date Date of the issue. */ async function enterDate(driver, date) { - console.log(driver); let dateString = date.nzzDate(); let startDate = await driver.wait(until.elementLocated(By.css('.fup-s-date-start')), WAIT_TIMEOUT, TIMEOUT_MSG, RETRY_DELAY); @@ -156,7 +155,7 @@ async function findIssues(driver, from, to, tmpDir, outDir) { try { let articles = await driver.wait(until.elementsLocated(By.css('.fup-archive-result-item-article-title')), SEARCH_WAIT_TIMEOUT, SEARCH_TIMEOUT_MSG, RETRY_DELAY); - await articles[0].click(); + await articles[0].click();s await download(driver); console.log(`downloading ${from.isoDate()}...`);