Small service that allows to get href attribute from a specified element on remote page.
Use the following link to request a result:
https://node-js-geturl.herokuapp.com/?url=(<URL>)&selector=(<SELECTOR>)
Replace <URL>
and <SELECTOR>
with desired strings.
Getting href of 'Releases' link on this page:
https://node-js-geturl.herokuapp.com/?url=(https://github.com/ThirteenAG/node-js-geturl)&selector=(a[href*=releases])
Getting href of Github's privacy policy link on main page:
https://node-js-geturl.herokuapp.com/?url=(https://github.com/)&selector=(p.form-control-note > a[href*=terms])
Same thing, but with redirect:
https://node-js-geturl.herokuapp.com/?url=(https://github.com/)&selector=(p.form-control-note > a[href*=terms])&redirect