|
|
@ -302,7 +302,6 @@ if (args["url"]) {
|
|
|
|
args["base"] = args["url"];
|
|
|
|
args["base"] = args["url"];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const proxy = args["proxy"] || process.env.HTTPS_PROXY;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function printUsage() {
|
|
|
|
function printUsage() {
|
|
|
@ -356,6 +355,8 @@ const outputArg = args["output"];
|
|
|
|
const documentURL = args["base"] || inputURL;
|
|
|
|
const documentURL = args["base"] || inputURL;
|
|
|
|
const outputJSON = args["json"];
|
|
|
|
const outputJSON = args["json"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const proxy = args["proxy"] || process.env.https_proxy || process.env.HTTPS_PROXY || process.env.http_proxy;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let wantedProperties;
|
|
|
|
let wantedProperties;
|
|
|
|
if (args["properties"]) {
|
|
|
|
if (args["properties"]) {
|
|
|
|