From cb09c2fe8922d5318252b807d6f588b61f251631 Mon Sep 17 00:00:00 2001 From: Alfa <30527549+alfa-addon@users.noreply.github.com> Date: Wed, 8 Aug 2018 16:30:50 -0500 Subject: [PATCH] rapidvideo: fix --- plugin.video.alfa/servers/rapidvideo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin.video.alfa/servers/rapidvideo.py b/plugin.video.alfa/servers/rapidvideo.py index 91832210..062e3752 100755 --- a/plugin.video.alfa/servers/rapidvideo.py +++ b/plugin.video.alfa/servers/rapidvideo.py @@ -35,6 +35,9 @@ def get_video_url(page_url, premium=False, user="", password="", video_password= logger.info("url=" + page_url) video_urls = [] data = httptools.downloadpage(page_url).data + if "Please click on this button to open this video" in data: + post = "confirm.x=77&confirm.y=76&block=1" + data = httptools.downloadpage(page_url, post=post).data patron = 'https://www.rapidvideo.com/e/[^"]+' match = scrapertools.find_multiple_matches(data, patron) if match: