Skip to content

download episode error #22

Description

@keror00

$ sudo viurr download episode video 2253987

TypeError: Cannot read properties of undefined (reading 'pageProps')
at /usr/local/lib/node_modules/viurr/dist/apis/apis.js:95:50
at step (/usr/local/lib/node_modules/viurr/dist/apis/apis.js:44:23)
at Object.next (/usr/local/lib/node_modules/viurr/dist/apis/apis.js:25:53)
at fulfilled (/usr/local/lib/node_modules/viurr/dist/apis/apis.js:16:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

keroro@penguin:/mnt/chromeos/MyFiles/Downloads/LinuxFolder$ sudo viurr download episode video 2253987

Something went wrong!

Please check if you have passed the correct product ID and other parameters.
If you think this is an issue, please visit the GitHub repository [https://github.com/kitce/viurr]
for more details, or submit an issue about the following error and with the steps to reproduce it:

Error: getaddrinfo EAI_AGAIN www.viu.com
at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'www.viu.com',
config: {
adapter: [Function (anonymous)],
transformRequest: { '0': [Function: transformRequest] },
transformResponse: { '0': [Function: transformResponse] },
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
headers: {
Accept: 'application/json, text/plain, /',
Origin: 'https://www.viu.com',
'Accept-Encoding': 'gzip, deflate, br',
'User-Agent': 'axios/0.18.1'
},
method: 'get',
baseURL: 'https://api-gateway-global.viu.com',
url: 'https://www.viu.com/ott/hk/zh/vod/2253987',
data: undefined
},
request: <ref *1> Writable {
_writableState: WritableState {
state: 802924,
highWaterMark: 16384,
defaultEncoding: 'utf8',
length: 0,
corked: 0,
onwrite: [Function: bound onwrite],
writecb: null,
writelen: 0,
afterWriteTickInfo: null,
buffered: [],
bufferedIndex: 0,
pendingcb: 0,
errored: null,
[Symbol(kOnFinished)]: []
},
_events: [Object: null prototype] {
response: [Function: handleResponse],
error: [Function: handleRequestError]
},
_eventsCount: 2,
_maxListeners: undefined,
_options: {
protocol: 'https:',
maxRedirects: 21,
maxBodyLength: 10485760,
path: '/ott/hk/zh/vod/2253987',
method: 'get',
headers: [Object],
agent: undefined,
auth: undefined,
hostname: 'www.viu.com',
port: null,
nativeProtocols: [Object],
pathname: '/ott/hk/zh/vod/2253987'
},
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 6,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [TLSSocket],
_header: 'GET /ott/hk/zh/vod/2253987 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Origin: https://www.viu.com\r\n' +
'Accept-Encoding: gzip, deflate, br\r\n' +
'User-Agent: axios/0.18.1\r\n' +
'Host: www.viu.com\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/ott/hk/zh/vod/2253987',
_ended: false,
res: null,
aborted: false,
timeoutCb: [Function: emitRequestTimeout],
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'www.viu.com',
protocol: 'https:',
_redirectable: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
_currentUrl: 'https://www.viu.com/ott/hk/zh/vod/2253987',
[Symbol(kCapture)]: false
},
response: undefined
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions