let search = await ytt.query('ducks making very weird noises')
console.log(search.items.length) // 20
if (search.items.continuation) await search.items.more()
console.log(search.items.length) // 20
Because continuations[0].nextContinuationData.continuation does not exist anymore:
We could replace it with continuationItemRenderer.continuationCommand.token, however currently it gives the same items back and not the next ones.
Scrolling down the YouTube results page reveals that they've changed the way results get fetched.
The request uses the offical YouTube API now and requires an API key.
(disable_polymer not working anymore either)
Looking for possible workarounds...
(playlist continuation works fine though, because a continuations object is provided)
search.items.continuation
is always false:Because
continuations[0].nextContinuationData.continuation
does not exist anymore:https://github.com/bakapear/ytt/blob/5c8c63442f809fd23192bb136d7e087afb3de44f/src/lib/builder.js#L57 https://github.com/bakapear/ytt/blob/5c8c63442f809fd23192bb136d7e087afb3de44f/src/lib/builder.js#L268
We could replace it with
continuationItemRenderer.continuationCommand.token
, however currently it gives the same items back and not the next ones.Scrolling down the YouTube results page reveals that they've changed the way results get fetched. The request uses the offical YouTube API now and requires an API key. (disable_polymer not working anymore either)
Looking for possible workarounds...
(playlist continuation works fine though, because a continuations object is provided)