Skip to content

Commit

Permalink
Channel: Fetch header informations from homepage (#4241)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantazFox committed Nov 8, 2023
2 parents 438467f + ab4c0a1 commit c5b87e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invidious/channels/about.cr
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==")
# Fetch channel information from channel home page
initdata = YoutubeAPI.browse(browse_id: ucid, params: "")
rescue
raise InfoException.new("Could not get channel info.")
end
Expand Down

0 comments on commit c5b87e3

Please sign in to comment.