Fix Guardaserie icu
This commit is contained in:
@@ -28,7 +28,7 @@ def mainlist(item):
|
|||||||
@support.scrape
|
@support.scrape
|
||||||
def peliculas(item):
|
def peliculas(item):
|
||||||
patronBlock = r'movies-list movies-list-full(?P<block>.*?)footer>'
|
patronBlock = r'movies-list movies-list-full(?P<block>.*?)footer>'
|
||||||
patron = r'<div data-movie-id.*?a href="(?P<url>[^"]+).*?<img data-original="(?P<thumbnail>[^"]+).*?qtip-title">(?P<title>[^<]+).*?(?:rel="tag">(?P<year>[0-9]{4}))?</a>'
|
patron = r'<div data-movie-id[^>]+> <a href="(?P<url>[^"]+).*?<img data-original="(?P<thumbnail>[^"]+)[^>]+>[^>]+>[^>]+>(?P<title>[^<]+).*?jt-info[^>]+>[^:]+:\s*(?P<rating>[^<]+).*?rel="tag">(?P<year>\d+).*?jt-info">(?P<duration>\d+)'
|
||||||
patronNext = '<li class=.active.>.*?href=.(.*?).>'
|
patronNext = '<li class=.active.>.*?href=.(.*?).>'
|
||||||
action = 'episodios'
|
action = 'episodios'
|
||||||
return locals()
|
return locals()
|
||||||
@@ -41,8 +41,7 @@ def episodios(item):
|
|||||||
|
|
||||||
def search(item, text):
|
def search(item, text):
|
||||||
info(text)
|
info(text)
|
||||||
itemlist = []
|
item.contentType = 'tvshow'
|
||||||
text = text.replace(' ', '+')
|
|
||||||
item.url = host + "/?s=" + text
|
item.url = host + "/?s=" + text
|
||||||
try:
|
try:
|
||||||
item.args = 'search'
|
item.args = 'search'
|
||||||
@@ -56,4 +55,5 @@ def search(item, text):
|
|||||||
|
|
||||||
def findvideos(item):
|
def findvideos(item):
|
||||||
support.info('findvideos', item)
|
support.info('findvideos', item)
|
||||||
return support.server(item, headers=headers)
|
data = support.match(item, headers=headers, patron=r'div class="movieplay">([^>]+)').matches
|
||||||
|
return support.server(item, data=data )
|
||||||
Reference in New Issue
Block a user