Commit 59867e2f authored by Mario Chirinos's avatar Mario Chirinos

scrapy test

parent e803f5d1
......@@ -51,7 +51,7 @@ def crawlNews(directory, cfg, endDate=datetime.datetime.now()):
if not os.path.exists(yeardir):
os.mkdir(yeardir)
print(day)
print(os.getcwd())
print("scrapy crawl noticias --nolog -O "+yeardir+day.strftime('%Y-%m-%d')+".json -a year="+str(day.year)+" -a month="+str(day.month)+" -a day="+str(day.day)+"")
#===============================================================================
......
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