jobscraper/lib/filter_glasgow.js

8 lines
220 B
JavaScript
Raw Normal View History

2020-05-19 09:05:04 +00:00
module.exports = function (item, itemOptions, source) {
if(itemOptions.description.indexOf('Glasgow') > 0 || itemOptions.description.indexOf('London') > 0)
return itemOptions;
else
return -1;
};