I get this crash:
TypeError: Cannot read property 'value' of undefined
at Object.exports.parseXmlLoginResult (/home/pi/node_modules/opensubtitles-client/lib/Utils.js:102:37)
at Object. (/home/pi/node_modules/opensubtitles-client/lib/API.js:39:51)
at fire (/home/pi/node_modules/opensubtitles-client/node_modules/Deferred/index.js:106:50)
at Object.self.fireWith (/home/pi/node_modules/opensubtitles-client/node_modules/Deferred/index.js:224:33)
at Object.self.fire as resolve
at Request._callback (/home/pi/node_modules/opensubtitles-client/lib/Utils.js:89:17)
at Request.self.callback (/home/pi/node_modules/opensubtitles-client/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/home/pi/node_modules/opensubtitles-client/node_modules/request/request.js:985:14)
at Request.EventEmitter.emit (events.js:117:20)
when trying to get subtitles when the site is on maintenance or something like that
I get this crash:
TypeError: Cannot read property 'value' of undefined
at Object.exports.parseXmlLoginResult (/home/pi/node_modules/opensubtitles-client/lib/Utils.js:102:37)
at Object. (/home/pi/node_modules/opensubtitles-client/lib/API.js:39:51)
at fire (/home/pi/node_modules/opensubtitles-client/node_modules/Deferred/index.js:106:50)
at Object.self.fireWith (/home/pi/node_modules/opensubtitles-client/node_modules/Deferred/index.js:224:33)
at Object.self.fire as resolve
at Request._callback (/home/pi/node_modules/opensubtitles-client/lib/Utils.js:89:17)
at Request.self.callback (/home/pi/node_modules/opensubtitles-client/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/home/pi/node_modules/opensubtitles-client/node_modules/request/request.js:985:14)
at Request.EventEmitter.emit (events.js:117:20)
when trying to get subtitles when the site is on maintenance or something like that