From 3f9ecc60eb46378e16abec612b2f6c7bc334e762 Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Mon, 14 Mar 2022 20:46:32 +0100 Subject: [PATCH] 1337x -> fix doppio pulsante "successivo" --- channels/1337x.py | 3 ++- channels/altadefinizione01.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/channels/1337x.py b/channels/1337x.py index ce1aabe0..fbfde1ab 100644 --- a/channels/1337x.py +++ b/channels/1337x.py @@ -114,6 +114,7 @@ def peliculas(item): patron = r']+>){4}\s*]+>(?P[^<]+)' if (item.args == 'search' or item.contentType != 'movie') and inspect.stack()[4][3] not in ['get_channel_results']: + patronNext = None def itemlistHook(itemlist): lastUrl = support.match(data, patron=r'href="([^"]+)">Last').match if lastUrl: @@ -127,7 +128,7 @@ def peliculas(item): @support.scrape def seasons(item): - item.contentType == 'season' + item.contentType = 'season' action = 'episodios' patron = r'\s*]+>\s*[^"]+)(?:([^>]+)>){2}\s*(?P\w+ (?P\d+))' return locals() diff --git a/channels/altadefinizione01.py b/channels/altadefinizione01.py index 191e3062..53ccc27f 100644 --- a/channels/altadefinizione01.py +++ b/channels/altadefinizione01.py @@ -57,7 +57,7 @@ def peliculas(item): patronBlock = r' (?P.*)' elif item.args == 'update': patronBlock = r'Ultimi Film Aggiunti/Aggiornati(?P.*?)' - patron = r'style="background-image:url\((?P[^\)]+).+?(?P.*?)[^>]+> [^>]+> [^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+> [^>]+> [^>]+>[^>]+>(?P\d{4})[^>]+>[^>]+> [^>]+>[^>]+>(?P\d+|N/A).+?>.*?(?:>Film (?PSub ITA) )?(?P[^<]+)<.*?href="(?P[^"]+)' + patron = r'style="background-image:url\((?P[^\)]+).+?(?P.*?)[^>]+> [^>]+> [^>]+>[^>]+>[^>]+>[^>]+>[^>]+>[^>]+> [^>]+> [^>]+>[^>]+>(?P\d{4})[^>]+>[^>]+> [^>]+>[^>]+>(?P\d+|N/A)?.+?>.*?(?:>Film (?PSub ITA) )?(?P[^<]+)<.*?href="(?P[^"]+)' patronNext = '' # non ha nessuna paginazione elif item.args == 'orderalf': patron = r'[^"]+)"' \
(?P
(?P[^<]+)<.*?href="(?P[^"]+)' + patron = r'style="background-image:url\((?P[^\)]+).+?(?P.*?)
(?P[^<]+)<.*?href="(?P[^"]+)' patronNext = '' # non ha nessuna paginazione elif item.args == 'orderalf': patron = r'[^"]+)"' \