Created
July 2, 2020 02:33
-
-
Save matheusmurta/ed190972b1a9b60aadc00e82cbc455c7 to your computer and use it in GitHub Desktop.
Get all href of specif div
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.prototype.map.call(document.querySelectorAll("body > div.container-fluid.falco-custom-fluid-container > div > div > div > div:nth-child(1) > a"), function (e) { | |
return e.getAttribute('href'); | |
}); | |
Array.prototype.map.call(document.querySelectorAll(".myselectorAreaofLinks"), function (e) { | |
return e.getAttribute('href'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment