From 09ab2ca5dbc93e5c9d02a13a7290ef7a5dfe7335 Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Wed, 26 Apr 2023 21:58:10 +0200 Subject: [PATCH] Fix stagioni mancanti filmpertutti --- channels/filmpertutti.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/filmpertutti.py b/channels/filmpertutti.py index 1a2350b7..56ee30ff 100644 --- a/channels/filmpertutti.py +++ b/channels/filmpertutti.py @@ -67,10 +67,10 @@ def episodios(item): # debug = True data = support.match(item.url, headers=headers).data if 'accordion-item' in data: - patronBlock = r']*>){3,4}\s*
  • (?P\d+)(?:×|×|x)(?P\d+)[^<0-9]*<\/li>(?P.*?javascript:;">(?P[^<]+).*?</tbody>)' else: - patronBlock = r'(?:STAGIONE|Stagione)(?:<[^>]+>)?\s*(?:(?P<lang>[A-Za-z- ]+))?(?P<block>.*?)(?: |<strong>|<div class="addtoany)' + patronBlock = r'[Ss][Tt][Aa][Gg][Ii][Oo][Nn][Ee](?:<[^>]+>)?\s*(?:(?P<lang>[A-Za-z- ]+))?(?P<block>.*?)(?: |<strong>|<div class="addtoany)' patron = r'(?:/>|p>)\s*(?P<season>\d+)(?:×|×|x)(?P<episode>\d+)[^<]+(?P<data>.*?)(?:<br|</p)' def itemHook(i):