switch to innertube API for about channels (#2255)

This commit is contained in:
Émilien Devos
2021-08-13 01:00:26 +02:00
committed by GitHub
parent f2b69fd812
commit 12b46bbd41
6 changed files with 9 additions and 43 deletions

View File

@@ -10,7 +10,6 @@ struct SearchVideo
property description_html : String
property length_seconds : Int32
property live_now : Bool
property paid : Bool
property premium : Bool
property premiere_timestamp : Time?
@@ -91,7 +90,6 @@ struct SearchVideo
json.field "publishedText", translate(locale, "`x` ago", recode_date(self.published, locale))
json.field "lengthSeconds", self.length_seconds
json.field "liveNow", self.live_now
json.field "paid", self.paid
json.field "premium", self.premium
json.field "isUpcoming", self.is_upcoming