diff --git a/channels/filmpertutti.py b/channels/filmpertutti.py index e00961f5..cecd2a26 100644 --- a/channels/filmpertutti.py +++ b/channels/filmpertutti.py @@ -68,7 +68,7 @@ def episodios(item): data = support.match(item.url, headers=headers).data if 'accordion-item' in data: patronBlock = r'.*?
  • (?P\d+)(?:×|×|x)(?P\d+)[^<0-9]*<\/li>(?P.*?javascript:;">(?P[^<]+).*?</tbody>)' + patron = r'<img src="(?P<thumb>[^"]+)"(?:[^>]*>){4}\s*<li class="season-no">(?P<season>\d+)(?:×|×|x)(?P<episode>\d+)[^<0-9]*<\/li>(?P<data>.*?javascript:;">(?P<title>[^<]+).*?</tbody>)' else: patronBlock = r'(?:STAGIONE|Stagione)(?:<[^>]+>)?\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)' diff --git a/core/support.py b/core/support.py index 9e5e0f80..2ad18174 100755 --- a/core/support.py +++ b/core/support.py @@ -287,6 +287,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t contents.append(title) title2 = cleantitle(scraped.get('title2', '')) if not group or item.grouped else '' quality = scraped.get('quality', '') + if not quality: quality = item.quality # Type = scraped['type'] if scraped['type'] else '' plot = cleantitle(scraped.get("plot", '')) @@ -449,7 +450,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t contentEpisodeNumber=infolabels.get('episode', ''), news= item.news if item.news else '', other = scraped['other'] if scraped['other'] else '', - grouped=group, + q=group, disable_videolibrary = not args.get('addVideolibrary', True) ) if scraped['episode'] and group and not item.grouped: # some adjustment for grouping feature