Arreglo codigo.

Puesta en off: eroticasonlinetv , spankwire
Nuevos canales: Siska , xxxfreeinhd
This commit is contained in:
paezner
2019-03-22 15:47:12 +01:00
parent 144412f57c
commit 9d2ace5b7a
50 changed files with 476 additions and 199 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ def categorias(item):
def lista(item):
logger.info()
itemlist = []
data = scrapertools.cachePage(item.url)
data = httptools.downloadpage(item.url).data
patron = '<a class="thumb tco1" href="([^"]+)">.*?'
patron += 'src="([^"]+)".*?'
patron += 'alt="([^"]+)".*?'
@@ -69,7 +69,7 @@ def lista(item):
thumbnail = scrapedthumbnail + "|Referer=%s" %host
plot = ""
itemlist.append( Item(channel=item.channel, action="play", title=title, url=url, thumbnail=thumbnail,
plot=plot, contentTitle = contentTitle))
fanart=thumbnail, plot=plot, contentTitle = contentTitle))
next_page = scrapertools.find_single_match(data,'<a class="bgco2 tco3" rel="next" href="([^"]+)">&gt</a>')
if next_page!="":
next_page = urlparse.urljoin(item.url,next_page)