Closed ThePedroo closed 5 months ago
v2.0.1 8d3d0a99fe2db7fa2b4abf8081831061757e731c
When loading a track from YouTube Music with "bypassAgeRestricted" option, it will crash.
file:///home/system/Downloads/NodeLink/src/sources/youtube.js:186 let videos = type == 'ytmusic' ? search.contents.tabbedSearchResultsRenderer.tabs[0].tabRenderer.content.musicSplitViewRenderer.mainContent.sectionListRenderer.contents[0].musicShelfRenderer.contents : search.contents.sectionListRenderer.contents[search.contents.sectionListRenderer.contents.length - 1].itemSectionRenderer.contents ^ TypeError: Cannot read properties of undefined (reading 'tabs') at Object.search (file:///home/system/Downloads/NodeLink/src/sources/youtube.js:186:80) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Server.requestHandler (file:///home/system/Downloads/NodeLink/src/connection/handler.js:404:20) Node.js v21.6.1
FastLink v2.4.2 d682b933af5f76140681c35ac212606786fc0f1d
ytm
N/A
NodeLink version
v2.0.1 8d3d0a99fe2db7fa2b4abf8081831061757e731c
Description
When loading a track from YouTube Music with "bypassAgeRestricted" option, it will crash.
Client
FastLink v2.4.2 d682b933af5f76140681c35ac212606786fc0f1d
Steps to reproduce
ytm
searchExample code
N/A
Confirmations
Code of Conduct