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

@@ -61,7 +61,7 @@ class ChannelSubscription:
obs["playlistend"] = limit_amount
url = f"https://www.youtube.com/channel/{channel_id}/{vid_type}"
channel_query = YtWrap(obs, self.config).extract(url)
channel_query, _ = YtWrap(obs, self.config).extract(url)
if not channel_query:
continue