cambio de version
This commit is contained in:
+16
-11
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.alfa" name="Alfa" version="0.0.3" provider-name="unknown">
|
<addon id="plugin.video.alfa" name="Alfa" version="0.0.4" provider-name="unknown">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
<import addon="script.module.libtorrent" optional="true"/>
|
<import addon="script.module.libtorrent" optional="true"/>
|
||||||
@@ -9,16 +9,21 @@
|
|||||||
</extension>
|
</extension>
|
||||||
<extension point="xbmc.addon.metadata">
|
<extension point="xbmc.addon.metadata">
|
||||||
<summary lang="es">Sumario en Español</summary>
|
<summary lang="es">Sumario en Español</summary>
|
||||||
<news>Estos son los cambios para esta versión:
|
<news>[B]Estos son los cambios para esta versión:[/B][CR]
|
||||||
- mejortorrent
|
[COLOR green][B]Canales agregados y arreglos[/B][/COLOR]
|
||||||
- plusdede
|
[I]- Cinecalidad
|
||||||
- allcalidad
|
- Cinefox
|
||||||
- retocados iconos
|
- Mundoflv
|
||||||
- Nuevo canal: vernovelasonline
|
- Metaserie
|
||||||
- Nuevo servidor: downace
|
- Pelisplanet
|
||||||
- Nuevo servidor: gvideo
|
- flashx
|
||||||
- cinetux: Cambio de estructura
|
- xTheatre
|
||||||
- añadido textos para "spanish (mexico)", ya no debe salir los textos en inglés en algunas partes
|
- Playpornx[/I][CR]
|
||||||
|
[COLOR green][B]Servidores agregados y arreglos[/B][/COLOR][CR]
|
||||||
|
[I]- Flashx
|
||||||
|
- Streamcherry[/I]
|
||||||
|
|
||||||
|
|
||||||
</news>
|
</news>
|
||||||
<description lang="es">Descripción en Español</description>
|
<description lang="es">Descripción en Español</description>
|
||||||
<summary lang="en">English summary</summary>
|
<summary lang="en">English summary</summary>
|
||||||
|
|||||||
Executable → Regular
+5
-9
@@ -62,12 +62,9 @@ def todas(item):
|
|||||||
logger.info()
|
logger.info()
|
||||||
itemlist = []
|
itemlist = []
|
||||||
data = httptools.downloadpage(item.url).data
|
data = httptools.downloadpage(item.url).data
|
||||||
logger.debug(data)
|
data = re.sub(r'"|\n|\r|\t| |<br>|\s{2,}', "", data)
|
||||||
|
patron = '<div class=poster>.*?<a href=(.*?) title=(.*?)en(.*?)>.*?'
|
||||||
patron = '<div class="poster">[^<]'
|
patron +='<div class=poster_efecto><span>(.*?)<.*?div>.*?<img.*?src=(.*?) class'
|
||||||
patron += '<a href="([^"]+)" title="([^"]+)en(.*?)">[^<]'
|
|
||||||
patron += '<div class="poster_efecto"><span>([^<]+)<.*?div>[^<]'
|
|
||||||
patron += '<img.*?src="([^"]+)"'
|
|
||||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||||
|
|
||||||
for scrapedurl, scrapedtitle, lang, scrapedplot, scrapedthumbnail in matches:
|
for scrapedurl, scrapedtitle, lang, scrapedplot, scrapedthumbnail in matches:
|
||||||
@@ -95,8 +92,8 @@ def todas(item):
|
|||||||
# Paginacion
|
# Paginacion
|
||||||
|
|
||||||
next_page_url = scrapertools.find_single_match(data,
|
next_page_url = scrapertools.find_single_match(data,
|
||||||
'<li><a class="next page-numbers local-link" href="(['
|
'<li><a class=next page-numbers local-link href=('
|
||||||
'^"]+)">».*?li>')
|
'.*?)>».*?li>')
|
||||||
if next_page_url != "":
|
if next_page_url != "":
|
||||||
itemlist.append(Item(channel=item.channel,
|
itemlist.append(Item(channel=item.channel,
|
||||||
action="todas",
|
action="todas",
|
||||||
@@ -174,7 +171,6 @@ def episodiosxtemp(item):
|
|||||||
logger.info()
|
logger.info()
|
||||||
itemlist = []
|
itemlist = []
|
||||||
data = httptools.downloadpage(item.url).data
|
data = httptools.downloadpage(item.url).data
|
||||||
logger.debug(data)
|
|
||||||
patron = '<td><h3 class=".*?href="([^"]+)".*?">([^<]+).*?td>'
|
patron = '<td><h3 class=".*?href="([^"]+)".*?">([^<]+).*?td>'
|
||||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||||
|
|
||||||
|
|||||||
Executable → Regular
+2
-2
@@ -4,8 +4,8 @@
|
|||||||
"active": true,
|
"active": true,
|
||||||
"adult": true,
|
"adult": true,
|
||||||
"language": "es",
|
"language": "es",
|
||||||
"thumbnail": "https://s22.postimg.org/eewoqq1w1/playpornx.png",
|
"thumbnail": "https://s3.postimg.org/3rkfrnypv/playpornx.png",
|
||||||
"banner": "https://s12.postimg.org/is9u6fsul/playpornx_banner.png",
|
"banner": "https://s3.postimg.org/it5qa1gyb/playpornx-banner.png",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"changes": [
|
"changes": [
|
||||||
{
|
{
|
||||||
|
|||||||
Executable → Regular
+6
-3
@@ -14,7 +14,8 @@ def mainlist(item):
|
|||||||
itemlist = []
|
itemlist = []
|
||||||
itemlist.append(Item(channel=item.channel, title="Todas", action="lista",
|
itemlist.append(Item(channel=item.channel, title="Todas", action="lista",
|
||||||
thumbnail='https://s18.postimg.org/fwvaeo6qh/todas.png',
|
thumbnail='https://s18.postimg.org/fwvaeo6qh/todas.png',
|
||||||
fanart='https://s18.postimg.org/fwvaeo6qh/todas.png'))
|
fanart='https://s18.postimg.org/fwvaeo6qh/todas.png',
|
||||||
|
url ='https://www.playpornx.net/category/porn-movies/?filter=date'))
|
||||||
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='http://www.playpornx.net/?s=',
|
||||||
thumbnail='https://s30.postimg.org/pei7txpa9/buscar.png',
|
thumbnail='https://s30.postimg.org/pei7txpa9/buscar.png',
|
||||||
fanart='https://s30.postimg.org/pei7txpa9/buscar.png'))
|
fanart='https://s30.postimg.org/pei7txpa9/buscar.png'))
|
||||||
@@ -28,10 +29,12 @@ def lista(item):
|
|||||||
itemlist = []
|
itemlist = []
|
||||||
if item.url == '': item.url = host
|
if item.url == '': item.url = host
|
||||||
data = httptools.downloadpage(item.url).data
|
data = httptools.downloadpage(item.url).data
|
||||||
patron = '<a class="clip-link" title="([^"]+)" href="([^"]+)">\s*<span class="clip">\s*<img alt=".*?" width="190" height="266" src="([^"]+)" data-qazy="true" \/><span class="vertical-align"><\/span>\s*<\/span>'
|
data = re.sub(r'"|\n|\r|\t| |<br>|\s{2,}', "", data)
|
||||||
|
logger.debug(data)
|
||||||
|
patron = 'role=article><a href=(.*?) rel=bookmark title=(.*?)>.*?src=(.*?) class'
|
||||||
matches = re.compile(patron, re.DOTALL).findall(data)
|
matches = re.compile(patron, re.DOTALL).findall(data)
|
||||||
|
|
||||||
for scrapedtitle, scrapedurl, scrapedthumbnail in matches:
|
for scrapedurl, scrapedtitle, scrapedthumbnail in matches:
|
||||||
url = scrapedurl
|
url = scrapedurl
|
||||||
thumbnail = scrapedthumbnail
|
thumbnail = scrapedthumbnail
|
||||||
title = scrapedtitle
|
title = scrapedtitle
|
||||||
|
|||||||
Reference in New Issue
Block a user