Commit 26b8186c authored by Renán Sosa Guillen's avatar Renán Sosa Guillen

Ajustes.

parent 5079a7b9
......@@ -37,16 +37,16 @@ class NoticiasSpider(scrapy.Spider):
self.baseURL='http://www.jornada.unam.mx/'+year+'/'+month+'/'+day+'/'
urls = [
self.baseURL+"opinion",
# self.baseURL+"politica",
# self.baseURL+"economia",
# self.baseURL+"mundo",
# self.baseURL+"estados",
# self.baseURL+"capital",
# self.baseURL+"sociedad",
# self.baseURL+"ciencias",
# self.baseURL+"cultura",
# self.baseURL+"espectaculos",
# self.baseURL+"deporte",
self.baseURL+"politica",
self.baseURL+"economia",
self.baseURL+"mundo",
self.baseURL+"estados",
self.baseURL+"capital",
self.baseURL+"sociedad",
self.baseURL+"ciencias",
self.baseURL+"cultura",
self.baseURL+"espectaculos",
self.baseURL+"deporte",
]
for url in urls:
yield scrapy.Request(url=url, callback=self.parse)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment