Browse Source

automated terminal push

production
Software Shinobi 1 month ago
parent
commit
4a2bf76ae1
  1. 6
      fetchjobs.py
  2. 12
      web/js/jobs.js

6
fetchjobs.py

@ -12,11 +12,11 @@ def dowork():
site_name=["indeed", "linkedin", "zip_recruiter", "glassdoor", "google"], 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, results_wanted=50,

12
web/js/jobs.js

@ -1,4 +1,12 @@
//
// variables and constants
//
//apiURL="http://localhost:8888"
apiURL="https://sonar.jacquesingram.online"
$(document).ready(function () { $(document).ready(function () {
fetch(); fetch();
@ -14,7 +22,7 @@ $.ajax({
type: "GET", type: "GET",
url: "http://localhost:8888"+ "/jobs/", url: apiURL + "/jobs/",
dataType: 'json', // <-- Set dataType to 'json' dataType: 'json', // <-- Set dataType to 'json'
@ -47,7 +55,7 @@ $.ajax({
type: "GET", type: "GET",
url: "http://localhost:8888"+ "/jobs/load", url: apiURL + "/jobs/load",
dataType: 'json', // <-- Set dataType to 'json' dataType: 'json', // <-- Set dataType to 'json'

Loading…
Cancel
Save