Merge pull request #473 from sculkurt/patch-1

fix
This commit is contained in:
Alfa
2018-10-31 14:08:00 -05:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ def genero(item):
itemlist = list()
data = httptools.downloadpage(host).data
data = re.sub(r"\n|\r|\t|\s{2}| ", "", data)
patron = '<li class="cat-item.*?<a href="([^"]+)">([^<]+)</a>'
patron = '<li class="cat-item.*?<a href="([^"]+)".*?>([^<]+)</a>'
matches = scrapertools.find_multiple_matches(data, patron)
for scrapedurl, scrapedtitle in matches: