summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-08-17 19:54:25 -0500
committermsglm <msglm@techchud.xyz>2025-08-17 19:54:25 -0500
commitac3239289ad34df7392fe856ccd237e0fe316e90 (patch)
tree766ab096883994251342171708a05ef6d200555c
parent214bc0b151e21b23008a58fbd3046d6fbcc96e34 (diff)
downloadindeed-watcher-ac3239289ad34df7392fe856ccd237e0fe316e90.tar.gz
indeed-watcher-ac3239289ad34df7392fe856ccd237e0fe316e90.tar.bz2
indeed-watcher-ac3239289ad34df7392fe856ccd237e0fe316e90.zip
ensure that company names dont have slashes
-rw-r--r--src/indeedwatcher.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indeedwatcher.nim b/src/indeedwatcher.nim
index a0a8686..cd3e220 100644
--- a/src/indeedwatcher.nim
+++ b/src/indeedwatcher.nim
@@ -174,7 +174,7 @@ for feed in feeds:
Description:
$6
""" % [posting.jobName, posting.employer, posting.location, salaryInfoAndJobType, posting.URL, fullDesc]
- writeFile(outdir & posting.employer & " - " & posting.jobName.replace("/") & ".txt", output)
+ writeFile(outdir & posting.employer.replace("/") & " - " & posting.jobName.replace("/") & ".txt", output)
echo "Wrote job to file!"
cache.writeLine(posting.URL)
echo "Wrote listing to cache!"