diff --git a/plugin.video.alfa/channels/estrenosdoramas.py b/plugin.video.alfa/channels/estrenosdoramas.py index 0c8c1a73..82b1ca42 100644 --- a/plugin.video.alfa/channels/estrenosdoramas.py +++ b/plugin.video.alfa/channels/estrenosdoramas.py @@ -98,13 +98,11 @@ def list_all(item): matches = re.compile(patron, re.DOTALL).findall(data) for scrapedurl, scrapedthumbnail, scrapedtitle in matches: - logger.info(scrapedtitle) new_item = Item(channel=item.channel, title=scrapedtitle, url=scrapedurl, thumbnail=scrapedthumbnail) if scrapedtitle.startswith("Pelicula"): new_item.action = 'findvideos' new_item.contentTitle = scrapedtitle - else: new_item.contentSerieName=scrapedtitle new_item.action = 'episodios' @@ -126,32 +124,27 @@ def episodios(item): logger.info() itemlist = [] data = get_source(item.url) + plot_regex = '(Nombre.*?)<\/div>' plot_match = re.compile(plot_regex, re.DOTALL).findall(data) if plot_match: plot = scrapertools.htmlclean(plot_match[0].replace('
', '\n')) - + data = scrapertools.find_single_match(data, '