From caaed252f9ec60eb6cf91db5728c6e52d82ce8e3 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 28 May 2022 14:34:01 +0700 Subject: [PATCH] specify videos page for get_last_youtube_videos of channel --- tubearchivist/home/src/download/subscriptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tubearchivist/home/src/download/subscriptions.py b/tubearchivist/home/src/download/subscriptions.py index 973c76e..916c170 100644 --- a/tubearchivist/home/src/download/subscriptions.py +++ b/tubearchivist/home/src/download/subscriptions.py @@ -43,7 +43,8 @@ class ChannelSubscription: if limit: obs["playlistend"] = self.config["subscriptions"]["channel_size"] - channel = YtWrap(obs, self.config).extract(channel_id) + url = f"https://www.youtube.com/channel/{channel_id}/videos" + channel = YtWrap(obs, self.config).extract(url) if not channel: return False