Merge branch 'master' into deepsource-transform-67d15f45

pull/30/head
Millennium Earl 2020-10-16 10:17:11 +02:00 committed by GitHub
commit 1f9615f2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View File

@ -89,7 +89,7 @@ async function downloadNOPY(url, savepath) {
// Set the save path
await page._client.send("Page.setDownloadBehavior", {
behavior: "allow",
downloadPath: path.basename(path.dirname(savepath)), // Is a directory
downloadPath: path.basename(path.dirname(savepath)), // It's a directory
});
// Obtain the download button and click it

View File

@ -1,4 +1,4 @@
'use strict';
"use strict";
/**
* Object obtained in response to an attempt to login to the portal.
@ -14,7 +14,7 @@ class LoginResult {
* Login response message
* @type String
*/
this.message = '';
this.message = "";
}
}
module.exports = LoginResult;
module.exports = LoginResult;

View File

@ -1,7 +1,7 @@
module.exports = Object.freeze({
F95_BASE_URL: 'https://f95zone.to',
F95_SEARCH_URL: 'https://f95zone.to/search',
F95_LATEST_UPDATES: 'https://f95zone.to/latest',
F95_LOGIN_URL: 'https://f95zone.to/login',
F95_WATCHED_THREADS: 'https://f95zone.to/watched/threads',
});
F95_BASE_URL: "https://f95zone.to",
F95_SEARCH_URL: "https://f95zone.to/search",
F95_LATEST_UPDATES: "https://f95zone.to/latest",
F95_LOGIN_URL: "https://f95zone.to/login",
F95_WATCHED_THREADS: "https://f95zone.to/watched/threads",
});