Skip to content

Instantly share code, notes, and snippets.

@Neptune998
Created August 29, 2020 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neptune998/32d66c7859cd80770f5bbd8db64c7333 to your computer and use it in GitHub Desktop.
Save Neptune998/32d66c7859cd80770f5bbd8db64c7333 to your computer and use it in GitHub Desktop.
// The name of the Python script that returns the scraped data is scrape_data.py
let scrapeJSON = 'http://bluegalaxy.info/cgi/scrape_data.py'
$.get(scrapeJSON, function(data) {
// Get JSON data from Python script
if (data){
console.log("Data returned:", data)
}
jobDataJSON = JSON.parse(data)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment