TimeForANinja / node-ytsr

Do anonymous YouTube search requests.
MIT License
285 stars 66 forks source link

Cannot read property 'simpleText' of undefined #117

Closed Zigecek closed 3 years ago

Zigecek commented 3 years ago
0|bot      | TypeError: Cannot read property 'simpleText' of undefined
0|bot      |     at Object.exports.parseText (/home/pi/Zigger/node_modules/ytsr/lib/utils.js:68:50)
0|bot      |     at parseShelf (/home/pi/Zigger/node_modules/ytsr/lib/parseItem.js:371:17)
0|bot      |     at parseItem (/home/pi/Zigger/node_modules/ytsr/lib/parseItem.js:30:14)
0|bot      |     at catchAndLogFunc (/home/pi/Zigger/node_modules/ytsr/lib/parseItem.js:78:12)
0|bot      |     at module.exports (/home/pi/Zigger/node_modules/ytsr/lib/parseItem.js:101:46)
0|bot      |     at /home/pi/Zigger/node_modules/ytsr/lib/main.js:54:34
0|bot      |     at Array.map (<anonymous>)
0|bot      |     at module.exports (/home/pi/Zigger/node_modules/ytsr/lib/main.js:54:25)
0|bot      |     at runMicrotasks (<anonymous>)
0|bot      |     at processTicksAndRejections (node:internal/process/task_queues:94:5)
0|bot      | 
0|bot      | /********************************************************************************************************************************************************************************************************
0|bot      | failed at func parseItem: Cannot read property 'simpleText' of undefined
0|bot      | pls post the the files in /home/pi/Zigger/node_modules/ytsr/dumps to https://github.com/TimeForANinja/node-ytsr/issues
0|bot      | os: linux-arm, node.js: v15.11.0, ytpl: 3.3.1
0|bot      | ********************************************************************************************************************************************************************************************************\

file from /dumps: 5q8mze6r5a-1617143263484.txt

TimeForANinja commented 3 years ago

fixed in https://github.com/TimeForANinja/node-ytsr/releases/tag/3.4.0 still thanks for opening an issue 😉