diff --git a/webinterface.py b/webinterface.py index 95545163..d8365731 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1564,6 +1564,8 @@ def addEmbeddedVideoFromSites(translate: {},content: str,width=400,height=300) - url=content.split('"'+videoSite)[1] if '"' in url: url=url.split('"')[0].replace('/watch?v=','/embed/') + if '&' in url: + url=url.split('&')[0] content=content+"