From e799ce9ee8bde36d85c7fcdfbe73d63e8866b12e Mon Sep 17 00:00:00 2001 From: msglm Date: Mon, 1 May 2023 16:30:13 -0500 Subject: ensure that company names dont have slashes --- src/indeedwatcher.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!" -- cgit v1.2.3