Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- da_nodes = document.getElementsByClassName('search-result__occluded-item ember-view');
- for(let i = 0; i < da_nodes.length; i++){
- let link = da_nodes[i].getElementsByClassName('search-result__result-link ember-view').item(0),
- ndRow = da_nodes[i].getElementsByClassName('subline-level-1').item(0).innerText,
- position = ndRow.split(' at ')[0],
- company = position === ndRow ? '' : ndRow.split(' at ')[1],
- rows = [
- link.innerText, link.href,
- position, company,
- da_nodes[i].getElementsByClassName('subline-level-2').item(0).innerText
- ];
- da_people.push(rows.join(';'));
- } console.log(da_people.length);
Add Comment
Please, Sign In to add comment