How can I get the URLs containing supplied keywords from the website?
For example: I want to capture all of the anchor href’s on this page http://www.catererglobal.com/rzwritingajobad.html
containing any of the keywords (promote, job)
Expected results include:
http://www.catererglobal.com/recruiters/rz-promote-your-brand
http://www.catererglobal.com/recruiters/rz-job-advertising
This is how I do it in php =)
The output is :
Xpath is our best friend 😉