use featured path to extract channel metadata, #614

This commit is contained in:
Simon 2023-12-03 14:48:56 +07:00
parent 099c70a13b
commit 5aafc21bda
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ class YoutubeChannel(YouTubeItem):
self.all_playlists = False
self.task = task
def build_yt_url(self):
"""build youtube url"""
return f"{self.yt_base}{self.youtube_id}/featured"
def build_json(self, upload=False, fallback=False):
"""get from es or from youtube"""
self.get_from_es()