Updated crawler with all manga sources
This commit is contained in:
parent
e043d9dbfa
commit
28c26fdc77
|
@ -17,7 +17,9 @@ datcrawl.register_crawler(ListadoManga)
|
|||
|
||||
# exit
|
||||
|
||||
ids = datcrawl.run("http://www.listadomanga.es/lista.php")
|
||||
ids = []
|
||||
for i in range(1, 11):
|
||||
ids.extend(datcrawl.run("http://www.listadomanga.es/lista.php?genero={}".format(i)))
|
||||
_list = []
|
||||
errors = 0
|
||||
success = 0
|
||||
|
|
|
@ -8,7 +8,7 @@ from pprint import pprint
|
|||
class ListadoManga(Crawler):
|
||||
urls = [
|
||||
('get_manga', '(?P<url>^http\:\/\/www\.listadomanga\.es\/coleccion\.php(.*)$)'),
|
||||
('get_links', '(?P<url>^http\:\/\/www\.listadomanga\.es\/lista\.php)'),
|
||||
('get_links', '(?P<url>^http\:\/\/www\.listadomanga\.es\/lista\.php\?genero=\d+)'),
|
||||
]
|
||||
downloader = 'DefaultDownloader'
|
||||
|
||||
|
|
Reference in New Issue