#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    364
    Rep Power
    0

    PHP-Google scraper running against the API - how to obtain the code


    helllo dear buddies


    Is it possible to scrape the Google search results page using PHP to pull out the total number of search results found? If so how would I go about doing this?

    Well i f ound the great script of http://google-rank-checker.squabbel.com/

    how to obtain the www.seo-proxies.com API password

    note: is this a Google-API-Code!?


    Code:
    /* License: open source for private and commercial use
       This code is free to use and modify as long as this comment stays untouched on top.
       URL of original source: http://google-rank-checker.squabbel.com
       Author of original source: justone@squabbel.com
       This tool should be completely legal but in any case you may not sue or seek compensation from the original Author for any damages or legal issues the use may cause.
       By using this source code you agree NOT to increase the request rates beyond the IP management function limitations, this would only harm our common cause.
     */
    
    error_reporting(E_ALL); 
    // ************************* Configuration variables *************************
    // Your seo-proxies api credentials
    $pwd="2b24aff3c1266-----your-api-key---";            // Your www.seo-proxies.com API password
    $uid=YOUR_USER_ID;                                   // Your www.seo-proxies.com API userid
    love to hear from you

    greetings
    metabo
    Last edited by metabo; March 30th, 2012 at 09:53 AM.
  2. #2
  3. No Profile Picture
    I haz teh codez!
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Dec 2003
    Posts
    2,574
    Rep Power
    2341
    No, that would be against Google's Terms of Service.
    I ♥ ManiacDan & requinix

    This is a sig, and not necessarily a comment on the OP:
    Please don't be a help vampire!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    364
    Rep Power
    0
    hello my dear

    thx alot - i just have read it

    Originally Posted by ptr2void
    No, that would be against Google's Terms of Service.

    after reading it twice i have gained some knowlege - well i guess that for scraping we need a number of high quality IPs.

    Hmm - The script is able to correctly manage such IPs (delays, switching between IPs etc).
    The developer has used a number of proxy servers in the past and had a lot of issues, SEO-Proxies works flawless for him - he said.

    Well do i need several ips or can i run the script without any ip!?

    Comments on this post

    • ptr2void disagrees : So you don't care. Got it.
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,304
    Rep Power
    7173
    The point is that you are not allowed to do this.

    Here is the relevant piece of Google's TOS:
    Donít misuse our Services. For example, donít interfere with our Services or try to access them using a method other than the interface and the instructions that we provide.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo