Aggiunto AltadefinizioneCommunity

This commit is contained in:
mac12m99
2021-07-18 13:38:16 +02:00
parent 3321a8a119
commit 9f1b65613a
5 changed files with 14 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ def test_video_exists(page_url):
return True, ""
def get_video_url(page_url, video_password):
def get_video_url(page_url, premium=False, user="", password="", video_password=""):
logger.info("(page_url='%s')" % page_url)
global data
video_urls = []
@@ -26,4 +26,4 @@ def get_video_url(page_url, video_password):
url += decoded.decode("utf8")
url = scrapertools.find_single_match(url, '<source src="([^"]+)"')
video_urls.append(["[youdbox]", url])
return video_urls
return video_urls