-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
27 lines (21 loc) · 879 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Ideally this module will grab the keywords from a job
// ad page.
// I'm not exactly sure if this module will just grab
// a page's content and then pass the content to another
// module for the parsing logic, or just parse the content itself.
"use strict";
(function(){
const websiteTextGetter = require('./includes/getText.js');
const htmlParser = require('./includes/htmlParser.js');//... this will be a module to parse returned html
// algorithms and logic for finding keywords will be in this module
// testing object to pass to getText
//let testObject0 = { url:'url goes here', company: '', title: 'title goes here'};
//let testObject1 = { url: 'url goes here', company: '', title: ''};
htmlParser;
//websiteTextGetter(testObject0)
// .then(function(data){
// let $ = data;
// console.log(Object.keys($(this).options));
// let re = /have/i;
// });
})();