From 27f93b9d988e42447a5a4e98fec08549f4551445 Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Tue, 12 Dec 2017 14:25:33 -0500 Subject: [PATCH] Update playpornx.py --- plugin.video.alfa/channels/playpornx.py | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/plugin.video.alfa/channels/playpornx.py b/plugin.video.alfa/channels/playpornx.py index 24e933b6..5d52178f 100644 --- a/plugin.video.alfa/channels/playpornx.py +++ b/plugin.video.alfa/channels/playpornx.py @@ -7,7 +7,7 @@ from core import scrapertools from core.item import Item from platformcode import logger -host = "http://www.playpornx.net/" +host = "https://watchfreexxx.net/" def mainlist(item): @@ -17,7 +17,7 @@ def mainlist(item): fanart='https://s18.postimg.org/fwvaeo6qh/todas.png', url =host)) - itemlist.append(Item(channel=item.channel, title="Buscar", action="search", url='http://www.playpornx.net/?s=', + itemlist.append(Item(channel=item.channel, title="Buscar", action="search", url=host+'?s=', thumbnail='https://s30.postimg.org/pei7txpa9/buscar.png', fanart='https://s30.postimg.org/pei7txpa9/buscar.png')) @@ -31,13 +31,21 @@ def lista(item): if item.url == '': item.url = host data = httptools.downloadpage(item.url).data data = re.sub(r'"|\n|\r|\t| |
|\s{2,}', "", data) - patron = '
.*?href=(.*?)>