Aggiunto canale AltadefinizioneCommunity

This commit is contained in:
mac12m99
2021-07-24 16:03:25 +02:00
parent eda3c533ad
commit 0119903f7e
7 changed files with 259 additions and 8 deletions
+2 -2
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