mirror of
https://github.com/iv-org/invidious.git
synced 2025-02-24 08:18:22 -06:00
Compare commits
3 Commits
438467f69a
...
c5b87e3b5e
Author | SHA1 | Date | |
---|---|---|---|
|
c5b87e3b5e | ||
|
ab4c0a1d3c | ||
|
c31908a011 |
@ -18,8 +18,8 @@ record AboutChannel,
|
|||||||
|
|
||||||
def get_about_info(ucid, locale) : AboutChannel
|
def get_about_info(ucid, locale) : AboutChannel
|
||||||
begin
|
begin
|
||||||
# "EgVhYm91dA==" is the base64-encoded protobuf object {"2:string":"about"}
|
# Fetch channel information from channel home page
|
||||||
initdata = YoutubeAPI.browse(browse_id: ucid, params: "EgVhYm91dA==")
|
initdata = YoutubeAPI.browse(browse_id: ucid, params: "")
|
||||||
rescue
|
rescue
|
||||||
raise InfoException.new("Could not get channel info.")
|
raise InfoException.new("Could not get channel info.")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user