{"id":17383003,"url":"https://github.com/sundios/google-rank-tracker","last_synced_at":"2025-04-07T09:20:01.954Z","repository":{"id":48134936,"uuid":"187098622","full_name":"sundios/Google-rank-tracker","owner":"sundios","description":"SEO: Python script  + shell script and cronjob to check ranks on a daily basis","archived":false,"fork":false,"pushed_at":"2024-01-10T08:17:07.000Z","size":889,"stargazers_count":281,"open_issues_count":1,"forks_count":71,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-07T09:19:58.135Z","etag":null,"topics":["cronjob","google","python","ranking","seo","seo-monitor","seo-optimization","seotools","shell-script"],"latest_commit_sha":null,"homepage":"https://www.kwrds.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sundios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-16T20:43:03.000Z","updated_at":"2025-03-25T21:22:12.000Z","dependencies_parsed_at":"2024-01-10T08:31:40.526Z","dependency_job_id":"3bd6e9c4-4976-4466-a805-140cfeb90e41","html_url":"https://github.com/sundios/Google-rank-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2FGoogle-rank-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2FGoogle-rank-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2FGoogle-rank-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2FGoogle-rank-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundios","download_url":"https://codeload.github.com/sundios/Google-rank-tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247622983,"owners_count":20968575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cronjob","google","python","ranking","seo","seo-monitor","seo-optimization","seotools","shell-script"],"created_at":"2024-10-16T07:40:10.906Z","updated_at":"2025-04-07T09:20:01.925Z","avatar_url":"https://github.com/sundios.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Google Keyword Ranking Check with Python \n\nYou can see another SEO script in action here --\u003e \u003ca href=\"https://www.kwrds.ai/\" rel=\"follow\"\u003e[https://www.kwrds.ai/](https://www.kwrds.ai/)\u003c/a\u003e\n\n\n\u003ca href=\"https://bmc.link/sundios\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\nAre you on a tight budget and unable to purchase an enterprise rank tracker? Well, today is your lucky day. With this Python script, you can check your rankings and your competitors' rankings on both mobile and desktop in just a few seconds.\n\n**Update**: The script has been updated to remove Robobrowser and use Beautiful Soup. I've also added a competitor check feature, and now it's easier to run. I will make a fix to include a keyword file in the future, but for now, the script is working again and includes the competitors' feature.\n\n**Update**\n\n## Table of Contents \n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Results](#results)\n- [Contributing \u0026 Questions](#contributing-and-questions)\n\n---\n\n## Installation\n\nTo use this script, you need to install its dependencies. You can do this by running the following command in your terminal:\n\n```shell\npip install -r requirements.txt\n```\n\nOnce all the dependencies are installed, you can start using the script immediately.\n\n## Usage\n\nTo run the script and retrieve rankings for your site and competitors, you'll need to make some updates in the `rank.py` file. In line 15 of `rank.py`, you will find the following input parameters:\n\n- keyword: Keyword we want to check.\n- sitename: Your website URL.\n- competitors: The URLs of the competitors you want to check.\n\nFor example, if you want to check the keyword **running shoes** and your website is https://www.adidas.com, it should look something like this:\n\n```python\n# inputs\nkeyword = 'running shoes'\nsitename = \"https://www.adidas.com/\"\n\ncompetitor1 = \"https://www.nike.com\"\ncompetitor2 = \"https://www.reebok.com\"\ncompetitor3 = \"https://www.ascics.com\"\ncompetitor4 = \"https://www.hoka.com\"\n```\nOnce you've updated these fields, you can run the following command in your terminal to execute the script:\n\n```bash\npython rank.py\n\n```\n## Results\n\nThe script performs two checks: one on mobile and the other on desktop. If everything goes well, you should be able to view your ranking results as well as your competitors' rankings for both mobile and desktop.\n\n![Rankings check](rank.gif)\n\nAdditionally, the script generates an Excel (.xlsx) file in the same folder where rank.py is located. The file is named after the keyword and contains two tabs: one for mobile rankings and another for desktop rankings.\n\nFor example:\n| Keyword       | Rank | URL                                               | Date       | Type         |\n|---------------|------|---------------------------------------------------|------------|--------------|\n| running shoes | 4    | https://www.adidas.com/us/women-running-shoes    | 09-01-2024 | My Site      |\n| running shoes | 2    | https://www.nike.com/w/running-shoes-37v7jzy7ok | 09-01-2024 | Competitor  |\n| running shoes | 19   | https://www.reebok.com/c/200000012/men-running-shoes | 09-01-2024 | Competitor  |\n| running shoes | 8    | https://www.hoka.com/en/us/                      | 09-01-2024 | Competitor  |\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=sundios/Google-rank-tracker\u0026type=Date)](https://star-history.com/#sundios/Google-rank-tracker\u0026Date)\n\n\n## Contributing and Questions\n\nIf you want to contribute or fix anything, please do so. \n\nIf you have any questions or need help setting this up, please open an issue, and will try to help.\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundios%2Fgoogle-rank-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundios%2Fgoogle-rank-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundios%2Fgoogle-rank-tracker/lists"}