From f372c834f19f0f38faeda075bf65f66d54f7dd61 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sun, 19 Jan 2020 10:50:44 +0100 Subject: [PATCH] Fix Animeunity e Dreamsub: N.B. se Dreamsub non funziona cancellare le 2 righe: quality e servers relative a dreamsub nel file addon_data/plugin.video.kod/settings_channels/autoplay_data.json --- channels/animeunity.py | 7 ++++--- core/support.py | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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'