From aa4c623a06ee6c1bed864a92322876d1503a6857 Mon Sep 17 00:00:00 2001 From: Svallinn <41585298+Svallinn@users.noreply.github.com> Date: Wed, 24 Mar 2021 05:34:23 +0000 Subject: [PATCH] Add deprecation note --- src/invidious/channels.cr | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/invidious/channels.cr b/src/invidious/channels.cr index f7aa99e2..3a9b8641 100644 --- a/src/invidious/channels.cr +++ b/src/invidious/channels.cr @@ -457,6 +457,15 @@ def produce_channel_videos_url(ucid, page = 1, auto_generated = nil, sort_by = " return "/browse_ajax?continuation=#{continuation}&gl=US&hl=en" end +# ## NOTE: DEPRECATED +# Reason -> Unstable +# The Protobuf object must be provided with an id of the last playlist from the current "page" +# in order to fetch the next one accurately +# (if the id isn't included, entries shift around erratically between pages, +# leading to repetitions and skip overs) +# +# Since it's impossible to produce the appropriate Protobuf without an id being provided by the user, +# it's better to stick to continuation tokens provided by the first request and onward def produce_channel_playlists_url(ucid, cursor, sort = "newest", auto_generated = false) object = { "80226972:embedded" => {