remove debug log
This commit is contained in:
parent
d00f1d7343
commit
0a01f05fea
3
nzz.js
3
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()}...`);
|
||||
|
Loading…
Reference in New Issue
Block a user