Commit 2c6cb6c3 authored by Renán Sosa Guillen's avatar Renán Sosa Guillen

backwards tracker

parent a96d6232
......@@ -60,7 +60,7 @@ with open(sys.argv[1]) as data_file:
os.chdir(scrapyDir+s['crawler'])
print media
print scrapycommand
os.system(scrapycommand)
# os.system(scrapycommand)
fileSize = os.stat(filename).st_size
if fileSize <= 3: os.system("rm " + filename)
else:
......@@ -87,7 +87,7 @@ with open(sys.argv[1]) as data_file:
os.system("rm -R " + yy)
os.chdir("..")
os.system("rm -R " + media)
# os.system("rm -R " + media)
os.chdir(s['crawler'])
os.system("rm " + filename)
os.chdir(mydir)
......
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