How to scrape this data

Hi.
How to scrape this data for example :http://google.com/safebrowsing/diagn…=sitepoint.com
Only this txt:


What is the current listing status for sitepoint.com?

    This site is not currently listed as suspicious.

What happened when Google visited this site?

    Of the 151 pages we tested on the site over the past 90 days, 0 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2010-04-15, and suspicious content was never found on this site within the past 90 days.

    This site was hosted on 4 network(s) including AS14618 (AMAZON), AS27357 (RACKSPACE), AS25973 (MZIMA).

Has this site acted as an intermediary resulting in further distribution of malware?

    Over the past 90 days, sitepoint.com did not appear to function as an intermediary for the infection of any sites.

Has this site hosted malware?

    No, this site has not hosted malicious software over the past 90 days.

And for example: http://google.com/safebrowsing/diagn...site=yahoo.com


What is the current listing status for yahoo.com?

    This site is not currently listed as suspicious.

    Part of this site was listed for suspicious activity 4 time(s) over the past 90 days.

What happened when Google visited this site?

    Of the 93691 pages we tested on the site over the past 90 days, 26 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2010-04-15, and the last time suspicious content was found on this site was on 2010-04-15.

    Malicious software includes 123 scripting exploit(s), 18 trojan(s), 12 adware(s). Successful infection resulted in an average of 4 new process(es) on the target machine.

    Malicious software is hosted on 48 domain(s), including searchspy.co.kr/, yimg.com/, incheongh.com/.

    26 domain(s) appear to be functioning as intermediaries for distributing malware to visitors of this site, including puremystique.com/, desihoti.com/, mayatek.info/.

    This site was hosted on 33 network(s) including AS36752 (YAHOO), AS14778 (INKTOMI), AS14777 (INKTOMI).

Has this site acted as an intermediary resulting in further distribution of malware?

    Over the past 90 days, yahoo.com appeared to function as an intermediary for the infection of 20 site(s) including tamilcinema.com/, phimso9.com/, bollywoodheaven.com/.

Has this site hosted malware?

    Yes, this site has hosted malicious software over the past 90 days. It infected 3 domain(s), including oocities.com/, ibkuzi.co.cc/, ibkuzi.freehostia.com/.

Your links dont work, so the answer is ‘cant answer you’.

http://google.com/safebrowsing/diagnostic?site=sitepoint.com
http://google.com/safebrowsing/diagnostic?site=yahoo.com

How to use it for domains with this string:

$website

Assuming $string is the source of those pages…


$string = implode('<p class="d">',array_slice(explode('<p class="d">',$string),1,count(explode('<p class="d">',$string))-2));
echo $string;

file_get_contents() … cURL… depends on your server’s configuration as to what you can do.