diff options
author | Astound <kirito@disroot.org> | 2024-01-28 13:21:54 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2024-01-28 13:21:54 +0800 |
commit | d2c883c21142e952acab0cd8dea010814e0cb648 (patch) | |
tree | 38bd6e393ac43a4e7da17ac0d1bd88c15d8a3acf /youtube/channel.py | |
parent | 59c988f8197af8edca26e2665f4c90ec6326a62f (diff) | |
download | yt-local-d2c883c21142e952acab0cd8dea010814e0cb648.tar.lz yt-local-d2c883c21142e952acab0cd8dea010814e0cb648.tar.xz yt-local-d2c883c21142e952acab0cd8dea010814e0cb648.zip |
fix thumbnail into channel
Diffstat (limited to 'youtube/channel.py')
-rw-r--r-- | youtube/channel.py | 1 |
1 files changed, 1 insertions, 0 deletions
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': |