[GET] Google Result URL Scraper script

didnt look at the script yet, but i wonder can it pull the number of results?

( Results 1 - 10 of about 5,300,000 for fds. (0.18 seconds),this number ---> 5,300,000 )

thx for info :D
 
Code:
The requested URL /scrape/<br /><b>Notice</b>:   Undefined variable: PHP_SELF in  <b>C:\wamp\www\scrape\googleScraper.php</b> on line  <b>13</b><br /> was not found on this server.

this what i got while try this scriot, anyone can help ?
 
I think this broke with the changes made in google. When I search for something with spaces it doesn't work. Can anybody provide a quick fix por favor?
 
In googleScraper.php

Replace:
$url = $_POST["url"];

By:
$url = rawurlencode($_POST["url"]);

You are in business!
Enjoy and great script!
 
uploaded a "fixed" version, fixes problems I got when trying the script out

thanks to OP for a great script
 

Attachments

Warning: Call-time pass-by-reference has been deprecated in /home/content/91/7908391/html/googleScraper.php on line 60


In googleScraper.php

Replace:
$url = $_POST["url"];

By:
$url = rawurlencode($_POST["url"]);

You are in business!
Enjoy and great script!
 
Many tanks for "Rudyzplace"
This tread help me much!
For that reason i will share with you my version of him sample examp for this type of script!
Here is Download link:
Code:
http://www.mediafire.com/?j28y4vglk4k7slg
Code inside is fixed and work with last update of google search result pages.
Also have line caled in index.php:
Code:
$url2="[COLOR=Red]site:domain.com%20inurl:blog%20[/COLOR]$url";
For this that know more for scraping is not need more info but for another i will tell that: If change strings in red you can make script to search more precise and focused!
If i am helped someone You know what to do -- Hit Thanks button ;]
Have a nice day!
 
Thanks for the file. I am running this on xammp and I'm getting the following error:You don't have permission to access the requested object. It is either read-protected or not readable by the server. How to fix?
 
Can someone modify it to works or to suggest some php go0gle scrapper script?
 
Deprecated: Call-time pass-by-reference has been deprecated line 89

please your help :)


 
Back
Top