jobscraper/lib/filter_glasgow.js
Martin Donnelly 5001bbd798 init
2020-05-19 10:05:04 +01:00

8 lines
220 B
JavaScript

module.exports = function (item, itemOptions, source) {
if(itemOptions.description.indexOf('Glasgow') > 0 || itemOptions.description.indexOf('London') > 0)
return itemOptions;
else
return -1;
};