Skip to content

Commit

Permalink
Fetch channel info from home tab instead of about
Browse files Browse the repository at this point in the history
  • Loading branch information
syeopite committed Nov 8, 2023
1 parent c31908a commit ab4c0a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/invidious/channels/about.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab4c0a1

Please sign in to comment.