Update clasicofilm.py

This commit is contained in:
Intel1
2017-11-23 16:04:54 -05:00
committed by GitHub
parent e79364ef93
commit 7b52463ce6

View File

@@ -198,7 +198,7 @@ def generos(item):
# Descarga la página
data = httptools.downloadpage(item.url).data
patron = '<b>([^<]+)</b><br />\s*<script src="([^"]+)"'
patron = '<b>([^<]+)</b><br\s*/>\s*<script src="([^"]+)"'
matches = scrapertools.find_multiple_matches(data, patron)
for scrapedtitle, scrapedurl in matches:
scrapedurl = scrapedurl.replace("&amp;","&")