diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-11-08 23:43:04 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-11-08 23:43:04 +0100 |
| commit | c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a (patch) | |
| tree | 68aa542461cecc61becc9f2685257979c5dae791 | |
| parent | 438467f69a20007cace4f300d03138b7d2d7e79a (diff) | |
| parent | ab4c0a1d3c5af5c1ba50364c04e1a996dbabc152 (diff) | |
| download | invidious-c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a.tar.gz invidious-c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a.tar.bz2 invidious-c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a.zip | |
Channel: Fetch header informations from homepage (#4241)
| -rw-r--r-- | src/invidious/channels/about.cr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/channels/about.cr b/src/invidious/channels/about.cr index 0054f8f2..8b60a728 100644 --- a/src/invidious/channels/about.cr +++ b/src/invidious/channels/about.cr @@ -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 |
