Actualizados

- alldebrid: Corrección para obtener enlaces
- fembed: Corrección para obtener enlaces
This commit is contained in:
Intel1
2019-01-30 11:31:31 -05:00
parent 7a07d59997
commit 0e9bb8f7ef
2 changed files with 13 additions and 17 deletions
+3 -1
View File
@@ -20,5 +20,7 @@ def get_video_url(page_url, user="", password="", video_password=""):
data = httptools.downloadpage(page_url, post={}).data
data = jsontools.load(data)
for videos in data["data"]:
video_urls.append([videos["label"] + " [fembed]", "https://www.fembed.com" + videos["file"]])
v = videos["file"]
if not v.startswith("http"): v = "https://www.fembed.com" + videos["file"]
video_urls.append([videos["label"] + " [fembed]", v])
return video_urls