diff options
| author | Svallinn <41585298+Svallinn@users.noreply.github.com> | 2021-03-24 05:34:23 +0000 |
|---|---|---|
| committer | Svallinn <41585298+Svallinn@users.noreply.github.com> | 2021-03-24 05:34:23 +0000 |
| commit | aa4c623a06ee6c1bed864a92322876d1503a6857 (patch) | |
| tree | 6a9ead8905582c6649d97a5df906f78e41305d16 /src | |
| parent | cbdba66ef3f770c31a99a16a47925ed37439b543 (diff) | |
| download | invidious-aa4c623a06ee6c1bed864a92322876d1503a6857.tar.gz invidious-aa4c623a06ee6c1bed864a92322876d1503a6857.tar.bz2 invidious-aa4c623a06ee6c1bed864a92322876d1503a6857.zip | |
Add deprecation note
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/channels.cr | 9 |
1 files changed, 9 insertions, 0 deletions
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" => { |
