From 84a35b25d7e304a30161b8428642d5fd59f499ad Mon Sep 17 00:00:00 2001 From: fatshotty Date: Mon, 21 Jun 2021 15:48:11 +0200 Subject: [PATCH] fix eurostreaming - aggiornamenti --- channels/eurostreaming.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/channels/eurostreaming.py b/channels/eurostreaming.py index f4ec0f92..b67a33e9 100644 --- a/channels/eurostreaming.py +++ b/channels/eurostreaming.py @@ -31,9 +31,10 @@ def mainlist(item): def peliculas(item): # debug = True action = 'episodios' + if item.args == 'newest': item.contentType = 'episode' - patron = r'(?P[^<]+) –\s*<a href="(?P<url>[^"]+)"[^>]*>\s?(?P<episode>\d+[×x]\d+-\d+|\d+[×x]\d+) (?P<title2>[^<\(]+)\s?\(?(?P<lang>SUB ITA)?\)?</a>' + patron = r'<span class="serieTitle" style="font-size:20px">(?P<title>[^<]+) –\s*<a href="(?P<url>[^"]+)"[^>]*>\s+?(?P<episode>\d+[×x]\d+-\d+|\d+[×x]\d+) (?P<title2>[^<\(]+)\s?\(?(?P<lang>SUB ITA)?\)?</a>' pagination = '' else: patron = r'<div class="post-thumb">.*?<img src="(?P<thumb>[^"]+)".*?><a href="(?P<url>[^"]+)"[^>]+>(?P<title>.+?)\s?(?: Serie Tv)?\s?\(?(?P<year>\d{4})?\)?<\/a><\/h2>'