streamcherry: fix

This commit is contained in:
Intel1
2018-02-26 15:40:08 -05:00
committed by GitHub
parent 1f9e7e4fd9
commit 82752a818c

View File

@@ -32,7 +32,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password=
for ext, encoded, code, quality in matches:
media_url = decode(encoded, int(code))
media_url = media_url.replace("@","")
if not media_url.startswith("http"):
media_url = "http:" + media_url
video_urls.append([".%s %sp [streamcherry]" % (ext, quality), media_url])