TimeForANinja/node-ytpl

crash

yxwu opened this issue · 2 comments

yxwu commented

My app crashed because of ytpl, logs as below:

/app/node_modules/ytpl/lib/util.js:22
    title: exports.removeHtml(importantTxt.match(PLAYLIST_NAME_REGEXP)[1]),
                                                                      ^

TypeError: Cannot read property '1' of null
    at Object.exports.getGeneralInfo (/app/node_modules/ytpl/lib/util.js:22:71)
    at IncomingMessage.<anonymous> (/app/node_modules/ytpl/lib/firstpage.js:30:29)
    at IncomingMessage.emit (events.js:214:15)
    at endReadableNT (_stream_readable.js:1178:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

same as #60
There's already fixes for this. Just need maintainer to merge

fixed with #64