Skip to content

Invidious is an alternative front-end to YouTube

Channels: Use the same structure as in the other ctoken functions

Samantaz Fox2a19dbb1fee2
diff --git a/src/invidious/channels/videos.cr b/src/invidious/channels/videos.cr
index 9572adf3..96400f47 100644
--- a/src/invidious/channels/videos.cr
+++ b/src/invidious/channels/videos.cr
@@ -111,7 +111,9 @@ module Invidious::Channel::Tabs
private def make_initial_videos_ctoken(ucid : String, sort_by = "newest")
object = {
"15:embedded" => {
- "2:string" => "\n$00000000-0000-0000-0000-000000000000",
+ "2:embedded" => {
+ "1:string" => "00000000-0000-0000-0000-000000000000",
+ },
"4:varint" => sort_options_videos_short(sort_by),
},
}