From 5729e04cb5a901f34c711f624918b4b9ead6a6f9 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Fri, 15 Dec 2017 14:35:14 -0500 Subject: [PATCH] doomtv: fix --- plugin.video.alfa/channels/doomtv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.video.alfa/channels/doomtv.py b/plugin.video.alfa/channels/doomtv.py index 2bc1209f..e341de97 100644 --- a/plugin.video.alfa/channels/doomtv.py +++ b/plugin.video.alfa/channels/doomtv.py @@ -225,6 +225,8 @@ def findvideos(item): #itemlist = get_url(item) data = httptools.downloadpage(item.url).data data = re.sub(r'"|\n|\r|\t| ||\s{2,}', "", data) + url_m3u8 = scrapertools.find_single_match(data, '') + itemlist.append(item.clone(url=url_m3u8, action='play')) patron = 'id=(tab\d+)><(?:iframe|script) src=(.*?)(?:scrolling|><\/script>)' matches = re.compile(patron, re.DOTALL).findall(data)