merge-requests/26/head
Bob Mottram 2022-01-14 20:20:58 +00:00
parent 89f6d4c374
commit 889e57239d
1 changed files with 0 additions and 1 deletions

View File

@ -191,7 +191,6 @@ def html_podcast_episode(css_cache: {}, translate: {},
'\n </audio>\n'
elif podcast_properties.get('linkMimeType'):
if '/youtube' in podcast_properties['linkMimeType']:
video_site = 'https://www.youtube.com'
url = link_url.replace('/watch?v=', '/embed/')
if '&' in url:
url = url.split('&')[0]