diff options
author | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-10 18:42:54 +0200 |
---|---|---|
committer | zrose584 <57181548+zrose584@users.noreply.github.com> | 2020-10-10 18:42:54 +0200 |
commit | 7d7b072a5b588ecb897a9283ca0ca7ac90736af0 (patch) | |
tree | bcf29d25532ce2847aa037dff8c5b257137bc6a1 /youtube/subscriptions.py | |
parent | ed0b20e6c8c4dc018fa8ad25e2af436510e05f73 (diff) | |
download | yt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.tar.lz yt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.tar.xz yt-local-7d7b072a5b588ecb897a9283ca0ca7ac90736af0.zip |
always proxy cached thumbnails
Diffstat (limited to 'youtube/subscriptions.py')
-rw-r--r-- | youtube/subscriptions.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/youtube/subscriptions.py b/youtube/subscriptions.py index 219a526..6f75578 100644 --- a/youtube/subscriptions.py +++ b/youtube/subscriptions.py @@ -820,8 +820,6 @@ def get_subscriptions_page(): videos, number_of_videos_in_db = _get_videos(cursor, 60, (page - 1)*60, tag) for video in videos: video['thumbnail'] = util.URL_ORIGIN + '/data/subscription_thumbnails/' + video['id'] + '.jpg' - if not settings.proxy_images: - video['thumbnail'] = video['thumbnail'][1:] video['type'] = 'video' video['item_size'] = 'small' util.add_extra_html_info(video) |