refact yt-dlp info extract, show errors

This commit is contained in:
Simon
2025-07-10 10:58:26 +07:00
parent f45214714c
commit 83404628e6
8 changed files with 43 additions and 24 deletions

View File

@@ -301,7 +301,7 @@ class YoutubeChannel(YouTubeItem):
+ "/playlists?view=1&sort=dd&shelf_id=0"
)
obs = {"skip_download": True, "extract_flat": True}
playlists = YtWrap(obs, self.config).extract(url)
playlists, _ = YtWrap(obs, self.config).extract(url)
if not playlists:
self.all_playlists = []
return