在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):sundios/Google-rank-tracker开源软件地址(OpenSource Url):https://github.com/sundios/Google-rank-tracker开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Google Keyword Ranking Check with PythonAre you poor and don’t have money to buy an enterprise rank tracker? Well, today is your lucky day. With this python script, a shell script and crontab, you can automate Google rank checker in a few simple steps. I will explain step by step how to implement this and leave it running daily. One thing to note, currently the script does not use proxies to check for the keyword rankings, so if you are looking to run big sets of keywords, Google will notice this and will start showing a captcha. Update: I have updated the script by adding the possibility of choosing what device you want to make the rank check. The two options are Mobile and Desktop. I will still leave the old script here but will change the name to rank_legacy.py. Update2: Included a keyword.xls file that will run all your keywords from there. No need to add each one of those on the Table of ContentsInstallationInstallation of Python robobrowser pip install robobrowser After all, dependencies are installed, we can start testing if the script is working fine. Running testsBefore running any test, we want to go into the After that, we open the terminal and go to the folder that chmod +x rank.py Now we can call our script followed by two arguments: the website we are looking for and the device we want to check on this can be mobile or desktop. python3 rank.py [website] [device] For exampleWe want to check the website https://www.uselessthingstobuy.com/ on mobile against the keyword nothing package we need to include the keyword on keywords.xls file and run: python3 rank.py https://www.uselessthingstobuy.com/ mobile This will output the keyword, the ranking of the keyword, the URL that is ranking on Google, the device you chose, and the date we did this rank check. Make sure that the device is lower case. If you misspell the device or add capital, the script will run using mobile device as default nothing+package 1 https://www.uselessthingstobuy.com/product/give-nothing-for-the-person-who-has-everything/ mobile 01-07-2020 This will also generate a CSV file in the folder where For example:
Creating a shell scriptNow that we tested that We create a new #! /bin/bash
/usr/bin/python3 /path_to_my_script/rank.py [website] [device]
After we create the shell script we would need to make the script executable chmod +x rank.sh and then to test the shell script. We go to the console and run it using ./rank.sh This will output 5 csv files and the output file name is composed by the date + CronjobNow that we have our In the terminal, we type: crontab -e Then we will press the letter
after adding this we press esc and add Contributing and QuestionsIf you want to contribute or fix anything please feel free to do so. If you have any question or need help setting this up please open an issue and will try to help. If you have a werkzeug Error Read this As of February 2020 Please take a look at this url for more info: Link to issue |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论