Fetch channel info from home tab instead of about

このコミットが含まれているのは:
syeopite 2023-11-07 23:45:44 -08:00
コミット ab4c0a1d3c
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: A73C186DA3955A1A
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -18,8 +18,8 @@ record AboutChannel,
def get_about_info(ucid, locale) : AboutChannel
begin
# "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=")
# Fetch channel information from channel home page
initdata = YoutubeAPI.browse(browse_id: ucid, params: "")
rescue
raise InfoException.new("Could not get channel info.")
end