1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[GET] Google SERP Position checker Script written in PHP.

Discussion in 'PHP & Perl' started by Gogol, Apr 3, 2014.

  1. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    I made this api script for my own usage actually. Sharing this here so that other members can be benefited too. Hope it helps :)

    Fork/Contribute/Download at:
    Code:
    [B]https://github.com/noc2spam/KeywordTracker[/B]
    
    Usage:
    Code:
    [B]https://github.com/noc2spam/KeywordTracker/blob/master/README.md[/B]
    
    VT (in case needed):
    Code:
    [B]https://www.virustotal.com/en/file/ab569eed410583916da4546200892b26db30b9c353393e5fbccf499647bbc392/analysis[/B]/1396518962/
     
    • Thanks Thanks x 8
  2. google2

    google2 Junior Member

    Joined:
    Jun 24, 2012
    Messages:
    187
    Likes Received:
    28
    Location:
    Im my house
    Home Page:
    Thank you !! . HQ share. will try this
     
  3. ddederick

    ddederick Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 22, 2012
    Messages:
    584
    Likes Received:
    432
    Location:
    The Source Code
    Very nice. Thanks. I'll try it in near future for sure.
     
  4. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Thanks to both of you :)
     
  5. Aneekalam

    Aneekalam Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 6, 2009
    Messages:
    1,227
    Likes Received:
    91
  6. Apricot

    Apricot Administrator Staff Member Moderator

    Joined:
    Mar 26, 2013
    Messages:
    11,970
    Likes Received:
    6,473
    Gender:
    Female
    Occupation:
    BHW Moderator
    Location:
    London
    Home Page:
    Couldn't get it to work, thanks though, nice thought!
     
  7. 808080Hat

    808080Hat Registered Member

    Joined:
    Feb 1, 2014
    Messages:
    65
    Likes Received:
    24
    Occupation:
    Freelance Software Developer/Architect
    Location:
    Berlin, Germany
    Hi,

    did you try randomizing your User Agent? Here is a little list, that I posted on my Ruby Rankchecker Script:

    Code:
    user_agent = ['Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3',
                        'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)',
                        'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)',
                        'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)',
                        'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; en-GB)',
                        'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; MS-RTC LM 8)',
                        '(Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0))',
                        'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0',
                        'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.50',
                        'Opera/9.20 (Windows NT 6.0; U; en)',
                        'Opera/9.30 (Nintendo Wii; U; ; 2047-7;en)',
                        'Opera 9.4 (Windows NT 6.1; U; en)',
                        'Opera/9.99 (Windows NT 5.1; U; pl) Presto/9.9.9',
                        'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/6.0',
                        'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/522.11.1 (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1',
                        'Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR) AppleWebKit/523.15 (KHTML, like Gecko) Version/3.0 Safari/523.15',
                        'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/523.15 (KHTML, like Gecko) Version/3.0 Safari/523.15',
                        'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_2; en-gb) AppleWebKit/526+ (KHTML, like Gecko) Version/3.1 iPhone',
                        'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-us) AppleWebKit/525.25 (KHTML, like Gecko) Version/3.2 Safari/525.25',
                        'Mozilla/5.0 (Windows; U; Windows NT 6.0; ru-RU) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16',
                        'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4',
                        'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko Firefox/11.0',
                        'Mozilla/5.0 (Windows; U; MSIE 9.0; WIndows NT 9.0; en-US))',
                        'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.0.3705; .NET CLR 1.1.4322)',
                        'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; InfoPath.1; SV1; .NET CLR 3.8.36217; WOW64; en-US)',
                        'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11',
                        'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11',
                        'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.24 (KHTML, like Gecko) Chrome/19.0.1055.1 Safari/535.24']
    
    And a question: As I can see you are not using the "pws=0" parameter, do you know if this parameter is still working?
     
    • Thanks Thanks x 1
    Last edited: Apr 3, 2014
  8. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,066
    Likes Received:
    2,872
    Gender:
    Male
    Could you please report a bug in git? That would be great. I will fix that in my free time.

    Yes, we could certainly randomize the user agents. It's scheduled in the next update. Thanks :)