lib/page_rankr/backlinks/google.rb in PageRankr-1.4.2 vs lib/page_rankr/backlinks/google.rb in PageRankr-1.4.3
- old
+ new
@@ -2,10 +2,10 @@
module PageRankr
class Backlinks < Tracker
class Google < Backlink
def url(site)
- "http://www.google.com/search?q=link%3A#{CGI.escape(site)}"
+ "http://www.google.com/search?q=link%3A%22#{CGI.escape(site)}%22"
end
def xpath
"//div[@id='resultStats']/text()"
end
\ No newline at end of file