Update altadefinizione01_club.py

sistemato un errore
This commit is contained in:
greko17
2019-05-04 19:59:23 +02:00
committed by GitHub
parent 0358549069
commit 87bf359e12

View File

@@ -121,7 +121,7 @@ def categorie(item):
data = httptools.downloadpage(item.url, headers=headers).data
# da qui fare le opportuni modifiche
if item.args[1] == 'genres':
if item.args == 'genres':
bloque = scrapertools.find_single_match(data, '<ul class="kategori_list">(.*?)</ul>')
patron = '<li><a href="/(.*?)">(.*?)</a>'
elif item.args[1] == 'years':