.*?
([^"]+)(.*?)([^"]+)')
-
- for url, thumb, title, check_year, calidad in patron:
-
- year = scrapertools.find_single_match(check_year, '([^"]+)')
- if year == "":
- year = " "
-
- titulo = "[COLOR teal]" + title + "[/COLOR]" + " " + "[COLOR floralwhite]" + calidad + "[/COLOR]"
- title = re.sub(r"!|¡", "", title)
- title = re.sub(r"’|PRE-Estreno", "'", title)
-
- new_item = item.clone(action="findvideos", title=titulo, url=url, thumbnail=thumb, fulltitle=title,
- contentTitle=title, contentType="movie", extra=year, library=True)
- new_item.infoLabels['year'] = year
- itemlist.append(new_item)
-
- else:
-
- data = re.sub(r'×', 'x', data)
- patron = scrapertools.find_multiple_matches(data,
- 'id="busca_a" class="busca_a" href="([^"]+)">.*?
([^"]+).*?([^"]+)')
-
- for url, thumb, title, calidad in patron:
- titulo = "[COLOR teal]" + title + "[/COLOR]" + " " + "[COLOR floralwhite]" + calidad + "[/COLOR]"
- title = re.sub(r'\d+x\d+', '', title)
- title = re.sub(r"’", "'", title)
- filtro_thumb = thumb.replace("https://image.tmdb.org/t/p/w300", "")
- filtro_list = {"poster_path": filtro_thumb}
- filtro_list = filtro_list.items()
-
- new_item = item.clone(action="findvideos", title=titulo, url=url, thumbnail=thumb,
- fulltitle=title, infoLabels={'filtro': filtro_list},
- contentTitle=title, show=title, contentType="tvshow", library=True)
- itemlist.append(new_item)
-
- ## Paginación
- next = scrapertools.find_single_match(data, "