(.*?)
" + + matches = re.compile(patron, re.DOTALL).findall(data) + + for scrapedurl, scrapedthumbnail, scrapedtitle, type, plot in matches: + url = host + scrapedurl + thumbnail = host+scrapedthumbnail + title = scrapedtitle + type = type + season = '' + if 'season' in scrapedtitle.lower(): + season = scrapertools.find_single_match(scrapedtitle, 'season (\d+)') + scrapedtitle = scrapertools.find_single_match(scrapedtitle, '(.*?) season') + + new_item = Item(channel=item.channel, action='episodios', + title=title, + url=url, + thumbnail=thumbnail, + contentSerieName=scrapedtitle, + plot=plot, + type=item.type, + infoLabels={} + ) + if type.lower() == 'anime': + new_item.contentSerieName = scrapedtitle + new_item.contentSeasonNumber = season + else: + new_item.contentTitle = scrapedtitle + + itemlist.append(new_item) + + # Paginacion + next_page = scrapertools.find_single_match(data, + "