From 341edad850a2eaf70117981de19a1fc07e5a67e9 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Tue, 21 Apr 2020 22:06:51 +0200 Subject: [PATCH 1/2] Fix thumbnail --- core/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/support.py b/core/support.py index b06a6dab..8b930e61 100755 --- a/core/support.py +++ b/core/support.py @@ -300,7 +300,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t quality=quality, url=scraped["url"], infoLabels=infolabels, - thumbnail=item.thumbnail if function == 'episodios' and not scraped["thumb"] else scraped["thumb"] if scraped["thumb"] else '', + thumbnail=item.thumbnail if function == 'episodios' or not scraped["thumb"] else scraped["thumb"], args=item.args, contentSerieName= title if title else item.fulltitle if item.contentType or CT != 'movie' and function != 'episodios' else item.fulltitle if function == 'episodios' else '', contentTitle= title if item.contentType or CT == 'movie' else '', From d6b761c3418bb989d99667c21016ac7e5759ff13 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Tue, 21 Apr 2020 22:07:14 +0200 Subject: [PATCH 2/2] Fix Animeworld --- channels/animeworld.py | 60 ++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/channels/animeworld.py b/channels/animeworld.py index e9b26a4c..24832100 100644 --- a/channels/animeworld.py +++ b/channels/animeworld.py @@ -22,42 +22,47 @@ def order(): @support.menu def mainlist(item): anime=['/filter?sort=', - ('ITA',['/filter?language[]=1&sort=', 'build_menu', '1']), - ('SUB-ITA',['/filter?language[]=0&sort=', 'build_menu', '0']), + ('ITA',['/filter?language[]=1&sort=', 'menu', '1']), + ('SUB-ITA',['/filter?language[]=0&sort=', 'menu', '0']), ('In Corso', ['/ongoing', 'peliculas','noorder']), ('Ultimi Episodi', ['/updated', 'peliculas', 'updated']), ('Nuove Aggiunte',['/newest', 'peliculas','noorder' ]), ('Generi',['','genres',])] return locals() - +@support.scrape def genres(item): - support.log() - itemlist = [] - matches = support.match(item, patron=r'[^>]+>([^<]+)<\/label>' , patronBlock=r'