Closed ale0xb closed 1 year ago
I have the same problem with the lasest version
internalBinding('errors').triggerUncaughtException(
^
Response {
size: 0,
[Symbol(Body internals)]: {
body: <ref *1> Gunzip {
_writeState: Uint32Array(2) [ 0, 0 ],
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: null,
ended: false,
endEmitted: false,
reading: false,
constructed: true,
sync: false,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
dataEmitted: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: null
},
_events: [Object: null prototype] {
prefinish: [Function: prefinish],
close: [
[Function (anonymous)],
[Function: onclose],
[Function (anonymous)],
[Function: bound onceWrapper] {
listener: [Function: onclose]
},
[Function: onclose]
],
end: [ [Function: onend], [Function: onend] ],
finish: [
[Function: onfinish],
[Function: bound onceWrapper] {
listener: [Function: onfinish]
},
[Function: onfinish]
],
error: [
[Function: onerror],
[Function: onerror],
[Function: onError],
[Function: onerror],
[Function (anonymous)]
],
unpipe: [Function: onunpipe]
},
_eventsCount: 6,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 64,
writing: true,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: [Function: nop],
writelen: 64,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: true,
bytesWritten: 0,
_handle: Zlib {
onerror: [Function: zlibOnError],
buffer: Buffer(64) [Uint8Array] [
31, 139, 8, 0, 0, 0, 0, 0, 0, 255, 170, 86,
74, 206, 79, 73, 85, 178, 50, 49, 48, 212, 81, 202,
77, 45, 46, 78, 76, 79, 85, 178, 82, 202, 203, 47,
81, 72, 44, 45, 201, 200, 47, 202, 172, 74, 77, 81,
170, 229, 2, 4, 0, 0, 255, 255, 214, 255, 249, 78,
40, 0, 0, 0
],
cb: [Function (anonymous)],
availOutBefore: 16384,
availInBefore: 64,
inOff: 0,
flushFlag: 2,
[Symbol(owner_symbol)]: [Circular *1]
},
_outBuffer: Buffer(16384) [Uint8Array] [
123, 34, 99, 111, 100, 101, 34, 58, 52, 48, 49, 44,
34, 109, 101, 115, 115, 97, 103, 101, 34, 58, 34, 110,
111, 116, 32, 97, 117, 116, 104, 111, 114, 105, 122, 101,
100, 34, 125, 10, 85, 85, 85, 85, 85, 85, 85, 85,
85, 85, 85, 85, 85, 85, 85, 85, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,
... 16284 more items
],
_outOffset: 0,
_chunkSize: 16384,
_defaultFlushFlag: 2,
_finishFlushFlag: 2,
_defaultFullFlushFlag: 3,
_info: undefined,
_maxOutputLength: 4294967296,
_level: -1,
_strategy: 0,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null,
[Symbol(kError)]: null
},
stream: <ref *1> Gunzip {
_writeState: Uint32Array(2) [ 0, 0 ],
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: null, tail: null, length: 0 },
length: 0,
pipes: [],
flowing: null,
ended: false,
endEmitted: false,
reading: false,
constructed: true,
sync: false,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
destroyed: false,
errored: null,
closed: false,
closeEmitted: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: false,
dataEmitted: false,
decoder: null,
encoding: null,
[Symbol(kPaused)]: null
},
_events: [Object: null prototype] {
prefinish: [Function: prefinish],
close: [
[Function (anonymous)],
[Function: onclose],
[Function (anonymous)],
[Function: bound onceWrapper] {
listener: [Function: onclose]
},
[Function: onclose]
],
end: [ [Function: onend], [Function: onend] ],
finish: [
[Function: onfinish],
[Function: bound onceWrapper] {
listener: [Function: onfinish]
},
[Function: onfinish]
],
error: [
[Function: onerror],
[Function: onerror],
[Function: onError],
[Function: onerror],
[Function (anonymous)]
],
unpipe: [Function: onunpipe]
},
_eventsCount: 6,
_maxListeners: undefined,
_writableState: WritableState {
objectMode: false,
highWaterMark: 16384,
finalCalled: false,
needDrain: false,
ending: true,
ended: true,
finished: false,
destroyed: false,
decodeStrings: true,
defaultEncoding: 'utf8',
length: 64,
writing: true,
corked: 0,
sync: false,
bufferProcessing: false,
onwrite: [Function: bound onwrite],
writecb: [Function: nop],
writelen: 64,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
allBuffers: true,
allNoop: true,
pendingcb: 1,
constructed: true,
prefinished: false,
errorEmitted: false,
emitClose: true,
autoDestroy: true,
errored: null,
closed: false,
closeEmitted: false,
[Symbol(kOnFinished)]: []
},
allowHalfOpen: true,
bytesWritten: 0,
_handle: Zlib {
onerror: [Function: zlibOnError],
buffer: Buffer(64) [Uint8Array] [
31, 139, 8, 0, 0, 0, 0, 0, 0, 255, 170, 86,
74, 206, 79, 73, 85, 178, 50, 49, 48, 212, 81, 202,
77, 45, 46, 78, 76, 79, 85, 178, 82, 202, 203, 47,
81, 72, 44, 45, 201, 200, 47, 202, 172, 74, 77, 81,
170, 229, 2, 4, 0, 0, 255, 255, 214, 255, 249, 78,
40, 0, 0, 0
],
cb: [Function (anonymous)],
availOutBefore: 16384,
availInBefore: 64,
inOff: 0,
flushFlag: 2,
[Symbol(owner_symbol)]: [Circular *1]
},
_outBuffer: Buffer(16384) [Uint8Array] [
123, 34, 99, 111, 100, 101, 34, 58, 52, 48, 49, 44,
34, 109, 101, 115, 115, 97, 103, 101, 34, 58, 34, 110,
111, 116, 32, 97, 117, 116, 104, 111, 114, 105, 122, 101,
100, 34, 125, 10, 85, 85, 85, 85, 85, 85, 85, 85,
85, 85, 85, 85, 85, 85, 85, 85, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0,
... 16284 more items
],
_outOffset: 0,
_chunkSize: 16384,
_defaultFlushFlag: 2,
_finishFlushFlag: 2,
_defaultFullFlushFlag: 3,
_info: undefined,
_maxOutputLength: 4294967296,
_level: -1,
_strategy: 0,
[Symbol(kCapture)]: false,
[Symbol(kCallback)]: null,
[Symbol(kError)]: null
},
boundary: null,
disturbed: false,
error: null
},
[Symbol(Response internals)]: {
type: 'default',
url: 'https://api.frontendmasters.com/v1/kabuki/video/MkEeIchlVZ/source?f=m3u8',
status: 401,
statusText: 'Unauthorized',
headers: Headers {
[Symbol(query)]: [
'access-control-allow-credentials',
'true',
'access-control-allow-origin',
'https://frontendmasters.com',
'connection',
'close',
'content-encoding',
'gzip',
'content-length',
'64',
'content-type',
'application/json',
'date',
'Wed, 30 Nov 2022 21:12:08 GMT',
'server',
'nginx/1.16.1',
'vary',
'Origin'
],
[Symbol(context)]: null
},
counter: 0,
highWaterMark: 16384
}
}
Node.js v18.12.1
Fixed with the latest release, try npm fem-dl@latest
Hey thanks for making this software! It's been super useful so far. But now it seems our friends at FEM changed things a bit and executing the downloader gives this error: