Arreglos comentarios de Intel1
This commit is contained in:
committed by
GitHub
parent
e1fe886602
commit
9aae0e7a1b
@@ -1,4 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import urlparse
|
import urlparse
|
||||||
@@ -52,10 +52,9 @@ def temporada(item):
|
|||||||
patron = '<a href="([^"]+)"><div class="item-temporada"><img alt=".+?" src="([^"]+)"><div .+?>Ver ([^"]+)<\/div><\/a>'
|
patron = '<a href="([^"]+)"><div class="item-temporada"><img alt=".+?" src="([^"]+)"><div .+?>Ver ([^"]+)<\/div><\/a>'
|
||||||
matches = scrapertools.find_multiple_matches(data, patron)
|
matches = scrapertools.find_multiple_matches(data, patron)
|
||||||
for link,thumbnail,name in matches:
|
for link,thumbnail,name in matches:
|
||||||
title=name
|
|
||||||
url=host+link
|
url=host+link
|
||||||
thumbnail=host+thumbnail
|
thumbnail=host+thumbnail
|
||||||
itemlist.append(item.clone(title=title, url=url, thumbnail=thumbnail,action="episodios",context=autoplay.context))
|
itemlist.append(item.clone(title=name, url=url, thumbnail=thumbnail,action="episodios",context=autoplay.context))
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
def episodios(item):
|
def episodios(item):
|
||||||
@@ -92,8 +91,6 @@ def findvideos(item):
|
|||||||
itemlist = []
|
itemlist = []
|
||||||
id = ""
|
id = ""
|
||||||
type = ""
|
type = ""
|
||||||
|
|
||||||
data = httptools.downloadpage(item.url).data
|
|
||||||
it2 = servertools.get_servers_itemlist(itemlist, lambda i: i.title % i.server.capitalize())
|
it2 = servertools.get_servers_itemlist(itemlist, lambda i: i.title % i.server.capitalize())
|
||||||
itemlist.extend(servertools.find_video_items(data=data))
|
itemlist.extend(servertools.find_video_items(data=data))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user