Fix Cinemalibero e StreamingCommunity

This commit is contained in:
Alhaziel01
2022-04-02 10:17:27 +02:00
parent 75d83f423c
commit 49e609b4e0
6 changed files with 48 additions and 28 deletions
+3 -2
View File
@@ -40,8 +40,9 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
def get_filename(page_url):
title = httptools.downloadpage(page_url).data.split('<title>')[1].split('</title>')[0]
prefix = 'Watch '
# from core.support import dbg;dbg()
title = httptools.downloadpage(page_url).data.split('<h3>')[1].split('</h3>')[0]
prefix = 'Download '
if title.startswith(prefix):
return title[len(prefix):]
return ""