Fix youtube logo

main
Micke Nordin 3 years ago
parent 6010e3a6fa
commit 605f40e1f1
Signed by: micke
GPG Key ID: 014B273D614BE877

@ -20,8 +20,8 @@ class YouTube(ChannelProvider):
def __init__(self, channel_id) -> None: def __init__(self, channel_id) -> None:
rss_url = 'https://www.youtube.com/feeds/videos.xml?channel_id={}'.format( rss_url = 'https://www.youtube.com/feeds/videos.xml?channel_id={}'.format(
channel_id) channel_id)
logo_url = 'https://upload.wikimedia.org/wikipedia/commons/thumb' logo_url = 'https://upload.wikimedia.org/wikipedia/commons/'
logo_url += '/3/3f/Logo_of_YouTube_(2005-2011).svg/480px-Logo_of_YouTube_(2005-2011).svg.png' 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) super().__init__(channel_id, rss_url, logo_url)
self.m_items: Union[list[Item], None] = None self.m_items: Union[list[Item], None] = None

Loading…
Cancel
Save