From d2c883c21142e952acab0cd8dea010814e0cb648 Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 28 Jan 2024 13:21:54 +0800 Subject: fix thumbnail into channel --- youtube/channel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube/channel.py b/youtube/channel.py index e177c38..cd0d539 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -389,6 +389,7 @@ def post_process_channel_info(info): info['avatar'] = util.prefix_url(info['avatar']) info['channel_url'] = util.prefix_url(info['channel_url']) for item in info['items']: + item['thumbnail'] = "https://i.ytimg.com/vi/{}/hqdefault.jpg".format(item['id']) util.prefix_urls(item) util.add_extra_html_info(item) if info['current_tab'] == 'about': -- cgit v1.2.3