2.4.0 • Published 6 years ago

job-scraper v2.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Job Scraper

Scrape job posts from Indeed and Monster, client side!

Getting Started

In the terminal ...

npm install job-scraper

In your script file, simply import and initialize the job-scraper.

import JobScraper from 'job-scraper';

The job scraper takes in the following three arguments

  • Search query, job title or related key words
  • City
  • State
const args = ['Pizza Delivery', 'New York', 'New York'] 
const jobScraper = new JobScraper(...args);

The init function returns a promise with which you can work with...

const scraped = jobScraper.init();
scraped.then(res=>{
    //do something with the res
})

The resulting data is an array of JobProspect objects. The schema of a JobProspect is as follows...

{
    company: STRING,
    date: STRING,
    descriptionHTML: HTML_STRING,
    job: STRING,
    location: STRING,
    truncatedDescription: STRING,
    url: URL_STRING,
    _data: HTML_STRING
}
2.4.0

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago