diff options
| author | syeopite <syeopite@syeopite.dev> | 2023-11-07 23:45:44 -0800 |
|---|---|---|
| committer | syeopite <syeopite@syeopite.dev> | 2023-11-07 23:53:14 -0800 |
| commit | ab4c0a1d3c5af5c1ba50364c04e1a996dbabc152 (patch) | |
| tree | 68aa542461cecc61becc9f2685257979c5dae791 /src | |
| parent | c31908a011f5ac460de7c816f8861a6ec3cb6692 (diff) | |
| download | invidious-ab4c0a1d3c5af5c1ba50364c04e1a996dbabc152.tar.gz invidious-ab4c0a1d3c5af5c1ba50364c04e1a996dbabc152.tar.bz2 invidious-ab4c0a1d3c5af5c1ba50364c04e1a996dbabc152.zip | |
Fetch channel info from home tab instead of about
Diffstat (limited to 'src')
| -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 894670dd..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 - # "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 |
