diff --git a/fetchjobs.py b/fetchjobs.py index 4d6a5dc..6a13788 100644 --- a/fetchjobs.py +++ b/fetchjobs.py @@ -12,11 +12,11 @@ def dowork(): site_name=["indeed", "linkedin", "zip_recruiter", "glassdoor", "google"], - search_term="Devops", + search_term="build release engineer", - google_search_term="Remote Devops jobs near miami, florida", + google_search_term="build and release engineer jobs near durham, nc", - location="miami, fl", + location="durham, nc", results_wanted=50, @@ -70,4 +70,4 @@ def read(): #print("thing: ",thing) -#writeFile(thing) \ No newline at end of file +#writeFile(thing) diff --git a/web/js/jobs.js b/web/js/jobs.js index 134e93d..462a476 100644 --- a/web/js/jobs.js +++ b/web/js/jobs.js @@ -1,4 +1,12 @@ +// +// variables and constants +// + +//apiURL="http://localhost:8888" + +apiURL="https://sonar.jacquesingram.online" + $(document).ready(function () { fetch(); @@ -14,7 +22,7 @@ $.ajax({ type: "GET", -url: "http://localhost:8888"+ "/jobs/", +url: apiURL + "/jobs/", dataType: 'json', // <-- Set dataType to 'json' @@ -47,7 +55,7 @@ $.ajax({ type: "GET", -url: "http://localhost:8888"+ "/jobs/load", +url: apiURL + "/jobs/load", dataType: 'json', // <-- Set dataType to 'json'