Get Google Results PHP -


I am trying to get google result html for search term

  intitle : Index "Last modified" "parent directory" (mp3 | wma | ogg) "test" - htm -html -php -asp  

using file_get_contents

Then something like this:

  $ file = file_get_html ("http://www.google.com/search?q=intitle:index.of%20%20 % 94last% 20modified% 94% 20% 20% 94parent% 20directory% 94% 20% 20% 28mp3 | wma | ogg% 29% 20% 20% 22test% 22% 20-htm% 20 HTML% 20-php% 20 ASP ");  

(Basically this is the search term:

  http://www.google.com/search?q=intitle:index.of " The last modified "Parent Directory" (MP3 | WMA | ogg) "test" -htm -html -php -asp  

)

and its 503

Anyone know how I can do this work?

Thanks

is scrapping (read 5.3). You should use your API:

There are ways to use it in PHP. Also a structured object Vendor's (JSON) so you save resources for CPU Power (parsing) and bandwidth (Jesoan include only data).


Comments