Closed alexandre-hallaine closed 3 years ago
I had the same issue once. I tried another search query and the error doesn't appear again, so i can't reproduce it atm.
can you provide the file asked for?
Three errors occur.
os: linux-x64, node.js: v12.19.0, ytpl: 2.0.2
TypeError: Cannot read property 'simpleText' of undefined
at Object.exports.parseText (/home/bot/node_modules/ytsr/lib/utils.js:67:50)
at parseShowingResultsFor (/home/bot/node_modules/ytsr/lib/parseItem.js:230:40)
at parseItem (/home/bot/node_modules/ytsr/lib/parseItem.js:37:14)
at catchAndLogFunc (/home/bot/node_modules/ytsr/lib/parseItem.js:68:12)
at module.exports (/home/bot/node_modules/ytsr/lib/parseItem.js:91:46)
at /home/bot/node_modules/ytsr/lib/main.js:57:34
at Array.map (<anonymous>)
at module.exports (/home/bot/node_modules/ytsr/lib/main.js:57:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
TypeError: Cannot read property 'searchEndpoint' of undefined
at /home/bot/node_modules/ytsr/lib/parseItem.js:238:56
at Array.map (<anonymous>)
at parseHorizontalCardListRenderer (/home/bot/node_modules/ytsr/lib/parseItem.js:237:40)
at parseItem (/home/bot/node_modules/ytsr/lib/parseItem.js:39:14)
at catchAndLogFunc (/home/bot/node_modules/ytsr/lib/parseItem.js:68:12)
at module.exports (/home/bot/node_modules/ytsr/lib/parseItem.js:91:46)
at /home/bot/node_modules/ytsr/lib/main.js:57:34
at Array.map (<anonymous>)
at module.exports (/home/bot/node_modules/ytsr/lib/main.js:57:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: type clarificationRenderer is not known
at parseItem (/home/bot/node_modules/ytsr/lib/parseItem.js:61:13)
at catchAndLogFunc (/home/bot/node_modules/ytsr/lib/parseItem.js:68:12)
at module.exports (/home/bot/node_modules/ytsr/lib/parseItem.js:91:46)
at /home/bot/node_modules/ytsr/lib/main.js:57:34
at Array.map (<anonymous>)
at module.exports (/home/bot/node_modules/ytsr/lib/main.js:57:25)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
await ytsr('la campanela', { limit: 10 });
@TimeForANinja I am getting a simpleText
error in the code above.
👍🏿 was working on these issues for the last 3+ hours fix should come shortly