Fix Visualizzazione estensione in server diretto

This commit is contained in:
Alhaziel01
2021-12-23 12:14:49 +01:00
parent 180c2d640a
commit db33ccf61f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -10,6 +10,6 @@ def test_video_exists(page_url):
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
logger.debug("(page_url='%s')" % page_url)
video_urls = [["%s %s" % (page_url[-4:], config.get_localized_string(30137)), page_url]]
video_urls = [["%s %s" % (page_url.split('|')[0][-4:], config.get_localized_string(30137)), page_url]]
return video_urls