mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
89f6d4c374
commit
889e57239d
|
@ -191,7 +191,6 @@ def html_podcast_episode(css_cache: {}, translate: {},
|
||||||
'\n </audio>\n'
|
'\n </audio>\n'
|
||||||
elif podcast_properties.get('linkMimeType'):
|
elif podcast_properties.get('linkMimeType'):
|
||||||
if '/youtube' in podcast_properties['linkMimeType']:
|
if '/youtube' in podcast_properties['linkMimeType']:
|
||||||
video_site = 'https://www.youtube.com'
|
|
||||||
url = link_url.replace('/watch?v=', '/embed/')
|
url = link_url.replace('/watch?v=', '/embed/')
|
||||||
if '&' in url:
|
if '&' in url:
|
||||||
url = url.split('&')[0]
|
url = url.split('&')[0]
|
||||||
|
|
Loading…
Reference in New Issue