Closed aldairbotherotaku closed 7 months ago
judging by the message i'm guessing it happens when trying to search for "rongu"?
can you send the full search URL along with back/yt2009constants.json
(remove your IP beforehand) so i can try to replicate the issue?
judging by the message i'm guessing it happens when trying to search for "rongu"?
can you send the full search URL along with
back/yt2009constants.json
(remove your IP beforehand) so i can try to replicate the issue?
(This happens on every yt search sometimes no just with "rongu". that was just a test) file.json
nah isn't my ip. it's a 1dll vps. anyways so there is no problem.
will add a workaround tomorrow. once that's done i'll ask you to retest there.
please retest and close if the issue is no longer there.
fixed
I mean the error says everything, it seems like result.videoCountText.simpleText returns undefined. i will use "result.subscriberCountText.simpleText.includes("subscriber"))" insted of that thing for make my instance work again lol
() rongu clean fetch 1710996153669 /repos/yt2009/back/yt2009utils.js:372 && result.videoCountText.simpleText.includes("subscriber")) { ^
TypeError: Cannot read properties of undefined (reading 'includes') at /repos/yt2009/back/yt2009utils.js:372:53 at Array.forEach ()
at Object.search_parse (/repos/yt2009/back/yt2009utils.js:284:17)
at /repos/yt2009/back/yt2009search.js:199:49
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)