hackforla / jobs-for-hope

Aggregate job opportunities for homeless service providers so that people can search for a job in the non-profit sector that fits their skillset.
MIT License
20 stars 20 forks source link

removed job related global variables, and made scrapers use job_insert #151

Closed jubaldo closed 5 years ago

jubaldo commented 5 years ago

Included organization id for each organization scrapper. Each Scrapper now uses job_insert and returns the total number of jobs inserted jobs_insert function returns a 1 if sql command executes correctly, and 0 otherwise. Job class initialization changed from Job(organization_id, job_title) to Job(organization_name, job_title) Removed the job related global variables from Globals.py scraper_runner.py prints out the total number of jobs inserted at the end.