From bbb1c3f234b3193d1d13836e5aff34065e996849 Mon Sep 17 00:00:00 2001 From: hook-lord Date: Fri, 6 Dec 2024 23:28:03 +0100 Subject: [PATCH] json path --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 1be0811..a0887b6 100644 --- a/main.go +++ b/main.go @@ -90,7 +90,7 @@ func scrapeHub() { var ( jobs []job jobCount int - fName = "thehub.json" + fName = "/app/data/thehub.json" maxJobs = 20 baseUrl = "https://thehub.io" searchString = "https://thehub.io/jobs?roles=frontenddeveloper&roles=fullstackdeveloper&roles=backenddeveloper&roles=devops&paid=true&countryCode=DK&sorting=newJobs" @@ -191,7 +191,7 @@ func scrapeItJobBank() { var ( jobs []job jobCount int - fName = "it-jobbank.json" + fName = "/app/data/it-jobbank.json" maxJobs = 20 baseUrl = "https://www.it-jobbank.dk" searchString = "https://www.it-jobbank.dk/jobsoegning/udvikling"