TimeForANinja

Results 66 comments of TimeForANinja

instead of doing ```js httpLib = httpLibs[String(parsed.protocol)]; if (!httpLib) { stream.emit('error', new Miniget.MinigetError(`Invalid URL: ${url}`)); return; } ``` we could do sth like ```js httpLib = httpLibs[String(parsed.protocol)]; if (!httpLibs.hasOwnProperty(parsed.protocol)) {...

from what i understood an invalid polyfill would result in the `require` in this line https://github.com/fent/node-miniget/blob/master/src/index.ts#L9 sth. like null or undefined the usual `!httpLib` does not differentiate between `httpLibs['https:']` being...

also, dislikes will stay null for the foreseeable future

`Network Error` is usually a problem with your network connection and not library related

looks like a problem with your local certificate chain other tools like youtubedl and maybe even chrome should have similar problems sorry but we can't help you with that

ok, that doesn't look right a) what did the `console.log(info);` / `console.log(info.formats);` show? b) the line 12 of the code you send is the line throwing the error, i suspect?...