This commit is contained in:
bashrc committed 2022-01-14 20:20:58 +00:00
1 parent 89f6d4c374
commit 889e57239d
1 file changed
-1
-1
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]