specify videos page for get_last_youtube_videos of channel

This commit is contained in:
simon 2022-05-28 14:34:01 +07:00
parent 5982932457
commit caaed252f9
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 1 deletions

View File

@ -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