fix
arreglo patron género
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user