aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/js/transcript-table.js
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-04-05 18:19:05 -0500
committerAstounds <kirito@disroot.org>2026-04-05 18:19:05 -0500
commite8e2aa93d621b3f2ffe9c8f7b06d381012f6bff8 (patch)
tree3c21da955b4a3d8025de77984e6dc2e166dce645 /youtube/static/js/transcript-table.js
parent8403e30b3abe810d764fc6dc57c0a0386273356e (diff)
downloadyt-local-e8e2aa93d621b3f2ffe9c8f7b06d381012f6bff8.tar.lz
yt-local-e8e2aa93d621b3f2ffe9c8f7b06d381012f6bff8.tar.xz
yt-local-e8e2aa93d621b3f2ffe9c8f7b06d381012f6bff8.zip
fix(channel): fix shorts/streams pagination using continuation tokens
- Add continuation_token_cache to store ctokens between page requests - Use cached ctoken for page 2+ instead of generating fresh tokens - Switch shorts/streams to Next/Previous buttons (no page numbers) - Show "N+ videos" indicator when more pages are available - Fix UnboundLocalError when page_call was undefined for shorts/streams The issue was that YouTube's InnerTube API requires continuation tokens for pagination on shorts/streams tabs, but the code was generating a new ctoken each time, always returning the same 30 videos.
Diffstat (limited to 'youtube/static/js/transcript-table.js')
0 files changed, 0 insertions, 0 deletions