summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indeedwatcher.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indeedwatcher.nim b/src/indeedwatcher.nim
index 645d59e..083d0ae 100644
--- a/src/indeedwatcher.nim
+++ b/src/indeedwatcher.nim
@@ -138,10 +138,12 @@ for feed in feeds:
""" % [jobTitle, employer, salaryInfoAndJobType, URL, fullDesc]
writeFile(outdir & jobTitle.replace("/") & ".txt", output)
cache.add(URL)
+ echo "Wrote job to file!"
else:
echo "Trigger was hit, discarding " & URL
else:
echo URL & " was in cache, discarding"
+ echo "wrote cache to cache..."
writeFile(cachefileloc, cache.join("\n"))
session.close()