Correcciones y nuevos

This commit is contained in:
paezner
2018-11-24 02:19:19 +01:00
parent 4c28d5bb54
commit 9e493fb526
67 changed files with 1940 additions and 136 deletions
@@ -44,7 +44,6 @@ def categorias(item):
data = re.sub(r"\n|\r|\t|&nbsp;|<br>", "", data)
patron = '<a href="([^"]+)" title="([^"]+) porn tube" class="thumb">.*?<img src="([^"]+)".*?<span class="total">([^"]+)</span>'
matches = re.compile(patron,re.DOTALL).findall(data)
scrapertools.printMatches(matches)
for scrapedurl,scrapedtitle,scrapedthumbnail,cantidad in matches:
scrapedplot = ""
scrapedtitle = scrapedtitle + " (" + cantidad + ")"