Channel: Fetch header informations from homepage (#4241)

This commit is contained in:
Samantaz Fox 2023-11-08 23:43:04 +01:00
commit c5b87e3b5e
No known key found for this signature in database
GPG Key ID: F42821059186176E
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==")
# Fetch channel information from channel home page
initdata = YoutubeAPI.browse(browse_id: ucid, params: "")
rescue
raise InfoException.new("Could not get channel info.")
end