Update params protobuf for channel about tab

This commit is contained in:
syeopite 2023-11-07 22:19:56 -08:00
parent 438467f69a
commit c31908a011
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A
1 changed files with 2 additions and 2 deletions

View File

@ -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