From ea756016018c6353fb6aefe6ed7f47b130c70ee4 Mon Sep 17 00:00:00 2001 From: Enrico Da Rodda Date: Thu, 29 Apr 2021 01:33:42 +0200 Subject: [PATCH] Fix regex altadefinizioneclick --- channels/altadefinizione01.py | 1 - channels/altadefinizioneclick.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/channels/altadefinizione01.py b/channels/altadefinizione01.py index aaadff09..f9be0e73 100644 --- a/channels/altadefinizione01.py +++ b/channels/altadefinizione01.py @@ -73,7 +73,6 @@ def peliculas(item): @support.scrape def genres(item): support.info('genres',item) - debug=True action = "peliculas" blacklist = ['Altadefinizione01'] diff --git a/channels/altadefinizioneclick.py b/channels/altadefinizioneclick.py index 5b363e22..121c9bfa 100644 --- a/channels/altadefinizioneclick.py +++ b/channels/altadefinizioneclick.py @@ -46,8 +46,8 @@ def mainlist(item): @support.scrape def peliculas(item): - # debug=True - patron = r'
\s*(?:(?P[^<]+)[^>]+>)?(?:(?P[^<>]+))?.+?href="(?P[^"]+)".+?src="(?P[^"]+)".+?

[^>]+>(?P.+?)[ ]?(?:|\[(?P<lang>[^\]]+)\])?</a>.*?(?:IMDB\:</strong>[ ](?P<rating>.+?)<|</h2> )' + debug=True + patron = r'<div class="wrapperImage">\s*(?:<span class="year">(?P<year>[^<]+)[^>]+>)?(?:<span class="hd">(?P<quality>[^<>]+))?.+?href="(?P<url>[^"]+)".+?src="(?P<thumb>[^"]+)".+?<h2 class="titleFilm">[^>]+>(?P<title>.+?)[ ]?(?:|\[(?P<lang>[^\]]+)\])?</a>.*?(?:IMDB\:</strong>[ ](?P<rating>.+?)<|</div> )' # patronBlock = r'h1>(?P<block>.*?)</section' if item.args == 'az':