aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/playlist.py
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-06-18 19:45:34 -0400
committerJesus E <heckyel@riseup.net>2023-06-18 19:45:34 -0400
commitcd7624f2cb94ba3c8776b769f294b8a9ad8d7487 (patch)
treec77f6ff8825aa38f96124936c1f910eb6825da78 /youtube/playlist.py
parent5d5322587414dcc12572a6e854fbfe072b7e63b6 (diff)
downloadyt-local-cd7624f2cb94ba3c8776b769f294b8a9ad8d7487.tar.lz
yt-local-cd7624f2cb94ba3c8776b769f294b8a9ad8d7487.tar.xz
yt-local-cd7624f2cb94ba3c8776b769f294b8a9ad8d7487.zip
Set hqdefault thumnail images
Diffstat (limited to 'youtube/playlist.py')
-rw-r--r--youtube/playlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/playlist.py b/youtube/playlist.py
index 357a7ec..f4096dc 100644
--- a/youtube/playlist.py
+++ b/youtube/playlist.py
@@ -104,7 +104,7 @@ def get_playlist_page():
util.prefix_urls(item)
util.add_extra_html_info(item)
if 'id' in item:
- item['thumbnail'] = settings.img_prefix + 'https://i.ytimg.com/vi/' + item['id'] + '/default.jpg'
+ item['thumbnail'] = f"{settings.img_prefix}https://i.ytimg.com/vi/{item['id']}/hqdefault.jpg"
item['url'] += '&list=' + playlist_id
if item['index']: