Fix ordinamento episodi tantifilm
This commit is contained in:
@@ -79,7 +79,7 @@ def newest(categoria):
|
|||||||
@support.scrape
|
@support.scrape
|
||||||
def peliculas(item):
|
def peliculas(item):
|
||||||
action = 'check'
|
action = 'check'
|
||||||
item.contentType == 'undefined'
|
item.contentType = 'undefined'
|
||||||
if item.args == 'search':
|
if item.args == 'search':
|
||||||
patron = r'<a href="(?P<url>[^"]+)" title="Permalink to\s*(?P<title>[^"]+) \((?P<year>[0-9]+)[^<]*\)[^"]*"[^>]+>\s*<img[^s]+src="(?P<thumb>[^"]+)".*?<div class="calitate">\s*<p>(?P<quality>[^<]+)<\/p>'
|
patron = r'<a href="(?P<url>[^"]+)" title="Permalink to\s*(?P<title>[^"]+) \((?P<year>[0-9]+)[^<]*\)[^"]*"[^>]+>\s*<img[^s]+src="(?P<thumb>[^"]+)".*?<div class="calitate">\s*<p>(?P<quality>[^<]+)<\/p>'
|
||||||
else:
|
else:
|
||||||
@@ -119,11 +119,12 @@ def episodios(item):
|
|||||||
with futures.ThreadPoolExecutor() as executor:
|
with futures.ThreadPoolExecutor() as executor:
|
||||||
thL = []
|
thL = []
|
||||||
for i, season in enumerate(seasons.matches):
|
for i, season in enumerate(seasons.matches):
|
||||||
thL.append(executor.submit(get_season, seasons.data if i == 0 else '', season[0], season[1]))
|
thL.append(executor.submit(get_season, '', season[0], season[1]))
|
||||||
for res in futures.as_completed(thL):
|
for res in futures.as_completed(thL):
|
||||||
if res.result():
|
if res.result():
|
||||||
data += res.result()
|
data += res.result()
|
||||||
patron = r'(?P<season>\d+)x(?P<episode>\d+)\s*-\s*(?P<title>[^\|]+)\|(?P<url>[^ ]+)'
|
patron = r'(?P<season>\d+)x(?P<episode>\d+)\s*-\s*(?P<title>[^\|]+)\|(?P<url>[^ ]+)'
|
||||||
|
# debug = True
|
||||||
action = 'findvideos'
|
action = 'findvideos'
|
||||||
|
|
||||||
def itemlistHook(itemlist):
|
def itemlistHook(itemlist):
|
||||||
|
|||||||
Reference in New Issue
Block a user