Skip to content

Commit

Permalink
Update params protobuf for channel about tab
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Nov 8, 2023
1 parent 438467f commit c31908a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invidious/channels/about.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c31908a

Please sign in to comment.