From 605f40e1f18a02f297c70769008a1157bfd2fabd Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sun, 26 Dec 2021 15:14:08 +0100 Subject: [PATCH] Fix youtube logo --- ChannelProvider/YouTube/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChannelProvider/YouTube/__init__.py b/ChannelProvider/YouTube/__init__.py index fb43e65..0ef41ef 100644 --- a/ChannelProvider/YouTube/__init__.py +++ b/ChannelProvider/YouTube/__init__.py @@ -20,8 +20,8 @@ class YouTube(ChannelProvider): def __init__(self, channel_id) -> None: rss_url = 'https://www.youtube.com/feeds/videos.xml?channel_id={}'.format( channel_id) - logo_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb' - logo_url += '/3/3f/Logo_of_YouTube_(2005-2011).svg/480px-Logo_of_YouTube_(2005-2011).svg.png' + logo_url = 'https://upload.wikimedia.org/wikipedia/commons/' + logo_url += 'thumb/0/09/YouTube_full-color_icon_(2017).svg/480px-YouTube_full-color_icon_(2017).svg.png' super().__init__(channel_id, rss_url, logo_url) self.m_items: Union[list[Item], None] = None