Info Episodi per Anime Rinumerati
This commit is contained in:
+1
-1
@@ -385,7 +385,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
|
|||||||
contentSerieName= title if 'movie' not in [contentType] and function != 'episodios' else item.contentSerieName,
|
contentSerieName= title if 'movie' not in [contentType] and function != 'episodios' else item.contentSerieName,
|
||||||
contentTitle= title if 'movie' in [contentType] and function == 'peliculas' else item.contentTitle,
|
contentTitle= title if 'movie' in [contentType] and function == 'peliculas' else item.contentTitle,
|
||||||
contentLanguage = lang1,
|
contentLanguage = lang1,
|
||||||
contentSeasonNumber= infolabels.get('season', ''),
|
contentSeason= infolabels.get('season', ''),
|
||||||
contentEpisodeNumber=infolabels.get('episode', ''),
|
contentEpisodeNumber=infolabels.get('episode', ''),
|
||||||
news= item.news if item.news else '',
|
news= item.news if item.news else '',
|
||||||
other = scraped['other'] if scraped['other'] else '',
|
other = scraped['other'] if scraped['other'] else '',
|
||||||
|
|||||||
@@ -178,6 +178,8 @@ class autorenumber():
|
|||||||
if number:
|
if number:
|
||||||
if not number in self.episodes: self.makelist()
|
if not number in self.episodes: self.makelist()
|
||||||
item.title = '{} - {}'.format(typo(self.episodes[number], 'bold'), item.title)
|
item.title = '{} - {}'.format(typo(self.episodes[number], 'bold'), item.title)
|
||||||
|
item.contentSeason = int(self.episodes[number].split('x')[0])
|
||||||
|
item.contentEpisodeNumber = int(self.episodes[number].split('x')[1])
|
||||||
else:
|
else:
|
||||||
self.makelist()
|
self.makelist()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user