|
.*?)
\[riduci\]
')
-
- for match in matches:
- support.log(match)
- blocks = scrapertoolsV2.find_multiple_matches(match, '(?:
)(.*?)(?:
|
.*?STAGIONE\s+\d+([^<>]+)').strip()
-
- for block in blocks:
- episode = scrapertoolsV2.find_single_match(block, r'([0-9]+(?:×|×)[0-9]+)').strip()
- seasons_n = scrapertoolsV2.find_single_match(block, r'
STAGIONE\s+\d+([^<>]+)').strip()
-
- if seasons_n:
- season = seasons_n
-
- if not episode: continue
-
- season = re.sub(r'–|–', "-", season)
- itemlist.append(
- Item(channel=item.channel,
- action="findvideos",
- contentType='episode',
- title="[B]" + episode + "[/B] " + season,
- fulltitle=episode + " " + season,
- show=episode + " " + season,
- url=block,
- extra=item.extra,
- thumbnail=item.thumbnail,
- infoLabels=item.infoLabels
- ))
-
- support.videolibrary(itemlist, item)
-
- return itemlist
+ return locals()
def findvideos(item):
diff --git a/channels/cinemalibero.py b/channels/cinemalibero.py
index 76f5164d..f279f63a 100644
--- a/channels/cinemalibero.py
+++ b/channels/cinemalibero.py
@@ -43,7 +43,7 @@ def mainlist(item):
return locals()
def genres(item):
- return support.scrape2(item, patronBlock=r'