Closed Intronet closed 3 years ago
I agree, the source code shows no implementation of continuation for videos and playlists. This library is very useful but it needs lots of updating and typescript typings
OK got the continuations working index.js line 219 : if (contentLimit > result.content.length) { replace with if (result.trackCount > result.content.length) {
index.js line 230 : if (contentLimit > result.content.length && (!Array.isArray(result.continuation) && result.continuation instanceof Object)) { replace with if (result.trackCount > result.content.length && result.continuation.length) {
index.js line 231 : getContinuations(result.continuation) replace with getContinuations(result.continuation[0])
You're asking us to edit the source code?
You're asking us to edit the source code?
Yes, and it will return all videos in a playlist
Can you publish an example showing how to get the continuations for videos and playlists