Lineas innecesarias eliminadas

This commit is contained in:
Danielr460
2017-09-06 18:20:21 -05:00
parent 5830c7b87f
commit 0437a3c36f

View File

@@ -118,7 +118,6 @@ def lista_gen(item):
data1 = re.sub(r"\n|\r|\t|\s{2}| ", "", data1)
patron_sec = '<section class="content">.+?<\/section>'
data = scrapertools.find_single_match(data1, patron_sec)
logger.info("xsxxxxssss"+item.title)
patron = '<article id=.+? class=.+?><div.+?>'
patron += '<a href="([^"]+)" title="([^"]+)' # scrapedurl, # scrapedtitle
patron += ' Capítulos Completos ([^"]+)">' # scrapedlang
@@ -173,7 +172,6 @@ def episodios(item):
matches = scrapertools.find_multiple_matches(data, patron_caps)
show = scrapertools.find_single_match(data, '<h3><strong>.+?de (.+?)<\/strong>')
scrapedplot = scrapertools.find_single_match(data, '<strong>Sinopsis<\/strong><strong>([^"]+)<\/strong><\/pre>')
logger.info("epibla " + data)
for link, cap, name in matches:
if 'x' in cap:
title = cap + " - " + name