summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsyeopite <syeopite@syeopite.dev>2023-11-07 22:19:56 -0800
committersyeopite <syeopite@syeopite.dev>2023-11-07 22:19:56 -0800
commitc31908a011f5ac460de7c816f8861a6ec3cb6692 (patch)
tree9fdd282d61d272b9f562bd10ffa79322ad8f88a6
parent438467f69a20007cace4f300d03138b7d2d7e79a (diff)
downloadinvidious-c31908a011f5ac460de7c816f8861a6ec3cb6692.tar.gz
invidious-c31908a011f5ac460de7c816f8861a6ec3cb6692.tar.bz2
invidious-c31908a011f5ac460de7c816f8861a6ec3cb6692.zip
Update params protobuf for channel about tab
-rw-r--r--src/invidious/channels/about.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/channels/about.cr b/src/invidious/channels/about.cr
index 0054f8f2..894670dd 100644
--- a/src/invidious/channels/about.cr
+++ b/src/invidious/channels/about.cr
@@ -18,8 +18,8 @@ record AboutChannel,
def get_about_info(ucid, locale) : AboutChannel
begin
- # "EgVhYm91dA==" is the base64-encoded protobuf object {"2:string":"about"}
- initdata = YoutubeAPI.browse(browse_id: ucid, params: "EgVhYm91dA==")
+ # "EgVhYm91dPIGBAoCEgA=" is the base64-encoded protobuf object {"2:0:string":"about","110:1:embedded":{"1:0:embedded":{"2:0:string":""}}}
+ initdata = YoutubeAPI.browse(browse_id: ucid, params: "EgVhYm91dPIGBAoCEgA=")
rescue
raise InfoException.new("Could not get channel info.")
end