From aeed2d709eb976a0eaccf7ca7db68f0c19db73e7 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 23 Apr 2020 20:22:40 +0200 Subject: [PATCH] ops --- channels/cinemalibero.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py index 2aabd907..d058092d 100644 --- a/channels/cinemalibero.py +++ b/channels/cinemalibero.py @@ -88,7 +88,7 @@ def peliculas(item): @support.scrape def episodios(item): data=item.data - # debug=True + # debugBlock=True if item.args == 'anime': support.log("Anime :", item) # blacklist = ['Clipwatching', 'Verystream', 'Easybytez', 'Flix555', 'Cloudvideo'] @@ -97,7 +97,7 @@ def episodios(item): item.contentType = 'tvshow' else:# item.extra == 'serie': support.log("Serie :", item) - patron = r'(?:>| )(?P\d+(?:x|×|×)\d+)[;]?[ ]?(?:(?P[^<–-]+)(?P<url>.*?)|(\2[ ])(?:<(\3.*?)))(?:</a><br />|</a></p>|$)' + patron = r'(?:>| )(?P<episode>\d+(?:x|×|×)\d+)[;]?[ ]?(?:(?P<title>[^<–-]+)(?P<url>.*?)|(\2[ ])(?:<(\3.*?)))(?:</a><br /|</a></p|$)' patronBlock = r'>(?:[^<]+[Ss]tagione\s|[Ss]tagione [Uu]nica)(?:(?P<lang>iTA|ITA|Sub-ITA|Sub-iTA))?.*?</strong>(?P<block>.+?)(?:<strong|<div class="at-below)' item.contentType = 'tvshow' def itemHook(item):