Is there a ruby gem to get the search ranking of a URL for a given keyword with Google, Bing or Yahoo?

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I am trying to find a gem that will help me get the search ranking of a URL with the popular search engines. I've done a little digging and found some outdated ruby gems - namely:

Keyword Ranking: https://github.com/crowdint/keyword_ranking

Rankstar: https://github.com/crowdint/rankstar/blob/master/lib/rankstar.rb

Both seem to be over 2-3 years old and don't seem to be working (i.e. when I install the gem, create a ruby script and run it, I get nothing returned) - is there a more recent gem that I should be using for this? Thoughts on how to get this data through ruby / rails?

Thanks in advance!

profilepic.png
manpreet 2 years ago

Scraping Google SERP is not allowed by Google long time ago. They use every methods to stop this kind of actions. There were lots of tools before in different programming languages but none of them could last long. Some tools installed on personal computer could be used but not very stable.

Also, as I knew one years ago, there is no API available for such querying.

I suggest you give up this idea to collect rank data. It's not wise to fight against Google.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.