This commit is contained in:
諏訪子 2023-11-10 23:06:42 +09:00
commit 783b027dc1

View file

@ -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"} # Fetch channel information from channel home page
initdata = YoutubeAPI.browse(browse_id: ucid, params: "EgVhYm91dA==") initdata = YoutubeAPI.browse(browse_id: ucid, params: "")
rescue rescue
raise InfoException.new("Could not get channel info.") raise InfoException.new("Could not get channel info.")
end end