mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
switch to innertube API for about channels (#2255)
This commit is contained in:
parent
f2b69fd812
commit
12b46bbd41
6 changed files with 9 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue