Fix parziale cinemalibero (SerieTV)

This commit is contained in:
marco
2021-12-14 19:45:15 +01:00
parent 3bd5d636e1
commit a038497d94
11 changed files with 130 additions and 22 deletions
+8
View File
@@ -34,3 +34,11 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
video_urls.append([" [Voe]", url])
return video_urls
def get_filename(page_url):
title = httptools.downloadpage(page_url).data.split('<title>')[1].split('</title>')[0]
prefix = 'Watch '
if title.startswith(prefix):
return title[len(prefix):]
return ""