Hey zero, Do you have a method to scrape google local business results and see where a listing appears in a) the 7-pack or b) the full listings for certain search terms? WP (from here)
Get Google SERP and preg match local business results with
$page = file_get_contents('http://www.google.com/search?q=new+york+pizza'); preg_match_all( '@<h4[^>]*class=r[^>]*>\s*<a\s*href="(.*)".*class=l.*title="(.*)".*>@siU', $page, $matches); print_r($matches[1]); // urls print_r($matches[2]); // titles
Then preg match regular listings (I hope regex works) and go through both $matches, local and regular.
HTH
You may want to subscribe to my RSS feed.


By serial number on October 12th, 2009.
what is the use of scarping business results? Share us some secret trick behind that
By Kris Malena on October 13th, 2009.
If you are scraping for search results it should be easy to figure out.
By Jayakumar on October 18th, 2009.
Nice to see your blog about make money
By Hire Service Professionals on October 18th, 2009.
Why is scraping necessary? Please post more info about it. Thanks!
By ATV Auction on October 20th, 2009.
Scraping local business results would be a good idea if you are doing seo for any company who cares about local business rankings. There could also be other reasons for this. It would be a good way for an seo company to find potential clients.
By used tires on October 20th, 2009.
Interesting code, looking at it, it would seem to need a little bit more before it becomes automated? Just by looking at the first line in the code, it seems to be kinda of manual search inputs at the moment. But I could be wrong… still though… it’s a great start for the person who requested it.
Till then,
Jean
By Andre Colt on December 14th, 2009.
What is the importance of scrape google local business results?How does it reflect to your site and Affect to the SEO?Can anyone provide valuable information about the codes?
By John Ward on March 2nd, 2010.
If you can’t find the use of this script then move on. I found a pretty decent use for it though
thanks.