remove debug log

This commit is contained in:
Sebastian Hugentobler 2020-12-23 22:34:53 +01:00
parent d00f1d7343
commit 0a01f05fea
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

3
nzz.js
View File

@ -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()}...`);