Fix Filmpertutti
This commit is contained in:
@@ -68,7 +68,7 @@ def episodios(item):
|
|||||||
data = support.match(item.url, headers=headers).data
|
data = support.match(item.url, headers=headers).data
|
||||||
if 'accordion-item' in data:
|
if 'accordion-item' in data:
|
||||||
patronBlock = r'<span class="season[^>]*>\d+[^>]+>[^>]+>[^>]+>[^>]+>\D*(?:STAGIONE|Stagione)[ -]+(?P<lang>[a-zA-Z\- ]+)[^<]*</span>(?P<block>.*?)<div id="(?:season|disqus)'
|
patronBlock = r'<span class="season[^>]*>\d+[^>]+>[^>]+>[^>]+>[^>]+>\D*(?:STAGIONE|Stagione)[ -]+(?P<lang>[a-zA-Z\- ]+)[^<]*</span>(?P<block>.*?)<div id="(?:season|disqus)'
|
||||||
patron = r'<img src="(?P<thumb>[^"]+)">.*?<li class="season-no">(?P<season>\d+)(?:×|×|x)(?P<episode>\d+)[^<0-9]*<\/li>(?P<data>.*?javascript:;">(?P<title>[^<]+).*?</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:
|
else:
|
||||||
patronBlock = r'(?:STAGIONE|Stagione)(?:<[^>]+>)?\s*(?:(?P<lang>[A-Za-z- ]+))?(?P<block>.*?)(?: |<strong>|<div class="addtoany)'
|
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)'
|
patron = r'(?:/>|p>)\s*(?P<season>\d+)(?:×|×|x)(?P<episode>\d+)[^<]+(?P<data>.*?)(?:<br|</p)'
|
||||||
|
|||||||
+2
-1
@@ -287,6 +287,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
|
|||||||
contents.append(title)
|
contents.append(title)
|
||||||
title2 = cleantitle(scraped.get('title2', '')) if not group or item.grouped else ''
|
title2 = cleantitle(scraped.get('title2', '')) if not group or item.grouped else ''
|
||||||
quality = scraped.get('quality', '')
|
quality = scraped.get('quality', '')
|
||||||
|
if not quality: quality = item.quality
|
||||||
# Type = scraped['type'] if scraped['type'] else ''
|
# Type = scraped['type'] if scraped['type'] else ''
|
||||||
plot = cleantitle(scraped.get("plot", ''))
|
plot = cleantitle(scraped.get("plot", ''))
|
||||||
|
|
||||||
@@ -449,7 +450,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
|
|||||||
contentEpisodeNumber=infolabels.get('episode', ''),
|
contentEpisodeNumber=infolabels.get('episode', ''),
|
||||||
news= item.news if item.news else '',
|
news= item.news if item.news else '',
|
||||||
other = scraped['other'] if scraped['other'] else '',
|
other = scraped['other'] if scraped['other'] else '',
|
||||||
grouped=group,
|
q=group,
|
||||||
disable_videolibrary = not args.get('addVideolibrary', True)
|
disable_videolibrary = not args.get('addVideolibrary', True)
|
||||||
)
|
)
|
||||||
if scraped['episode'] and group and not item.grouped: # some adjustment for grouping feature
|
if scraped['episode'] and group and not item.grouped: # some adjustment for grouping feature
|
||||||
|
|||||||
Reference in New Issue
Block a user