I think this error happned because the curl also required -k to load the file so it's related to certificate stuff
(node:510540) DeprecationWarning: ArgumentParser(): following options are renamed: 'addHelp' -> 'add_help'
(Use node --trace-deprecation ... to show where the warning was created)
(node:510540) DeprecationWarning: _ActionsContainer.addArgument() is renamed to _ActionsContainer.add_argument()
(node:510540) DeprecationWarning: use add_argument('url', {...}) instead of add_argument([ 'url' ], { ... })
(node:510540) DeprecationWarning: add_argument(): following options are renamed: 'defaultValue' -> 'default'
(node:510540) DeprecationWarning: ArgumentParser.parseArgs() is renamed to ArgumentParser.parse_args()
node:_http_client:187
throw new ERR_INVALID_PROTOCOL(protocol, expectedProtocol);
^
TypeError [ERR_INVALID_PROTOCOL]: Protocol "https:" not supported. Expected "http:"
at new ClientRequest (node:_http_client:187:11)
at request (node:http:101:10)
at Object.get (node:http:112:15)
at Function.fetch (/usr/local/lib/node_modules/maximize/maximize.js:35:12)
at Function.
Node.js v20.18.1