mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:39:28 +00:00
use featured path to extract channel metadata, #614
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user