mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
Update params protobuf for channel about tab
This commit is contained in:
parent
438467f69a
commit
c31908a011
@ -18,8 +18,8 @@ record AboutChannel,
|
|||||||
|
|
||||||
def get_about_info(ucid, locale) : AboutChannel
|
def get_about_info(ucid, locale) : AboutChannel
|
||||||
begin
|
begin
|
||||||
# "EgVhYm91dA==" is the base64-encoded protobuf object {"2:string":"about"}
|
# "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: "EgVhYm91dA==")
|
initdata = YoutubeAPI.browse(browse_id: ucid, params: "EgVhYm91dPIGBAoCEgA=")
|
||||||
rescue
|
rescue
|
||||||
raise InfoException.new("Could not get channel info.")
|
raise InfoException.new("Could not get channel info.")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user