fix: ilgeniodellostreaming
fixati problemi
This commit is contained in:
@@ -51,15 +51,15 @@ def mainlist(item):
|
|||||||
support.log(item)
|
support.log(item)
|
||||||
|
|
||||||
film = ['/film/',
|
film = ['/film/',
|
||||||
('Film Per Categoria',['', 'genres', 'genres']),
|
('Generi',['', 'genres', 'genres']),
|
||||||
('Film Per Anno',['', 'genres', 'year']),
|
('Per Lettera',['/film-a-z/', 'genres', 'letter']),
|
||||||
('Film Per Lettera',['/film-a-z/', 'genres', 'letter']),
|
('Anni',['', 'genres', 'year']),
|
||||||
('Popolari',['/trending/?get=movies', 'peliculas', 'populared']),
|
('Popolari',['/trending/?get=movies', 'peliculas', 'populared']),
|
||||||
('Più Votati', ['/ratings/?get=movies', 'peliculas', 'populared'])
|
('Più Votati', ['/ratings/?get=movies', 'peliculas', 'populared'])
|
||||||
]
|
]
|
||||||
|
|
||||||
tvshow = ['/serie/',
|
tvshow = ['/serie/',
|
||||||
('Nuovi Episodi', ['/aggiornamenti-serie/', 'peliculas', 'update']),
|
('Aggiornamenti', ['/aggiornamenti-serie/', 'peliculas', 'update']),
|
||||||
('Popolari',['/trending/?get=tv', 'peliculas', 'populared']),
|
('Popolari',['/trending/?get=tv', 'peliculas', 'populared']),
|
||||||
('Più Votati', ['/ratings/?get=tv', 'peliculas', 'populared'])
|
('Più Votati', ['/ratings/?get=tv', 'peliculas', 'populared'])
|
||||||
|
|
||||||
@@ -114,7 +114,8 @@ def peliculas(item):
|
|||||||
patron = r'<img src="(?P<thumb>[^"]+)" alt="[^"]+">[^>]+>[^>]+>[^>]+>[^>]+>\s+?(?P<rating>\d+.?\d+|\d+)<[^>]+>[^>]+>(?P<quality>[a-zA-Z\-]+)[^>]+>[^>]+>[^>]+>[^>]+><a href="(?P<url>[^"]+)">(?P<title>[^<]+)<[^>]+>[^>]+>[^>]+>(?P<year>\d+)<'
|
patron = r'<img src="(?P<thumb>[^"]+)" alt="[^"]+">[^>]+>[^>]+>[^>]+>[^>]+>\s+?(?P<rating>\d+.?\d+|\d+)<[^>]+>[^>]+>(?P<quality>[a-zA-Z\-]+)[^>]+>[^>]+>[^>]+>[^>]+><a href="(?P<url>[^"]+)">(?P<title>[^<]+)<[^>]+>[^>]+>[^>]+>(?P<year>\d+)<'
|
||||||
else:
|
else:
|
||||||
|
|
||||||
patron = r'<div class="poster">\s*<a href="(?P<url>[^"]+)"><img src="(?P<thumb>[^"]+)" alt="[^"]+"><\/a>[^>]+>[^>]+>[^>]+>\s*(?P<rating>[0-9.]+)<\/div><span class="quality">(?:SUB-ITA|)?(?P<quality>|[^<]+)?<\/span>[^>]+>[^>]+>[^>]+>[^>]+>(?P<title>.+?)[ ]?(?:\[(?P<lang>Sub-ITA)\])?<\/a>[^>]+>[^>]+>(?P<year>[^<]+)<\/span>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<plot>[^<]+)<div'
|
#patron = r'<div class="poster">\s*<a href="(?P<url>[^"]+)"><img src="(?P<thumb>[^"]+)" alt="[^"]+"><\/a>[^>]+>[^>]+>[^>]+>\s*(?P<rating>[0-9.]+)<\/div><span class="quality">(?:SUB-ITA|)?(?P<quality>|[^<]+)?<\/span>[^>]+>[^>]+>[^>]+>[^>]+>(?P<title>.+?)[ ]?(?:\[(?P<lang>Sub-ITA)\])?<\/a>[^>]+>[^>]+>(?P<year>[^<]+)<\/span>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<plot>[^<]+)<div'
|
||||||
|
patron = r'<div class="poster">\s?<a href="(?P<url>[^"]+)"><img src="(?P<thumb>[^"]+)" alt="[^"]+"><\/a>[^>]+>[^>]+>[^>]+>\s*(?P<rating>[0-9.]+)<\/div>(?:<span class="quality">(?:SUB-ITA|)?(?P<quality>|[^<]+)?<\/span>)?[^>]+>[^>]+>[^>]+>[^>]+>(?P<title>.+?)[ ]?(?:\[(?P<lang>Sub-ITA)\])?<\/a>[^>]+>[^>]+>(?P<year>[^<]+)<\/span>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+>(?P<plot>[^<]+)<div'
|
||||||
else:
|
else:
|
||||||
# TVSHOW
|
# TVSHOW
|
||||||
action = 'episodios'
|
action = 'episodios'
|
||||||
@@ -226,7 +227,7 @@ def findvideos(item):
|
|||||||
patron = r'<div class="item"><a href="'+host+'/serietv/([^"\/]+)\/"><i class="icon-bars">'
|
patron = r'<div class="item"><a href="'+host+'/serietv/([^"\/]+)\/"><i class="icon-bars">'
|
||||||
series = scrapertoolsV2.find_single_match(data, patron)
|
series = scrapertoolsV2.find_single_match(data, patron)
|
||||||
titles = support.typo(series.upper().replace('-', ' '), 'bold color kod')
|
titles = support.typo(series.upper().replace('-', ' '), 'bold color kod')
|
||||||
goseries = support.typo("Vai alla Serie:", ' bold color kod')
|
goseries = support.typo("Vai alla Serie:", ' bold')
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
title=goseries + titles,
|
title=goseries + titles,
|
||||||
@@ -237,6 +238,6 @@ def findvideos(item):
|
|||||||
url=host+"/serietv/"+series,
|
url=host+"/serietv/"+series,
|
||||||
action='episodios',
|
action='episodios',
|
||||||
contentTitle=titles,
|
contentTitle=titles,
|
||||||
plot = "Vai alla Serie " + titles + " con tutte le puntate",
|
plot = "Vai alla Serie :" + titles + " con tutte le puntate",
|
||||||
))
|
))
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|||||||
Reference in New Issue
Block a user