From bccfcc96bab5794175e0569b8bb9f3af989bc04e Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Sat, 9 Jun 2018 16:14:13 -0500 Subject: [PATCH 1/4] vidoza --- plugin.video.alfa/servers/vidoza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/servers/vidoza.py b/plugin.video.alfa/servers/vidoza.py index eacec9e5..a7b55f11 100755 --- a/plugin.video.alfa/servers/vidoza.py +++ b/plugin.video.alfa/servers/vidoza.py @@ -20,7 +20,7 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= logger.info("(page_url='%s')" % page_url) data = httptools.downloadpage(page_url).data video_urls = [] - matches = scrapertools.find_multiple_matches(data, 'file\s*:\s*"([^"]+)"\s*,\s*label:"([^"]+)"') + matches = scrapertools.find_multiple_matches(data, 'src\s*:\s*"([^"]+)".*?label:\'([^\']+)\'') for media_url, calidad in matches: ext = media_url[-4:] video_urls.append(["%s %s [vidoza]" % (ext, calidad), media_url]) From 55e9cc19e2dc71286c1c79f3e84174322dc9b57e Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Sat, 9 Jun 2018 16:18:25 -0500 Subject: [PATCH 2/4] Update powvideo.py --- plugin.video.alfa/servers/powvideo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/servers/powvideo.py b/plugin.video.alfa/servers/powvideo.py index c82961ec..de0c0c4c 100755 --- a/plugin.video.alfa/servers/powvideo.py +++ b/plugin.video.alfa/servers/powvideo.py @@ -44,5 +44,5 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= def decode_powvideo_url(url): tria = re.compile('[0-9a-z]{40,}', re.IGNORECASE).findall(url)[0] gira = tria[::-1] - x = gira[:2] + gira[3:] + x = gira[1:] return re.sub(tria, x, url) From feb169f1165aef94fde5e3cdb07eac6baaa1f511 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Sat, 9 Jun 2018 16:29:35 -0500 Subject: [PATCH 3/4] Update streamplay.py --- plugin.video.alfa/servers/streamplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.video.alfa/servers/streamplay.py b/plugin.video.alfa/servers/streamplay.py index 9ceae02b..cf8e0303 100644 --- a/plugin.video.alfa/servers/streamplay.py +++ b/plugin.video.alfa/servers/streamplay.py @@ -46,5 +46,5 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= def decode_video_url(url): tria = re.compile('[0-9a-z]{40,}', re.IGNORECASE).findall(url)[0] gira = tria[::-1] - x = gira[:2] + gira[3:] + x = gira[:3] + gira[4:] return re.sub(tria, x, url) From 13e9af77335886f5e68b666282dfb476de8fc39a Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Sat, 9 Jun 2018 16:33:05 -0500 Subject: [PATCH 4/4] Update streamcloud.py --- plugin.video.alfa/servers/streamcloud.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.video.alfa/servers/streamcloud.py b/plugin.video.alfa/servers/streamcloud.py index e7311743..350b6dc5 100755 --- a/plugin.video.alfa/servers/streamcloud.py +++ b/plugin.video.alfa/servers/streamcloud.py @@ -45,7 +45,8 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= media_url = scrapertools.get_match(data, 'file\: "([^"]+)"') video_urls = [] - video_urls.append([scrapertools.get_filename_from_url(media_url)[-4:] + " [streamcloud]", media_url]) + video_urls.append([scrapertools.get_filename_from_url(media_url)[-4:] + " [streamcloud]", media_url+"|Referer="+page_url]) + for video_url in video_urls: logger.info("%s - %s" % (video_url[0], video_url[1]))