diff --git a/channels/animeunity.py b/channels/animeunity.py index cced6c5a..09a628ad 100644 --- a/channels/animeunity.py +++ b/channels/animeunity.py @@ -86,10 +86,11 @@ def peliculas(item): @support.scrape def episodios(item): + # debug = True data = item.data anime = True pagination = 50 - patron = r'(?P\d+)' + patron = r'(?P\d+)' def itemHook(item): item.title = item.title + support.typo(item.fulltitle,'-- bold') return item @@ -99,14 +100,14 @@ def episodios(item): def findvideos(item): support.log() html = support.match(item, patron=r'TIPO:\s*\s*([A-Za-z]+)') - if html.match == 'TV': + if html.match == 'TV' and item.contentType != 'episode': item.contentType = 'tvshow' item.data = html.data return episodios(item) else: itemlist = [] + if item.contentType != 'episode': item.contentType = 'movie' video = support.match(html.data, patron=r'