I would get the page using cUrl, then parsing the result dom for the anchor with preg_match and your url, then check if the anchor has a nofollow tag with preg_match
An alternative would be to parse the content with jquery e.g. like this:
Code:
grrr tried to post an example code here but the moderation system keeps blocking me :-/
You could e.g. store all found links via ajax request to another script that stores the stuff in a database. And then after finishing get an unscraped url from the database via ajax and call the above script -> name . php ? url=...Little bot like...
P.S.: echo file_get_contents( isset($_REQUEST['url']) ? $_REQUEST['url'] : 'start url' ) and after that include jquery and parse with it
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.