Glassdoor's Top CEO charts. Annual transition
Source
Code
copy(Array.from(document.querySelectorAll(".ceoSingle"), (el, index) => {
return {
rank: Number(el.querySelector(".listRank").textContent.replace(/[^\d]+/g, "").trim()),
ceo: el.querySelector("strong").textContent.trim(),
ceoImg: el.querySelector(".ceo").dataset.original,
company: el.querySelector("div:nth-child(2) > div:nth-child(2) > p:nth-child(2)").textContent.trim(),
approval: el.querySelector(".minor").textContent.trim(),
}
}))
Data
- Write usage instructions
See Releases page.
Install devDependencies and Run npm test
:
npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT © azu