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

StackOverflow https://stackoverflow.com/questions/14951042

Pergunta

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!

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top