diff options
author | msglm <msglm@techchud.xyz> | 2023-01-24 22:37:14 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-01-24 22:37:14 -0600 |
commit | b64ddc624eace86f17e5c3db54e8d87c7bd6ffa0 (patch) | |
tree | d8905a9748ad214e562e9025ffc0d1eaa9748e87 /src | |
parent | 6a18d90a4c34ac96811e960a080fd3088d86b975 (diff) | |
download | indeedwatcher-b64ddc624eace86f17e5c3db54e8d87c7bd6ffa0.tar.gz indeedwatcher-b64ddc624eace86f17e5c3db54e8d87c7bd6ffa0.tar.bz2 indeedwatcher-b64ddc624eace86f17e5c3db54e8d87c7bd6ffa0.zip |
some small debugging stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/indeedwatcher.nim | 2 |
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() |