aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/local_playlist.py
diff options
context:
space:
mode:
authorzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-10 18:42:54 +0200
committerzrose584 <57181548+zrose584@users.noreply.github.com>2020-10-10 18:42:54 +0200
commit7d7b072a5b588ecb897a9283ca0ca7ac90736af0 (patch)
treebcf29d25532ce2847aa037dff8c5b257137bc6a1 /youtube/local_playlist.py
parented0b20e6c8c4dc018fa8ad25e2af436510e05f73 (diff)
downloadyt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.tar.lz
yt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.tar.xz
yt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.zip
always proxy cached thumbnails
Diffstat (limited to 'youtube/local_playlist.py')
-rw-r--r--youtube/local_playlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/local_playlist.py b/youtube/local_playlist.py
index 857ed24..394e7db 100644
--- a/youtube/local_playlist.py
+++ b/youtube/local_playlist.py
@@ -52,7 +52,7 @@ def get_local_playlist_videos(name, offset=0, amount=50):
try:
info = json.loads(video_json)
if info['id'] + ".jpg" in thumbnails:
- info['thumbnail'] = settings.img_prefix + "https://youtube.com/data/playlist_thumbnails/" + name + "/" + info['id'] + ".jpg"
+ info['thumbnail'] = "https://youtube.com/data/playlist_thumbnails/" + name + "/" + info['id'] + ".jpg"
else:
info['thumbnail'] = util.get_thumbnail_url(info['id'])
missing_thumbnails.append(info['id'])