mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-31 14:11:54 +05:30
switch to innertube API for about channels (#2255)
This commit is contained in:
@@ -1338,7 +1338,6 @@ get "/feed/channel/:ucid" do |env|
|
||||
description_html: description_html,
|
||||
length_seconds: 0,
|
||||
live_now: false,
|
||||
paid: false,
|
||||
premium: false,
|
||||
premiere_timestamp: nil,
|
||||
})
|
||||
@@ -2154,7 +2153,6 @@ get "/api/v1/channels/:ucid" do |env|
|
||||
json.field "subCount", channel.sub_count
|
||||
json.field "totalViews", channel.total_views
|
||||
json.field "joined", channel.joined.to_unix
|
||||
json.field "paid", channel.paid
|
||||
|
||||
json.field "autoGenerated", channel.auto_generated
|
||||
json.field "isFamilyFriendly", channel.is_family_friendly
|
||||
|
Reference in New Issue
Block a user