- animealtadefinizione
 - animeforce
 - animeleggendari
 - animesaturn
 - animeunity
 - cb01anime
This commit is contained in:
Alhaziel01
2020-11-25 20:16:13 +01:00
parent a815b2a877
commit 872cad2903
7 changed files with 21 additions and 18 deletions
+4 -3
View File
@@ -90,6 +90,7 @@ def episodios(item):
s = 1
e = 0
sp = 0
for match in item.url:
if 'stagione' in match.lower():
find_season = support.match(match, patron=r'Stagione\s*(\d+)').match
@@ -111,17 +112,17 @@ def episodios(item):
s += 1
e = ep - 1
title = str(season) + 'x' + str(ep-e).zfill(2) + ' - ' + title
data += title + '|' + match + '\n'
data += title + '|' + match + '\|'
else:
title += ' #movie'
data += title + '|' + match + '\n'
data += title + '|' + match + '\|'
def itemHook(item):
if '#movie' in item.title:
item.contentType='movie'
item.title = item.title.replace(' #movie','')
return item
patron = r'(?P<title>[^\|]+)\|(?P<url>[^\n]+)\n'
patron = r'(?P<title>[^\|]+)\|(?P<url>[^\|]+)\|'
action = 'findvideos'
return locals()