module to check people that fall off the staff page
Last updated 2 years ago by nightwind .
GPL-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dillonchr/fired 
SYNC missed versions from official npm registry.


A module for keeping track of people that disappear from staff pages.


npm i @dillonchr/fired


You need to configure a few things before you can use this module. It requires you to do some scrape research before you can jump in. You will also need a mongo db readied for add/updating employee records.

Take a look at ephemeraldb to see how to get the DB connected. Once you have the DB env variables all you need is to make sure you have a clean collection for this module to own.

Then you'll need to supply a few options for the module when you make the scrape.

The options object

    url: <string>,           // URL of the staff page that lists employees
    collection: <string>,    // mongo collection name to use for archive
    selectors: {             // all the selectors once you have the page parsed
        employees: <string>, // closest parent element for individual employees
        name: <string>,      // name of employee from their elem
        position: <string>,  // what role they had
        bio: <string>,       // what they said about themselves
        profilePic: <string>,// selects the `src` attribute of this selector

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 1
Last Month 2
Dependencies (3)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |