From 460c78a1d7bc377780831763c2c408aa0e6be4b8 Mon Sep 17 00:00:00 2001 From: Allen Madsen Date: Mon, 17 Dec 2012 12:04:13 -0500 Subject: [PATCH] Replace typheous. --- CHANGELOG.md | 1 + PageRankr.gemspec | 3 +- README.md | 1 + Rakefile | 7 +- lib/page_rankr/proxy_services/random.rb | 4 +- lib/page_rankr/proxy_services/round_robin.rb | 2 +- lib/page_rankr/request.rb | 44 +++ lib/page_rankr/tracker.rb | 26 +- lib/page_rankr/trackers.rb | 20 +- .../vcr_cassettes/alexa_ranks_edge_case_1.yml | 48 +-- .../vcr_cassettes/failure_backlinks.yml | 320 ++++++++-------- .../vcr_cassettes/failure_indexes.yml | 242 ++++++------ spec/fixtures/vcr_cassettes/failure_ranks.yml | 80 ++-- .../vcr_cassettes/success_backlinks.yml | 344 +++++++++--------- .../vcr_cassettes/success_indexes.yml | 246 ++++++------- spec/fixtures/vcr_cassettes/success_ranks.yml | 116 +++--- spec/proxy_services/random_spec.rb | 2 +- spec/proxy_services/round_robin_spec.rb | 6 +- spec/spec_helper.rb | 2 +- 19 files changed, 762 insertions(+), 752 deletions(-) create mode 100644 lib/page_rankr/request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index b99712b..7609c36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Version 3.2.2 * Fix for Google pagerank check. Query parts were omitted which made the some pages get the same PR as the domain. +* Lock version of typheous to 0.4 set for ruby 1.8.7 compatability. Typheous to be dropped in 4.0.0 version of PageRankr. ## Version 3.2.1 * Fix issue where tracker calls proxy with class name rather than name defined on class instance. diff --git a/PageRankr.gemspec b/PageRankr.gemspec index 391b7f6..b1a337a 100644 --- a/PageRankr.gemspec +++ b/PageRankr.gemspec @@ -16,11 +16,12 @@ Gem::Specification.new do |s| s.add_development_dependency "bundler", ">= 1.0.0" s.add_development_dependency "fuubar", ">= 0.0.1" s.add_development_dependency "vcr" + s.add_development_dependency "fakeweb" s.add_runtime_dependency "nokogiri", ">= 1.4.1" s.add_runtime_dependency "json", ">= 1.4.6" s.add_runtime_dependency "public_suffix", ">= 0.9.0" - s.add_runtime_dependency "typhoeus", "~> 0.4.1" + s.add_runtime_dependency "httparty", ">= 0.9.0" s.add_runtime_dependency "jsonpath", ">= 0.4.2" s.files = `git ls-files`.split("\n") diff --git a/README.md b/README.md index 858cf2e..0796994 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,7 @@ Then, just make sure you require the class and PageRankr and whenever you call P * [Hans Haselberg](https://github.com/i0rek) - Update typhoeus gem. * [Priit Haamer](https://github.com/priithaamer) - Fix google backlinks lookup. * [Marty McKenna](https://github.com/martyMM) - Idea for proxy service +* ## Shout Out Gotta give credit where credits due! diff --git a/Rakefile b/Rakefile index 35499a6..cb6e1be 100644 --- a/Rakefile +++ b/Rakefile @@ -4,4 +4,9 @@ Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) -task :default => :spec \ No newline at end of file +task :default => :spec + +desc "Open an irb session preloaded with this library" +task :console do + sh "irb -rubygems -I lib -r page_rankr.rb" +end \ No newline at end of file diff --git a/lib/page_rankr/proxy_services/random.rb b/lib/page_rankr/proxy_services/random.rb index c1c38b0..6f5db7f 100644 --- a/lib/page_rankr/proxy_services/random.rb +++ b/lib/page_rankr/proxy_services/random.rb @@ -1,8 +1,10 @@ +require 'uri' + module PageRankr module ProxyServices class Random def initialize(proxies) - @proxies = proxies + @proxies = proxies.map{|proxy| URI.parse(proxy)} end def proxy(name, site) diff --git a/lib/page_rankr/proxy_services/round_robin.rb b/lib/page_rankr/proxy_services/round_robin.rb index 459b6ef..74f6307 100644 --- a/lib/page_rankr/proxy_services/round_robin.rb +++ b/lib/page_rankr/proxy_services/round_robin.rb @@ -2,7 +2,7 @@ module PageRankr module ProxyServices class RoundRobin def initialize(proxies) - @proxies = proxies + @proxies = proxies.map{|proxy| URI.parse(proxy)} @index = 0 end diff --git a/lib/page_rankr/request.rb b/lib/page_rankr/request.rb new file mode 100644 index 0000000..934740b --- /dev/null +++ b/lib/page_rankr/request.rb @@ -0,0 +1,44 @@ +require 'httparty' + +module PageRankr + class Request + def initialize(tracker, options) + @tracker = tracker + @options = options + end + + def perform + method = tracker.method + url = tracker.url + + response = HTTParty.send(method, url, construct_options(tracker)) + yield response.body if block_given? + end + + private + attr_reader :tracker + + def construct_options(tracker) + proxy = tracker.proxy + params = tracker.params if tracker.respond_to?(:params) + + options = default_options + options.merge!({ + :http_proxyaddr => proxy.host, + :http_proxyport => proxy.port, + :http_proxyuser => proxy.user, + :http_proxypass => proxy.password + }) if proxy + options.merge!({:query => params}) if params + options.merge!(@options) + end + + def default_options + { + :headers => { + 'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5' + } + } + end + end +end \ No newline at end of file diff --git a/lib/page_rankr/tracker.rb b/lib/page_rankr/tracker.rb index f71a9a2..4e5397d 100644 --- a/lib/page_rankr/tracker.rb +++ b/lib/page_rankr/tracker.rb @@ -1,8 +1,8 @@ -require 'typhoeus' require 'nokogiri' require 'json' require 'jsonpath' require File.expand_path('../site', __FILE__) +require File.expand_path('../request', __FILE__) module PageRankr module Tracker @@ -12,21 +12,7 @@ module Tracker def initialize(site, options = {}) @site = PageRankr::Site(site) - - @options = {:method => method, :headers => {'User-Agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11'}} - @options[:params] = params if respond_to? :params - @options[:proxy] = proxy - @options.merge!(options) - - request.on_complete do |response| - self.body = response.body - self.raw = content(body) - self.tracked = clean(raw) - end - end - - def request - @request ||= Typhoeus::Request.new(url, @options) + @options = options end def url @@ -50,9 +36,11 @@ def proxy end def run - hydra = Typhoeus::Hydra.new - hydra.queue request - hydra.run + PageRankr::Request.new(self, @options).perform do |body| + self.body = body + self.raw = content(body) + self.tracked = clean(raw) + end tracked end diff --git a/lib/page_rankr/trackers.rb b/lib/page_rankr/trackers.rb index 6c8d43c..167e075 100644 --- a/lib/page_rankr/trackers.rb +++ b/lib/page_rankr/trackers.rb @@ -1,5 +1,3 @@ -require 'typhoeus' - module PageRankr module Trackers attr_accessor :site_trackers @@ -10,22 +8,18 @@ def initialize def lookup(site, *trackers) trackers = site_trackers if trackers.empty? - tracked = {} - hydra = Typhoeus::Hydra.new - trackers.each do |tracker| + + trackers.map do |tracker| name, klass = constant_name(tracker), self.class next unless klass.const_defined? name - tracked[tracker] = klass.const_get(name).new(site) - hydra.queue tracked[tracker].request - end - hydra.run - - tracked.keys.each do |tracker| - tracked[tracker] = tracked[tracker].tracked - end + instance = klass.const_get(name) + Thread.new(tracker, instance, site) do |t, i, s| + tracked[t] = i.new(s).run + end + end.each(&:join) tracked end diff --git a/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml b/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml index 92d987c..e0d5865 100644 --- a/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml +++ b/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml @@ -2,22 +2,22 @@ http_interactions: - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=slocourts.net body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "2620" - Content-type: + content-type: - text/xml body: string: "\r\n\ @@ -63,32 +63,32 @@ http_interactions: \n\ \n\ \n\ - \n\ - \n\ - \n\ - \n\ + \n\ + \n\ + \n\ + \n\ \n\ " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:04 GMT + recorded_at: Mon, 17 Dec 2012 17:03:43 GMT - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=slocourts.net body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "2620" - Content-type: + content-type: - text/xml body: string: "\r\n\ @@ -134,12 +134,12 @@ http_interactions: \n\ \n\ \n\ - \n\ - \n\ - \n\ - \n\ + \n\ + \n\ + \n\ + \n\ \n\ " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:04 GMT + recorded_at: Mon, 17 Dec 2012 17:03:43 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/failure_backlinks.yml b/spec/fixtures/vcr_cassettes/failure_backlinks.yml index 8ce946c..7ccd765 100644 --- a/spec/fixtures/vcr_cassettes/failure_backlinks.yml +++ b/spec/fixtures/vcr_cassettes/failure_backlinks.yml @@ -2,22 +2,22 @@ http_interactions: - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "278" - Content-type: + content-type: - text/xml body: string: |- @@ -31,174 +31,93 @@ http_interactions: http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:06 GMT + recorded_at: Mon, 17 Dec 2012 17:03:47 GMT - request: method: get - uri: http://www.google.com/search + uri: http://www.google.com/search?q=link%3Aplease-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: - code: 200 - message: OK + code: 302 + message: Found headers: - Content-Type: + connection: + - close + location: + - http://www.google.com/sorry/?continue=http://www.google.com/search%3Fq%3Dlink%253Aplease-dont-register-a-site-that-breaks-this-test.com + content-length: + - "332" + server: + - GFE/2.0 + date: + - Mon, 17 Dec 2012 17:03:47 GMT + content-type: - text/html; charset=UTF-8 - Expires: - - "-1" - Server: - - gws - Date: - - Sun, 16 Dec 2012 22:17:40 GMT - X-Frame-Options: - - SAMEORIGIN - Set-Cookie: - - PREF=ID=4ecdafe0145a093c:FF=0:TM=1355696260:LM=1355696260:S=DfuLoXHMJ2UY6JZt; expires=Tue, 16-Dec-2014 22:17:40 GMT; path=/; domain=.google.com - - NID=67=HuAP2_KhFRNHYdySHsEgpzPBkbOuxbozkFApePkrrq8zfD_SaZD3xaekhrNniLQDe9y12BIfKXmTbrOnOU5uYI9UCI7BtdddziorTUkY3QUAily-r5RunKCxZ5vxiH_Z; expires=Mon, 17-Jun-2013 22:17:40 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: - - private, max-age=0 - Transfer-Encoding: - - chunked - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block + cache-control: + - private body: - string: "link:please-dont-register-a-site-that-breaks-this-test.com - Google Search
 
Google Instant is unavailable. Press Enter to search.Learn more
Google Instant is off due to connection speed. Press Enter to search.
Press Enter to search.
Screen reader users, click here to turn off Google Instant.
 

Your search - link:please-dont-register-a-site-that-breaks-this-test.com - did not match any documents.

Suggestions:

  • Make sure all words are spelled correctly.
  • Try different keywords.
  • Try more general keywords.
You +1'd this publicly.
You
\"\"

  

Google Home\xE2\x80\x8EAdvertising Programs\xE2\x80\x8EBusiness Solutions\xE2\x80\x8EPrivacy & Terms\xE2\x80\x8EAbout Google\xE2\x80\x8E
" + string: | + + 302 Moved +

302 Moved

+ The document has moved + here. + + http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:07 GMT + recorded_at: Mon, 17 Dec 2012 17:03:47 GMT - request: method: get - uri: http://www.bing.com/search + uri: http://www.bing.com/search?q=inbody%3Aplease-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive + connection: + - close - Transfer-Encoding - Content-Type: - - text/html; charset=utf-8 - Pragma: - - no-cache - Expires: + p3p: + - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + expires: - "-1" - Date: - - Sun, 16 Dec 2012 22:17:40 GMT - Set-Cookie: + pragma: + - no-cache + set-cookie: - _FS=NU=1; domain=.bing.com; path=/ - - _SS=SID=2302D25790FB4D75832298794750C282&C=20.0; domain=.bing.com; path=/ - - DUP=Q=61ZhxXlSg6Fxg0J5Msvb&T=156550660&IG=cc005c1926114cbb99ba446d0068455a&V=1&A=2; domain=.bing.com; path=/ - - MUID=1E11D1BD1FB96F4A10EED5851EA86FE3; expires=Tue, 16-Dec-2014 22:17:40 GMT; domain=.bing.com; path=/ - - MUIDB=1E11D1BD1FB96F4A10EED5851EA86FE3; expires=Tue, 16-Dec-2014 22:17:40 GMT; path=/ - - OrigMUID=1E11D1BD1FB96F4A10EED5851EA86FE3%2ccc005c1926114cbb99ba446d0068455a; expires=Tue, 16-Dec-2014 22:17:40 GMT; domain=.bing.com; path=/ - - SRCHD=D=2609177&MS=2609177&AF=NOFORM; expires=Tue, 16-Dec-2014 22:17:40 GMT; domain=.bing.com; path=/ - - SRCHUID=V=2&GUID=8260E63A22E649E48C96FD87A3D268D5; expires=Tue, 16-Dec-2014 22:17:40 GMT; path=/ - - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121216; expires=Tue, 16-Dec-2014 22:17:40 GMT; domain=.bing.com; path=/ - Cache-Control: - - no-cache, no-store, must-revalidate - Transfer-Encoding: + - _SS=SID=42EAE2EA52B0475EB1513DCF6A4E191F&C=20.0; domain=.bing.com; path=/ + - DUP=Q=61ZhxXlSg6Fxg0J5Msvb&T=156618227&IG=eb8a18f8a53945b9affa5ef325d40a63&V=1&A=2; domain=.bing.com; path=/ + - MUID=0CBD10C0BAC16373268B14F9BBD063EA; expires=Wed, 17-Dec-2014 17:03:47 GMT; domain=.bing.com; path=/ + - MUIDB=0CBD10C0BAC16373268B14F9BBD063EA; expires=Wed, 17-Dec-2014 17:03:47 GMT; path=/ + - OrigMUID=0CBD10C0BAC16373268B14F9BBD063EA%2ceb8a18f8a53945b9affa5ef325d40a63; expires=Wed, 17-Dec-2014 17:03:47 GMT; domain=.bing.com; path=/ + - SRCHD=D=2610303&MS=2610303&AF=NOFORM; expires=Wed, 17-Dec-2014 17:03:47 GMT; domain=.bing.com; path=/ + - SRCHUID=V=2&GUID=8F51C87766BB494BA7DBB38BEA46E749; expires=Wed, 17-Dec-2014 17:03:47 GMT; path=/ + - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121217; expires=Wed, 17-Dec-2014 17:03:47 GMT; domain=.bing.com; path=/ + date: + - Mon, 17 Dec 2012 17:03:47 GMT + content-type: + - text/html; charset=utf-8 + transfer-encoding: - chunked - P3P: - - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + cache-control: + - no-cache, no-store, must-revalidate body: string: "inbody:please-dont-register-a-site-that-breaks-this-test.com - Binginbody:please-dont-register-a-site-that-breaks-this-test.com - Bing

No results found for inbody:please-dont-register-a-site-that-breaks-this-test.com.

Search tips:

  • Ensure words are spelled correctly.
  • Try rephrasing keywords or using synonyms.
  • Try less specific keywords.
  • Make your queries as concise as possible.

Other resources that may help you:

No results found for inbody:please-dont-register-a-site-that-breaks-this-test.com.

Search tips:

  • Ensure words are spelled correctly.
  • Try rephrasing keywords or using synonyms.
  • Try less specific keywords.
  • Make your queries as concise as possible.

Other resources that may help you:

" http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:07 GMT + recorded_at: Mon, 17 Dec 2012 17:03:47 GMT - request: method: get - uri: http://search.yahoo.com/search + uri: http://search.yahoo.com/search?p=inbody%3Aplease-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: + connection: + - close + p3p: + - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" + set-cookie: + - B=d1tqchd8cuk3j&b=3&s=vk; expires=Thu, 18-Dec-2014 17:03:47 GMT; path=/; domain=.yahoo.com + - sSN=YZCQjpI2wWELsu7CBjWkUK03U9pDFW.DNumGY_PpSjghX1A3Bjgq2PYaOuPQ7FVpnrNWAlttSfcK4AECk5U0Jg--; path=/; domain=.search.yahoo.com + date: + - Mon, 17 Dec 2012 17:03:47 GMT + content-type: - text/html; charset=UTF-8 - Date: - - Sun, 16 Dec 2012 22:17:40 GMT - Set-Cookie: - - B=7s7l0op8csi44&b=3&s=38; expires=Wed, 17-Dec-2014 22:17:40 GMT; path=/; domain=.yahoo.com - - sSN=twAMf3Y2wWG1Y.m1.34zJcq9sYzUIwBq0p87PVY8nY0htTCQ31Kg3Sl5gPfl23OIBtJNxUdxLDGwTbBjH.ckBw--; path=/; domain=.search.yahoo.com - Vary: + vary: - Accept-Encoding - Cache-Control: + cache-control: - private - Transfer-Encoding: + transfer-encoding: - chunked - P3P: - - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" body: string: | - inbody:please-dont-register-a-site-that-breaks-this-test.com - Yahoo! Search Results

Yahoo! Web Search

Yahoo! Web Search

0 results

We did not find results for: inbody:please-dont-register-a-site-that-breaks-this-test.com. Try the suggestions below or type a new query above.

Suggestions:

  • Check your spelling.
  • Try more general words.
  • Try different words that mean the same thing.
  • Try asking a question on Yahoo! Answers

Promotional Results For You

For more helpful tips on searching, visit the Yahoo! Search Help Center.

-
- + #yUnivHead {background: transparent;}

0 results

We did not find results for: inbody:please-dont-register-a-site-that-breaks-this-test.com. Try the suggestions below or type a new query above.

Suggestions:

  • Check your spelling.
  • Try more general words.
  • Try different words that mean the same thing.
  • Try asking a question on Yahoo! Answers

For more helpful tips on searching, visit the Yahoo! Search Help Center.

+
+ + + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:48 GMT +- request: + method: get + uri: http://www.google.com/sorry/?continue=http://www.google.com/search%3Fq%3Dlink%253Aplease-dont-register-a-site-that-breaks-this-test.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 503 + message: Service Unavailable + headers: + connection: + - close + x-xss-protection: + - 1; mode=block + content-length: + - "2767" + expires: + - Fri, 01 Jan 1990 00:00:00 GMT + pragma: + - no-cache + server: + - HTTP server (unknown) + date: + - Mon, 17 Dec 2012 17:03:48 GMT + x-frame-options: + - SAMEORIGIN + content-type: + - text/html + cache-control: + - no-cache, must-revalidate + body: + string: | + + + http://www.google.com/search?q=link%3Aplease-dont-register-a-site-that-breaks-this-test.com + +
+

+ + To continue, please type the characters below:

+ Please enable images




+
+ +
+ About this page

Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

+ + + + + + IP address: 98.216.9.40
Time: 2012-12-17T17:03:48Z
URL: http://www.google.com/search?q=link%3Aplease-dont-register-a-site-that-breaks-this-test.com
+
+
+ + http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:07 GMT + recorded_at: Mon, 17 Dec 2012 17:03:48 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/failure_indexes.yml b/spec/fixtures/vcr_cassettes/failure_indexes.yml index 07a0365..d3bd313 100644 --- a/spec/fixtures/vcr_cassettes/failure_indexes.yml +++ b/spec/fixtures/vcr_cassettes/failure_indexes.yml @@ -2,54 +2,120 @@ http_interactions: - request: method: get - uri: http://www.google.com/search + uri: http://www.bing.com/search?q=site%3Aplease-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: - - text/html; charset=UTF-8 - Expires: + connection: + - close + - Transfer-Encoding + p3p: + - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + expires: + - "-1" + pragma: + - no-cache + set-cookie: + - _FS=NU=1; domain=.bing.com; path=/ + - _SS=SID=7F44DB274F7A4A6EB2061E18C1267560&C=20.0; domain=.bing.com; path=/ + - DUP=Q=TP9BHxwf0sjSSiGt0Jkf&T=156618230&IG=5953611a082c49b3b40850cce24cce76&V=1&A=2; domain=.bing.com; path=/ + - MUID=2708CC27CD9D67B02433C81ECC8C6780; expires=Wed, 17-Dec-2014 17:03:50 GMT; domain=.bing.com; path=/ + - MUIDB=2708CC27CD9D67B02433C81ECC8C6780; expires=Wed, 17-Dec-2014 17:03:50 GMT; path=/ + - OrigMUID=2708CC27CD9D67B02433C81ECC8C6780%2c5953611a082c49b3b40850cce24cce76; expires=Wed, 17-Dec-2014 17:03:50 GMT; domain=.bing.com; path=/ + - SRCHD=D=2610303&MS=2610303&AF=NOFORM; expires=Wed, 17-Dec-2014 17:03:50 GMT; domain=.bing.com; path=/ + - SRCHUID=V=2&GUID=52A0F8F47DB24C3C84AE4551CC658836; expires=Wed, 17-Dec-2014 17:03:50 GMT; path=/ + - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121217; expires=Wed, 17-Dec-2014 17:03:50 GMT; domain=.bing.com; path=/ + date: + - Mon, 17 Dec 2012 17:03:50 GMT + content-type: + - text/html; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - no-cache, no-store, must-revalidate + body: + string: "site:please-dont-register-a-site-that-breaks-this-test.com - Bing

No results found for site:please-dont-register-a-site-that-breaks-this-test.com.

Search tips:

  • Ensure words are spelled correctly.
  • Try rephrasing keywords or using synonyms.
  • Try less specific keywords.
  • Make your queries as concise as possible.

Other resources that may help you:

" + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:50 GMT +- request: + method: get + uri: http://www.google.com/search?q=site%3Aplease-dont-register-a-site-that-breaks-this-test.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + connection: + - close + x-xss-protection: + - 1; mode=block + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + expires: - "-1" - Server: + server: - gws - Date: - - Sun, 16 Dec 2012 22:17:43 GMT - X-Frame-Options: + set-cookie: + - PREF=ID=d8ea919be10c4c72:FF=0:TM=1355763830:LM=1355763830:S=Ttdqa9QRgsN6HxMR; expires=Wed, 17-Dec-2014 17:03:50 GMT; path=/; domain=.google.com + - NID=67=Uc6yHBmdycD_aU0NPeGQcmfD6MGmsNVmT617yX-8tN0uped2giRidriiWGq_GCO0Y6eKWvXDjTdsNzsIjpMSfMTDQ50Q-5wCLXRV6OvRflDnAucYQ8yYwjo3zjDiO8WK; expires=Tue, 18-Jun-2013 17:03:50 GMT; path=/; domain=.google.com; HttpOnly + date: + - Mon, 17 Dec 2012 17:03:50 GMT + x-frame-options: - SAMEORIGIN - Set-Cookie: - - PREF=ID=a8c04f27da8697a3:FF=0:TM=1355696263:LM=1355696263:S=a7iYoHQ_TJtTlTey; expires=Tue, 16-Dec-2014 22:17:43 GMT; path=/; domain=.google.com - - NID=67=HAuPJKW3PD2OswtVGtYgV54gIQCZK8sLfdHEcRGaIBopGj2KZr3rPOT6B8fZ-D48ddMUICpWVpYyhfl8L9HiR6dLsSDEeMxgwza9e6sINzOowiFfq8Hsg_0s0rn8DLyZ; expires=Mon, 17-Jun-2013 22:17:43 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: + content-type: + - text/html; charset=UTF-8 + cache-control: - private, max-age=0 - Transfer-Encoding: - - chunked - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block body: string: "site:please-dont-register-a-site-that-breaks-this-test.com - Google Search
 
Google Instant is unavailable. Press Enter to search.Learn more
Google Instant is off due to connection speed. Press Enter to search.
Press Enter to search.
Screen reader users, click here to turn off Google Instant.
Google Instant is unavailable. Press Enter to search.Learn more
Google Instant is off due to connection speed. Press Enter to search.
Press Enter to search.
Screen reader users, click here to turn off Google Instant.
 

Google promotion

  1. Try Google Webmaster Tools

    www.google.com/webmasters/
    Do you own please-dont-register-a-site-that-breaks-this-test.com? Get indexing and ranking data from Google.

Your search - site:please-dont-register-a-site-that-breaks-this-test.com - did not match any documents.

Suggestions:

  • Make sure all words are spelled correctly.
  • Try different keywords.
  • Try more general keywords.
You +1'd this publicly.
You
\"\"

  

Google Home\xE2\x80\x8EAdvertising Programs\xE2\x80\x8EBusiness Solutions\xE2\x80\x8EPrivacy & Terms\xE2\x80\x8EAbout Google\xE2\x80\x8E
 

Google promotion

  1. Try Google Webmaster Tools

    www.google.com/webmasters/
    Do you own please-dont-register-a-site-that-breaks-this-test.com? Get indexing and ranking data from Google.

Your search - site:please-dont-register-a-site-that-breaks-this-test.com - did not match any documents.

Suggestions:

  • Make sure all words are spelled correctly.
  • Try different keywords.
  • Try more general keywords.
You +1'd this publicly.
You
\"\"

  

Google Home\xE2\x80\x8E Advertising Programs\xE2\x80\x8E Business Solutions\xE2\x80\x8E Privacy & Terms\xE2\x80\x8E About Google\xE2\x80\x8E
" http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:10 GMT + recorded_at: Mon, 17 Dec 2012 17:03:50 GMT - request: method: get - uri: http://www.bing.com/search + uri: http://search.yahoo.com/search?p=site%3Aplease-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - - Transfer-Encoding - Content-Type: - - text/html; charset=utf-8 - Pragma: - - no-cache - Expires: - - "-1" - Date: - - Sun, 16 Dec 2012 22:17:43 GMT - Set-Cookie: - - _FS=NU=1; domain=.bing.com; path=/ - - _SS=SID=1E87757CCF4C4C85AD52D12F3A718EA9&C=20.0; domain=.bing.com; path=/ - - DUP=Q=TP9BHxwf0sjSSiGt0Jkf&T=156550663&IG=4fa5b8c950a945b6bc64a4f001d994e4&V=1&A=2; domain=.bing.com; path=/ - - MUID=077D1CE537E96D7A177318DD36F86D82; expires=Tue, 16-Dec-2014 22:17:43 GMT; domain=.bing.com; path=/ - - MUIDB=077D1CE537E96D7A177318DD36F86D82; expires=Tue, 16-Dec-2014 22:17:43 GMT; path=/ - - OrigMUID=077D1CE537E96D7A177318DD36F86D82%2c4fa5b8c950a945b6bc64a4f001d994e4; expires=Tue, 16-Dec-2014 22:17:43 GMT; domain=.bing.com; path=/ - - SRCHD=D=2609177&MS=2609177&AF=NOFORM; expires=Tue, 16-Dec-2014 22:17:43 GMT; domain=.bing.com; path=/ - - SRCHUID=V=2&GUID=FD3D2E5498754BF2A6E7648E4B051F7B; expires=Tue, 16-Dec-2014 22:17:43 GMT; path=/ - - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121216; expires=Tue, 16-Dec-2014 22:17:43 GMT; domain=.bing.com; path=/ - Cache-Control: - - no-cache, no-store, must-revalidate - Transfer-Encoding: - - chunked - P3P: - - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" - body: - string: "site:please-dont-register-a-site-that-breaks-this-test.com - Bing

No results found for site:please-dont-register-a-site-that-breaks-this-test.com.

Search tips:

  • Ensure words are spelled correctly.
  • Try rephrasing keywords or using synonyms.
  • Try less specific keywords.
  • Make your queries as concise as possible.

Other resources that may help you:

" - http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:10 GMT -- request: - method: get - uri: http://search.yahoo.com/search - body: - string: "" - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: - code: 200 - message: OK - headers: - Content-Type: + connection: + - close + p3p: + - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" + set-cookie: + - B=5cs86dd8cuk3m&b=3&s=u5; expires=Thu, 18-Dec-2014 17:03:50 GMT; path=/; domain=.yahoo.com + - sSN=0iuNkdI2wWEfhrrLmcE4qYfRVgwmb5XGj.642UHK76DhQNbLve9h58ENnid_yj4AAWHlJIOqAVwSzSSdfmGtLQ--; path=/; domain=.search.yahoo.com + date: + - Mon, 17 Dec 2012 17:03:50 GMT + content-type: - text/html; charset=UTF-8 - Date: - - Sun, 16 Dec 2012 22:17:43 GMT - Set-Cookie: - - B=bg0m1ld8csi47&b=3&s=t2; expires=Wed, 17-Dec-2014 22:17:43 GMT; path=/; domain=.yahoo.com - - sSN=daDG4uc2wWH.RzhAkmv_.m72SnRtggzlNclyZPsU..jyIH30y9Wq7qnavynjBXOSfv5FgyBE8dY_hH2fYqdS2w--; path=/; domain=.search.yahoo.com - Vary: + vary: - Accept-Encoding - Cache-Control: + cache-control: - private - Transfer-Encoding: + transfer-encoding: - chunked - P3P: - - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" body: string: | - site:please-dont-register-a-site-that-breaks-this-test.com - Yahoo! Search Results

Yahoo! Web Search

Yahoo! Web Search

0 results

We did not find results for: site:please-dont-register-a-site-that-breaks-this-test.com. Try the suggestions below or type a new query above.

Suggestions:

  • Check your spelling.
  • Try more general words.
  • Try different words that mean the same thing.
  • Try asking a question on Yahoo! Answers

Promotional Results For You

For more helpful tips on searching, visit the Yahoo! Search Help Center.

-
- + #yUnivHead {background: transparent;}

0 results

We did not find results for: site:please-dont-register-a-site-that-breaks-this-test.com. Try the suggestions below or type a new query above.

Suggestions:

  • Check your spelling.
  • Try more general words.
  • Try different words that mean the same thing.
  • Try asking a question on Yahoo! Answers

For more helpful tips on searching, visit the Yahoo! Search Help Center.

+
+ http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:10 GMT + recorded_at: Mon, 17 Dec 2012 17:03:50 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/failure_ranks.yml b/spec/fixtures/vcr_cassettes/failure_ranks.yml index a2631f9..60e54f4 100644 --- a/spec/fixtures/vcr_cassettes/failure_ranks.yml +++ b/spec/fixtures/vcr_cassettes/failure_ranks.yml @@ -2,22 +2,22 @@ http_interactions: - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "278" - Content-type: + content-type: - text/xml body: string: |- @@ -31,25 +31,25 @@ http_interactions: http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "278" - Content-type: + content-type: - text/xml body: string: |- @@ -63,45 +63,47 @@ http_interactions: http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT - request: method: get - uri: http://toolbarqueries.google.com/tbr + uri: http://toolbarqueries.google.com/tbr?features=Rank&q=info%3Aplease-dont-register-a-site-that-breaks-this-test.com&client=navclient-auto&ch=63624986523 body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: - - text/html; charset=ISO-8859-1 - Pragma: - - no-cache - Expires: + connection: + - close + x-xss-protection: + - 1; mode=block + content-length: + - "0" + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + expires: - Fri, 01 Jan 1990 00:00:00 GMT - Server: + pragma: + - no-cache + server: - gws - Date: - - Sun, 16 Dec 2012 22:17:38 GMT - X-Frame-Options: + set-cookie: + - PREF=ID=2e1388a52c6f0cc6:FF=0:TM=1355763825:LM=1355763825:S=9BA0IYGOrX8y23jT; expires=Wed, 17-Dec-2014 17:03:45 GMT; path=/; domain=.google.com + - NID=67=NMO-PBacn7BgKa0-CRV6Qop5XnR4sr1OJBFXv9CzqIdbWbfKnb7f2qIswPHnRWm7DRnhdxqD2eWpZBpCELo6-URGr_GcAHRti_PHmGlxV9R0DTOd5CvThB2wHOTmbRkp; expires=Tue, 18-Jun-2013 17:03:45 GMT; path=/; domain=.google.com; HttpOnly + date: + - Mon, 17 Dec 2012 17:03:45 GMT + x-frame-options: - SAMEORIGIN - Set-Cookie: - - PREF=ID=8431d11180013d30:FF=0:TM=1355696258:LM=1355696258:S=D59MpxUNRm-4fQVh; expires=Tue, 16-Dec-2014 22:17:38 GMT; path=/; domain=.google.com - - NID=67=SVjeTTlcH4pMmRpADLl3_Q48XWCZXrOQF_aXYIMjNR2G4CU2oLgsrfqeCuNePEqg1xcbwdXcZPQwsHoDG3dP00T2un-ipgyVBXp-hKvW7Pd9LWDiu-dD91Rt2lAwavYD; expires=Mon, 17-Jun-2013 22:17:38 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: + content-type: + - text/html; charset=ISO-8859-1 + cache-control: - no-cache, must-revalidate - Content-Length: - - "0" - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block body: string: "" http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT + recorded_at: Mon, 17 Dec 2012 17:03:45 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/success_backlinks.yml b/spec/fixtures/vcr_cassettes/success_backlinks.yml index cdac435..830f565 100644 --- a/spec/fixtures/vcr_cassettes/success_backlinks.yml +++ b/spec/fixtures/vcr_cassettes/success_backlinks.yml @@ -2,22 +2,22 @@ http_interactions: - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=www.google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "2426" - Content-type: + content-type: - text/xml body: string: "\r\n\ @@ -73,174 +73,55 @@ http_interactions: \n\ " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT + recorded_at: Mon, 17 Dec 2012 17:03:46 GMT - request: method: get - uri: http://www.google.com/search + uri: http://www.bing.com/search?q=inbody%3Awww.google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: - - text/html; charset=UTF-8 - Expires: - - "-1" - Server: - - gws - Date: - - Sun, 16 Dec 2012 22:17:39 GMT - X-Frame-Options: - - SAMEORIGIN - Set-Cookie: - - PREF=ID=153cbffcb236b24f:FF=0:TM=1355696259:LM=1355696259:S=XyKaeS_1aRJyVQ8M; expires=Tue, 16-Dec-2014 22:17:39 GMT; path=/; domain=.google.com - - NID=67=axh0CEztUxYC1Z09nd4ESA3RbLODuiM7Dt1UgCPUPXz_EybgocbNquk4zS-3-qQ0Ay5IYadsTKB6oW-3KYq1BIAANuZVhL7_WsgJRZxY6M8xmZjrAOa1H_7Ze80Tph7F; expires=Mon, 17-Jun-2013 22:17:39 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: - - private, max-age=0 - Transfer-Encoding: - - chunked - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block - body: - string: "link:www.google.com - Google Search
 
Google Instant is unavailable. Press Enter to search.Learn more
Google Instant is off due to connection speed. Press Enter to search.
Press Enter to search.
Screen reader users, click here to turn off Google Instant.
 
About 18,700 results (0.20 seconds) 

Search Results

  1. Extensible Markup Language (XML)

    www.w3.org/XML/Cached - Similar
    You +1'd this publicly. Undo
    Main page for World Wide Web Consortium (W3C) XML activity and information.
  2. [origo] blog

    www.origo.hu/.../20090325-hozzaszolas-moderala...Cached - Translate this page
    You +1'd this publicly. Undo
    2009. \xC3\xA1pr. 16. – A [origo] cikkeinek kommentel\xC3\xA9si lehet\xC5\x91s\xC3\xA9ge az az elektronikus kereskedelmi szolg\xC3\xA1ltat\xC3\xA1sok, valamint az inform\xC3\xA1ci\xC3\xB3s t\xC3\xA1rsadalommal ...
  3. Geophysical Fluid Dynamics Laboratory - Isaac Held's homepage

    www.gfdl.noaa.gov/isaac-held-homepageCached - Similar
    You +1'd this publicly. Undo
    Oct 26, 2012 – Research Interests: Atmospheric and oceanic fluid dynamics/geophysical turbulence; Climate dynamics/global warming ...
  4. Big Shiny Robot - Google Doodles: Bob Ross!

    www.bigshinyrobot.com/reviews/archives/45376Google Doodles: Bob Ross! Sunday, October 28th, 2012 at 10:08 pm Category: News, Top. Today's Google ...
  5. K\xC3\x89K-VONAL Gyermekkr\xC3\xADzis Alap\xC3\xADtv\xC3\xA1ny

    www.kek-vonal.hu/Cached - Similar - Translate this page
    You +1'd this publicly. Undo
    K\xC3\x89PZ\xC3\x89S INDUL \xC3\x96NK\xC3\x89NTES SEG\xC3\x8DT\xC5\x90KNEK. R\xC3\xA9szletek: Utols\xC3\xB3 friss\xC3\xADt\xC3\xA9s: 2012. december 04. kedd, 14:33. \xC3\x96nk\xC3\xA9nteseket v\xC3\xA1runk a K\xC3\xA9k Vonal Gyermekkr\xC3\xADzis ...
  6. \xD8\xA7\xD9\x84\xD9\x8A\xD9\x88\xD9\x85 - \xD8\xA7\xD9\x84\xD8\xB3\xD8\xB9\xD9\x88\xD8\xAF\xD9\x8A\xD8\xA9 - \xD9\x85\xD9\x86 \xD8\xB9\xD9\x84\xD9\x8A\xD8\xB4\xD8\xA9 \xD8\xA5\xD9\x84\xD9\x89 \xD8\xA8\xD9\x88\xD8\xB3\xD8\xB7\xD9\x86 .. !!

    You +1'd this publicly. Undo
    8 \xD8\xA2\xD8\xA8 (\xD8\xA3\xD8\xBA\xD8\xB3\xD8\xB7\xD8\xB3) 2012\xE2\x80\x8E – \xD8\xA7\xD9\x85\xD8\xAA\xD9\x84\xD8\xA3 \xD8\xA7\xD9\x84\xD8\xB9\xD8\xA7\xD9\x84\xD9\x85 \xD8\xA8\xD8\xA7\xD9\x84\xD8\xA3\xD8\xB3\xD8\xA6\xD9\x84\xD8\xA9\xD8\x8C \xD9\x88\xD8\xAA\xD9\x84\xD8\xA7\xD8\xB4\xD8\xAA \xD8\xA7\xD9\x84\xD8\xA3\xD8\xAC\xD9\x88\xD8\xA8\xD8\xA9 .. \xD9\x81\xD8\xA7\xD8\xAC\xD8\xAA\xD9\x85\xD8\xB9 \xD9\x83\xD9\x84 \xD9\x85\xD8\xAA\xD9\x81\xD8\xB1\xD9\x82 \xD9\x88\xD8\xAA\xD9\x81\xD8\xB1\xD9\x82 \xD9\x83\xD9\x84 \xD9\x85\xD8\xAC\xD8\xAA\xD9\x85\xD8\xB9 \xD9\x85\xD9\x86 \xD8\xA7\xD9\x84\xD8\xB9\xD9\x88\xD8\xA7\xD8\xB7\xD9\x81 .. \xD8\xAA\xD9\x84\xD9\x83 \xD8\xA7\xD9\x84\xD8\xA5\xD9\x86\xD8\xB3\xD8\xA7\xD9\x86\xD8\xA9 \xD8\xA7\xD9\x84\xD8\xAA\xD9\x8A \xD8\xB9\xD8\xA7\xD8\xB4\xD8\xAA \xD8\xAD\xD9\x8A\xD8\xA7\xD8\xAA\xD9\x87\xD8\xA7 \xD8\xA8\xD9\x8A\xD9\x86 \xD8\xA7\xD9\x84\xD8\xB7\xD9\x85\xD9\x88\xD8\xAD \xD9\x88\xD8\xA7\xD9\x84\xD8\xAA\xD9\x81\xD8\xA7\xD8\xA4\xD9\x84 \xD9\x88\xD8\xA7\xD9\x84\xD8\xB5\xD8\xA8\xD8\xB1 ...
  7. Insee - INSEE and official statistics

    www.insee.fr/en/insee-statistique-publique/default.aspCached - Similar
    You +1'd this publicly. Undo
    INSEE and official statistics. INSEE's status. France's National Institute of Statistics and Economic Studies (Institut National de la Statistique et des \xC3\x89tudes ...
  8. \xE5\xBE\x90\xE5\xAE\x97\xE6\x9C\xAC\xE5\x89\xAF\xE6\xA0\xA1\xE9\x95\xBF\xE7\x8E\x87\xE5\x9B\xA2\xE6\x88\x90\xE5\x8A\x9F\xE8\xAE\xBF\xE9\x97\xAE\xE6\xAC\xA7\xE6\xB4\xB2\xE5\x85\xAD\xE6\x89\x80\xE5\x90\x8D\xE6\xA0\xA1 - \xE8\xA5\xBF\xE5\xAE\x89\xE4\xBA\xA4\xE9\x80\x9A\xE5\xA4\xA7\xE5\xAD\xA6\xE5\xBB\xBA\xE8\xAE\xBE\xE9\xAB\x98\xE6\xB0\xB4\xE5\xB9\xB3 ...

    gs.xjtu.edu.cn:8080/.../common.jsp?path...jsp?...Cached - Translate this page
    You +1'd this publicly. Undo
    2008\xE5\xB9\xB45\xE6\x9C\x887\xE6\x97\xA5 – \xE4\xB8\xBA\xE8\xBF\x9B\xE4\xB8\x80\xE6\xAD\xA5\xE6\x8E\xA8\xE5\x8A\xA8\xE6\x88\x91\xE6\xA0\xA1\xE5\x9B\xBD\xE9\x99\x85\xE5\x8C\x96\xE8\xBF\x9B\xE7\xA8\x8B\xE3\x80\x81\xE6\x8F\x90\xE5\x8D\x87\xE6\x88\x91\xE6\xA0\xA1\xE5\x9B\xBD\xE9\x99\x85\xE5\x8C\x96\xE6\xB0\xB4\xE5\xB9\xB3\xE3\x80\x81\xE5\x85\xA8\xE9\x9D\xA2\xE8\x90\xBD\xE5\xAE\x9E\xE2\x80\x9C1\xE5\xAF\xB91\xE2\x80\x9D\xE8\xAE\xA1\xE5\x88\x92\xEF\xBC\x8C2008\xE5\xB9\xB44\xE6\x9C\x8823\xE6\x97\xA5\xE8\x87\xB330\xE6\x97\xA5\xEF\xBC\x8C\xE6\x88\x91\xE6\xA0\xA1\xE5\x89\xAF\xE6\xA0\xA1\xE9\x95\xBF\xE5\xBE\x90\xE5\xAE\x97\xE6\x9C\xAC\xE6\x95\x99\xE6\x8E\x88\xE7\x8E\x87\xE9\xA2\x86\xE6\x88\x91\xE6\xA0\xA1\xE4\xBB\xA3\xE8\xA1\xA8\xE5\x9B\xA2\xE4\xB8\x80\xE8\xA1\x8C\xE5\x85\xAD ...
  9. The Hindu Business Line : Saturday, July 30, 2005

    www.thehindubusinessline.in/canvas/index.htmCached
    You +1'd this publicly. Undo
    Jul 30, 2005 – The Hindu · Business Line · The Sportstar · Frontline · The Hindu eBooks · The Hindu Images. CANVAS. SPENDING ...
  10. Getting this web site on a CD

    www.religioustolerance.org/toc.htmCached - Similar
    You +1'd this publicly. Undo
    Jun 22, 2012 – purchase a CD containing the contents of the ReligiousTolerance.org web site.
You +1'd this publicly.
You
\"\"

  

Google Home\xE2\x80\x8EAdvertising Programs\xE2\x80\x8EBusiness Solutions\xE2\x80\x8EPrivacy & Terms\xE2\x80\x8EAbout Google\xE2\x80\x8E
" - http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT -- request: - method: get - uri: http://www.bing.com/search - body: - string: "" - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: - code: 200 - message: OK - headers: - Connection: - - keep-alive + connection: + - close - Transfer-Encoding - Content-Type: - - text/html; charset=utf-8 - Pragma: - - no-cache - Expires: + p3p: + - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + expires: - "-1" - Date: - - Sun, 16 Dec 2012 22:17:39 GMT - Set-Cookie: + pragma: + - no-cache + set-cookie: - _FS=NU=1; domain=.bing.com; path=/ - - _SS=SID=4995D807D8774A7A80A5C1B9024C641B&C=20.0; domain=.bing.com; path=/ - - DUP=Q=PiggcyYz8UcraH0nRfIq&T=156550659&IG=73bc4db0848b496cabd347cc581965d6&V=1&A=2; domain=.bing.com; path=/ - - MUID=2FDACD5710D1675F00AEC96F11C0679A; expires=Tue, 16-Dec-2014 22:17:39 GMT; domain=.bing.com; path=/ - - MUIDB=2FDACD5710D1675F00AEC96F11C0679A; expires=Tue, 16-Dec-2014 22:17:39 GMT; path=/ - - OrigMUID=2FDACD5710D1675F00AEC96F11C0679A%2c73bc4db0848b496cabd347cc581965d6; expires=Tue, 16-Dec-2014 22:17:39 GMT; domain=.bing.com; path=/ - - SRCHD=D=2609177&MS=2609177&AF=NOFORM; expires=Tue, 16-Dec-2014 22:17:39 GMT; domain=.bing.com; path=/ - - SRCHUID=V=2&GUID=3D6DBFC794EC4E7B87DD82FEF461132B; expires=Tue, 16-Dec-2014 22:17:39 GMT; path=/ - - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121216; expires=Tue, 16-Dec-2014 22:17:39 GMT; domain=.bing.com; path=/ - Cache-Control: - - no-cache, no-store, must-revalidate - Transfer-Encoding: + - _SS=SID=060A3357EE934F5386326523C790DCA0&C=20.0; domain=.bing.com; path=/ + - DUP=Q=PiggcyYz8UcraH0nRfIq&T=156618226&IG=6cb0b2cd2b75497a832d64a681cbb838&V=1&A=2; domain=.bing.com; path=/ + - MUID=3958C4A390F3606324E9C09A91E26038; expires=Wed, 17-Dec-2014 17:03:46 GMT; domain=.bing.com; path=/ + - MUIDB=3958C4A390F3606324E9C09A91E26038; expires=Wed, 17-Dec-2014 17:03:46 GMT; path=/ + - OrigMUID=3958C4A390F3606324E9C09A91E26038%2c6cb0b2cd2b75497a832d64a681cbb838; expires=Wed, 17-Dec-2014 17:03:46 GMT; domain=.bing.com; path=/ + - SRCHD=D=2610303&MS=2610303&AF=NOFORM; expires=Wed, 17-Dec-2014 17:03:46 GMT; domain=.bing.com; path=/ + - SRCHUID=V=2&GUID=4516BF69CFE24723BA239E934D87B7AC; expires=Wed, 17-Dec-2014 17:03:46 GMT; path=/ + - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121217; expires=Wed, 17-Dec-2014 17:03:46 GMT; domain=.bing.com; path=/ + date: + - Mon, 17 Dec 2012 17:03:46 GMT + content-type: + - text/html; charset=utf-8 + transfer-encoding: - chunked - P3P: - - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + cache-control: + - no-cache, no-store, must-revalidate body: string: "inbody:www.google.com - Binginbody:www.google.com - Bing
2,620,000 results
  • www.handspeak.com

    Try an updated browser or another browser such as most recommended Google Chrome available for download at www.google.com/chrome/. Equivalent to English: night.

  • jcc.blackboard.com

    ... //www.google.com/chrome. Find Jobs and Internships Now using Blackboard (Thursday, July 19, 2012) We have added a new resource on Blackboard called \xE2\x80\xA6

  • www.consumersearch.com

    ... including how to opt out, go to www.google.com/ads/preferences. By clicking on Sponsored Links you will leave ConsumerSearch.com. The ...

  • www.email.vccs.edu

    If you would like to use the Google Talk client to make voice calls or transfer files, you can download it at http://www.google.com/talk/

  • Pagination

    " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:05 GMT + recorded_at: Mon, 17 Dec 2012 17:03:46 GMT +- request: + method: get + uri: http://www.google.com/search?q=link%3Awww.google.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 302 + message: Found + headers: + connection: + - close + location: + - http://www.google.com/sorry/?continue=http://www.google.com/search%3Fq%3Dlink%253Awww.google.com + content-length: + - "293" + server: + - GFE/2.0 + date: + - Mon, 17 Dec 2012 17:03:46 GMT + content-type: + - text/html; charset=UTF-8 + cache-control: + - private + body: + string: | + + 302 Moved +

    302 Moved

    + The document has moved + here. + + + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:46 GMT - request: method: get - uri: http://search.yahoo.com/search + uri: http://search.yahoo.com/search?p=inbody%3Awww.google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: + connection: + - close + p3p: + - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" + set-cookie: + - B=6u403qh8cuk3i&b=3&s=35; expires=Thu, 18-Dec-2014 17:03:46 GMT; path=/; domain=.yahoo.com + - sSN=TLMeRrE2wWGhoQDtgyskbJMRs6vEIHcl44uU55exHWD6GLqIHcTzF2kpd2ZGQZ81zdV6wTPbUfzdS_cAbDdsow--; path=/; domain=.search.yahoo.com + date: + - Mon, 17 Dec 2012 17:03:46 GMT + content-type: - text/html; charset=UTF-8 - Date: - - Sun, 16 Dec 2012 22:17:39 GMT - Set-Cookie: - - B=a7vlmf58csi43&b=3&s=tb; expires=Wed, 17-Dec-2014 22:17:39 GMT; path=/; domain=.yahoo.com - - sSN=lpWlGOw2wWGWGaOv5Io.YfN6LW_c5B0LPBM0ACKYZ9M1bzfrJv6f8p8EIX5DmsO3T9mLZcl4lIUkbo5oAg28Ig--; path=/; domain=.search.yahoo.com - Vary: + vary: - Accept-Encoding - Cache-Control: + cache-control: - private - Transfer-Encoding: + transfer-encoding: - chunked - P3P: - - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" body: - string: "inbody:www.google.com - Yahoo! Search Results

    Yahoo! Web Search

    Yahoo! Web Search

    2,570,000 results

    Search results

    1. http://www.google.com/calendar/feeds/anderson.edu_bmn25d2sc3me3b3mqftrn2f47s%40group.calendar.google.com/private-0658454bf8e2760d87adf399fa83b7ab/basic
      www.anderson.edu - Cached
    2. We are a car company with a passion for delivering what people want and are dedicated to the fun-loving and creative side in all of us.
      www.scion.com - Cached
    3. Try an updated browser or another browser such as most recommended Google Chrome available for download at www.google.com/chrome/. Equivalent to English: step by step.
      www.handspeak.com - Cached
    4. Google Chrome may be downloaded at http://www.google.com/chrome, ...
      www.resales.usda.gov - Cached
    5. See how the world searched with Google's 2012 Zeitgeist: http:// www.google.com/zeitgeist Music: "All I Want" by Kodaline Video production by Whirled Creative
      www.youtube.com/watch?v=xY_MUB8adEQ - Cached
      More results from youtube.com »
    6. ... including how to opt out, go to www.google.com/ads/preferences. By clicking on Sponsored Links you will leave ConsumerSearch.com. The ...
      www.consumersearch.com - Cached
    7. ... //www.google.com/chrome. Find Jobs and Internships Now using Blackboard (Thursday, July 19, 2012) We have added a new resource on Blackboard called Internships.
      jcc.blackboard.com - Cached
    8. ... including how to opt out, go to www.google.com/ads/preferences. By clicking on Sponsored Links you will leave ConsumerSearch.com. The ...
      www.consumersearch.com/home-and-garden - Cached
    9. If you would like to use the Google Talk client to make voice calls or transfer files, you can download it at http://www.google.com/talk/
      www.email.vccs.edu
    10. For more information see: http://www.google.com/support/forum/p/AdSense/thread?tid=3587e2900f968389&hl=en and http://en.wikipedia.org/wiki/AdSense. Home Canning Kits ...
      www.pickyourown.org/index.htm - Cached

    Promotional Results For You

    More search results

    1 2 3 4 5 6 7 8 9 10 Next >
    \n\ -
    \n\ - \n" + #yUnivHead {background: transparent;}

    2,670,000 results

    Search results

    1. http://www.google.com/calendar/feeds/anderson.edu_bmn25d2sc3me3b3mqftrn2f47s%40group.calendar.google.com/private-0658454bf8e2760d87adf399fa83b7ab/basic
      www.anderson.edu - Cached
    2. We are a car company with a passion for delivering what people want and are dedicated to the fun-loving and creative side in all of us.
      www.scion.com - Cached
    3. Google Chrome may be downloaded at http://www.google.com/chrome, ...
      www.resales.usda.gov - Cached
    4. See how the world searched with Google's 2012 Zeitgeist: http:// www.google.com/zeitgeist Music: "All I Want" by Kodaline Video production by Whirled Creative
      www.youtube.com/watch?v=xY_MUB8adEQ - Cached
      More results from youtube.com »
    5. Try an updated browser or another browser such as most recommended Google Chrome available for download at www.google.com/chrome/. Equivalent to English: night.
      www.handspeak.com - Cached
    6. ... //www.google.com/chrome. Find Jobs and Internships Now using Blackboard (Thursday, July 19, 2012) We have added a new resource on Blackboard called Internships.
      jcc.blackboard.com - Cached
    7. ... including how to opt out, go to www.google.com/ads/preferences. By clicking on Sponsored Links you will leave ConsumerSearch.com. The ...
      www.consumersearch.com - Cached
    8. If you would like to use the Google Talk client to make voice calls or transfer files, you can download it at http://www.google.com/talk/
      www.email.vccs.edu
    9. ... including how to opt out, go to www.google.com/ads/preferences. By clicking on Sponsored Links you will leave ConsumerSearch.com. The ...
      www.consumersearch.com/home-and-garden - Cached
    10. Market charts provided by www.google.com/finance. TRIAD SECURITIES CORP. 111 Broadway, Suite 1125 New York, NY 10006. Registered with the S.E.C. Member of FINRA
      www.triadsecurities.com - Cached

    More search results

    1 2 3 4 5 6 7 8 9 10 Next >
    \n\ +
    \n\ + \n" + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:46 GMT +- request: + method: get + uri: http://www.google.com/sorry/?continue=http://www.google.com/search%3Fq%3Dlink%253Awww.google.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 503 + message: Service Unavailable + headers: + connection: + - close + x-xss-protection: + - 1; mode=block + content-length: + - "2650" + expires: + - Fri, 01 Jan 1990 00:00:00 GMT + pragma: + - no-cache + server: + - HTTP server (unknown) + date: + - Mon, 17 Dec 2012 17:03:46 GMT + x-frame-options: + - SAMEORIGIN + content-type: + - text/html + cache-control: + - no-cache, must-revalidate + body: + string: | + + + http://www.google.com/search?q=link%3Awww.google.com + +
    +

    + + To continue, please type the characters below:

    + Please enable images




    +
    + +
    + About this page

    Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot. Why did this happen?

    + + + + + + IP address: 98.216.9.40
    Time: 2012-12-17T17:03:46Z
    URL: http://www.google.com/search?q=link%3Awww.google.com
    +
    +
    + + + http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:06 GMT + recorded_at: Mon, 17 Dec 2012 17:03:46 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/success_indexes.yml b/spec/fixtures/vcr_cassettes/success_indexes.yml index 9d62c96..ef13935 100644 --- a/spec/fixtures/vcr_cassettes/success_indexes.yml +++ b/spec/fixtures/vcr_cassettes/success_indexes.yml @@ -2,54 +2,122 @@ http_interactions: - request: method: get - uri: http://www.google.com/search + uri: http://www.bing.com/search?q=site%3Awww.google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: - - text/html; charset=UTF-8 - Expires: + connection: + - close + - Transfer-Encoding + p3p: + - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" + expires: - "-1" - Server: + pragma: + - no-cache + set-cookie: + - _FS=NU=1; domain=.bing.com; path=/ + - _SS=SID=97D012D5B8374393B2B9A1F92690F802&C=20.0; domain=.bing.com; path=/ + - DUP=Q=0rQzDbcHfT8EHaih456C&T=156618228&IG=23628534142b4ea5884d28daf9a3c9f7&V=1&A=2; domain=.bing.com; path=/ + - MUID=3CD3B0C99C776B9C0E0BB4F09D666B67; expires=Wed, 17-Dec-2014 17:03:48 GMT; domain=.bing.com; path=/ + - MUIDB=3CD3B0C99C776B9C0E0BB4F09D666B67; expires=Wed, 17-Dec-2014 17:03:48 GMT; path=/ + - OrigMUID=3CD3B0C99C776B9C0E0BB4F09D666B67%2c23628534142b4ea5884d28daf9a3c9f7; expires=Wed, 17-Dec-2014 17:03:48 GMT; domain=.bing.com; path=/ + - SRCHD=D=2610303&MS=2610303&AF=NOFORM; expires=Wed, 17-Dec-2014 17:03:48 GMT; domain=.bing.com; path=/ + - SRCHUID=V=2&GUID=E67AD67105E14A80AB6E4D49974E4F6D; expires=Wed, 17-Dec-2014 17:03:48 GMT; path=/ + - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121217; expires=Wed, 17-Dec-2014 17:03:48 GMT; domain=.bing.com; path=/ + date: + - Mon, 17 Dec 2012 17:03:48 GMT + content-type: + - text/html; charset=utf-8 + transfer-encoding: + - chunked + cache-control: + - no-cache, no-store, must-revalidate + body: + string: "site:www.google.com - Bing
    2,020,000 results
    Control how you appear in Bing results.
    Get started
    • www.google.com

      Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

    • www.google.com/ig?hl=en

      iGoogle is your personalized Google page. Add news, photos, weather, and stuff from across the web to your page.

    • www.google.com/appsstatus

      Google Apps Status Dashboard enables users and businesses to monitor the status of individual Google Apps services. Users of Google Apps can now view the status of ...

    • www.google.com/transit

      Use Google Maps to. Get step-by-step transit directions Find transit stops in your area; View station information and schedules; Join the transit partner program

    • www.google.com/imghp

      Google Images. The most comprehensive image search on the web.

    • www.google.com/finance?hl=en&tab=we

      Get real-time stock quotes & charts, financial news, currency conversions, or track your portfolio with Google Finance.

    • www.google.com/chrome

      Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

    • www.google.com:0/analytics

      Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.

    Pagination

    " + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:49 GMT +- request: + method: get + uri: http://www.google.com/search?q=site%3Awww.google.com + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + connection: + - close + x-xss-protection: + - 1; mode=block + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + expires: + - "-1" + server: - gws - Date: - - Sun, 16 Dec 2012 22:17:42 GMT - X-Frame-Options: + set-cookie: + - PREF=ID=e918a003302e9388:FF=0:TM=1355763828:LM=1355763828:S=wu9XLryASSda95g0; expires=Wed, 17-Dec-2014 17:03:48 GMT; path=/; domain=.google.com + - NID=67=E639QfedDkaj0GILHeQiS9yFZwY011bZ8svxRMaEWm-ZQGIYe8foFt2H8DeURqpkL_KyRNQEkatO_osITKxRfnGVoInSenUktqhpYTzhqRYxYCmEhv_UsI1GsRi356eg; expires=Tue, 18-Jun-2013 17:03:48 GMT; path=/; domain=.google.com; HttpOnly + date: + - Mon, 17 Dec 2012 17:03:48 GMT + x-frame-options: - SAMEORIGIN - Set-Cookie: - - PREF=ID=8f34b6968744a294:FF=0:TM=1355696262:LM=1355696262:S=EzIoCOjrHREGR-ns; expires=Tue, 16-Dec-2014 22:17:42 GMT; path=/; domain=.google.com - - NID=67=T2g_C9daOYmpt7aN1PXYQsyfLRuEfFuMn8jxeDNlaJym19onU86HUV6yuIZ6fFecYc4cF11BqpFYFO1nPAnKP3WolPpA4KL1VAxkSoa5oeTodh8sK6xLGJqqyV0GdehC; expires=Mon, 17-Jun-2013 22:17:42 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: + content-type: + - text/html; charset=UTF-8 + cache-control: - private, max-age=0 - Transfer-Encoding: - - chunked - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block body: string: "site:www.google.com - Google Search
     
    Google Instant is unavailable. Press Enter to search.Learn more
    Google Instant is off due to connection speed. Press Enter to search.
    Press Enter to search.
    Screen reader users, click here to turn off Google Instant.
    Google Instant is unavailable. Press Enter to search.Learn more
    Google Instant is off due to connection speed. Press Enter to search.
    Press Enter to search.
    Screen reader users, click here to turn off Google Instant.
     
    About 28,300,000 results (0.09 seconds) 

    Search Results

    1. Google

      https://www.google.com/Cached
      You +1'd this publicly. Undo
      Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking ...
      319 people in Boston, MA +1'd this
    2. Google Politics & Elections

      www.google.com/elections/Cached
      You +1'd this publicly. Undo
      Google Politics & Elections. Your elections hub to study, watch, discuss, participate in and make your impact on the digital campaign trail.
    3. Google Finance: Stock market quotes, news, currency conversions ...

      www.google.com/financeCached - Similar
      You +1'd this publicly. Undo
      U.S. consumer prices fell in November for the first time in six months, pointing to muted inflation pressures that should allow the Federal Reserve to stay on its ...
    4. Google Map Maker

      www.google.com/mapmakerCached - Similar
      You +1'd this publicly. Undo
      Add to and update the map with Google Map Maker, and see your edits in Google Maps. Start mapping the places you know.
    5. Think with Google

      www.google.com/thinkCached
      You +1'd this publicly. Undo
      Forward thinking and rooted in data, Think Insights offers you a one-stop shop for consumer trends, marketing insights and industry research.
    6. Make Google your homepage \xE2\x80\x93 Google

      www.google.com/homepage/Cached
      You +1'd this publicly. Undo
      Get instant access to search and more every time you open your browser by setting your homepage to Google.
    7. Google Shopping

      www.google.com/prdhpCached - Similar
      You +1'd this publicly. Undo
      Google Shopping helps shoppers find and buy products across online and brick and mortar retailers.

      Get more results from the past 24 hours

    8. Google Trends

      www.google.com/trends/Cached
      You +1'd this publicly. Undo
      Explore Google Search trends with Google Trends.
    9. Google Analytics Official Website - Web Analytics & Reporting ...

      www.google.com/analytics/Cached - Similar
      You +1'd this publicly. Undo
      Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.
    10. Google Shopping

      www.google.com/productsCached - Similar
      You +1'd this publicly. Undo
      Google Shopping helps shoppers find and buy products across online and brick and mortar retailers.

      Get more results from the past 24 hours

    You +1'd this publicly.
    You
    \"\"

      

    Google Home\xE2\x80\x8EAdvertising Programs\xE2\x80\x8EBusiness Solutions\xE2\x80\x8EPrivacy & Terms\xE2\x80\x8EAbout Google\xE2\x80\x8E
     
    About 27,900,000 results (0.10 seconds) 

    Search Results

    1. Google

      https://www.google.com/Cached
      You +1'd this publicly. Undo
      Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking ...
      319 people in Boston, MA +1'd this
    2. Google Politics & Elections

      www.google.com/elections/Cached
      You +1'd this publicly. Undo
      Google Politics & Elections. Your elections hub to study, watch, discuss, participate in and make your impact on the digital campaign trail.
    3. Google Finance: Stock market quotes, news, currency conversions ...

      www.google.com/financeCached - Similar
      You +1'd this publicly. Undo
      China said it will seek a higher \xE2\x80\x9Cquality and efficiency\xE2\x80\x9D of growth next year, signaling new leaders may accept a reduced pace of expansion in exchange for a ...
    4. Google Shopping

      www.google.com/prdhpCached - Similar
      You +1'd this publicly. Undo
      Google Shopping helps shoppers find and buy products across online and brick and mortar retailers.

      Get more results from the past 24 hours

    5. Google Trends

      www.google.com/trends/Cached
      You +1'd this publicly. Undo
      Explore Google Search trends with Google Trends.

      Get more results from the past 24 hours

    6. Google Shopping

      www.google.com/productsCached - Similar
      You +1'd this publicly. Undo
      Google Shopping helps shoppers find and buy products across online and brick and mortar retailers.

      Get more results from the past 24 hours

    7. Google Analytics Official Website - Web Analytics & Reporting ...

      www.google.com/analytics/Cached - Similar
      You +1'd this publicly. Undo
      Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.
    8. Business Solutions \xE2\x80\x93 Google

      www.google.com/services/Cached - Similar
      You +1'd this publicly. Undo
      Learn about Google products that can help your business grow.
    9. Google Ads

      www.google.com/ads/Cached
      You +1'd this publicly. Undo
      Learn about advertising on Google and how to make money from your site.
    10. Google Chat - Chat with family and friends

      www.google.com/talk/Cached - Similar
      You +1'd this publicly. Undo
      Chat with friends and family on the internet using Google Chat.
    You +1'd this publicly.
    You
    \"\"

      

    Google Home\xE2\x80\x8E Advertising Programs\xE2\x80\x8E Business Solutions\xE2\x80\x8E Privacy & Terms\xE2\x80\x8E About Google\xE2\x80\x8E
    " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:08 GMT -- request: - method: get - uri: http://www.bing.com/search - body: - string: "" - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: - code: 200 - message: OK - headers: - Connection: - - keep-alive - - Transfer-Encoding - Content-Type: - - text/html; charset=utf-8 - Pragma: - - no-cache - Expires: - - "-1" - Date: - - Sun, 16 Dec 2012 22:17:42 GMT - Set-Cookie: - - _FS=NU=1; domain=.bing.com; path=/ - - _SS=SID=EEFFA6F611DB4369AC9720F24C0FCC92&C=20.0; domain=.bing.com; path=/ - - DUP=Q=0rQzDbcHfT8EHaih456C&T=156550662&IG=ab79451dcd174d798ec14738f5327c44&V=1&A=2; domain=.bing.com; path=/ - - MUID=1646D9C2EB1164ED266FDDFAEA006406; expires=Tue, 16-Dec-2014 22:17:42 GMT; domain=.bing.com; path=/ - - MUIDB=1646D9C2EB1164ED266FDDFAEA006406; expires=Tue, 16-Dec-2014 22:17:42 GMT; path=/ - - OrigMUID=1646D9C2EB1164ED266FDDFAEA006406%2cab79451dcd174d798ec14738f5327c44; expires=Tue, 16-Dec-2014 22:17:42 GMT; domain=.bing.com; path=/ - - SRCHD=D=2609177&MS=2609177&AF=NOFORM; expires=Tue, 16-Dec-2014 22:17:42 GMT; domain=.bing.com; path=/ - - SRCHUID=V=2&GUID=04FB1E3CC8C5493B8544520660712C17; expires=Tue, 16-Dec-2014 22:17:42 GMT; path=/ - - SRCHUSR=AUTOREDIR=0&GEOVAR=&DOB=20121216; expires=Tue, 16-Dec-2014 22:17:42 GMT; domain=.bing.com; path=/ - Cache-Control: - - no-cache, no-store, must-revalidate - Transfer-Encoding: - - chunked - P3P: - - CP="NON UNI COM NAV STA LOC CURa DEVa PSAa PSDa OUR IND" - body: - string: "site:www.google.com - Bing
    2,010,000 results
    • www.google.com

      Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

    • www.google.com/ig?hl=en

      iGoogle is your personalized Google page. Add news, photos, weather, and stuff from across the web to your page.

    • www.google.com/imghp

      Google Images. The most comprehensive image search on the web.

    • www.google.com/finance?hl=en&tab=we

      Get real-time stock quotes & charts, financial news, currency conversions, or track your portfolio with Google Finance.

    • www.google.com:0/analytics

      Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.

    • www.google.com/transit

      Use Google Maps to. Get step-by-step transit directions Find transit stops in your area; View station information and schedules; Join the transit partner program

    • www.google.com/chrome

      Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.

    • www.google.com/advanced_search

      Put a minus sign just before words you don't want: -rodent, -"Jack Russell"

    Pagination

    " - http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:08 GMT + recorded_at: Mon, 17 Dec 2012 17:03:49 GMT - request: method: get - uri: http://search.yahoo.com/search + uri: http://search.yahoo.com/search?p=site%3Awww.google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: + connection: + - close + p3p: + - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" + set-cookie: + - B=cdn9a4h8cuk3k&b=3&s=hd; expires=Thu, 18-Dec-2014 17:03:48 GMT; path=/; domain=.yahoo.com + - sSN=Zwc6vlc2wWGovIStBvoTSMZ4yOtWO33V19pi0o8gheQJewDCIw7vhLt7BABEb_9KFYNqFY.mjroznzDqMyCQ0w--; path=/; domain=.search.yahoo.com + date: + - Mon, 17 Dec 2012 17:03:48 GMT + content-type: - text/html; charset=UTF-8 - Date: - - Sun, 16 Dec 2012 22:17:42 GMT - Set-Cookie: - - B=9e1fk5l8csi46&b=3&s=97; expires=Wed, 17-Dec-2014 22:17:42 GMT; path=/; domain=.yahoo.com - - sSN=7iwhgGM2wWHPar92lGsCNyCde5bPZm1UNKEsMwituHYNZtSQWW_k28yRvcPCCftVzc2Hy927u.2_qVJS4Ih7LQ--; path=/; domain=.search.yahoo.com - Vary: + vary: - Accept-Encoding - Cache-Control: + cache-control: - private - Transfer-Encoding: + transfer-encoding: - chunked - P3P: - - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV" body: string: | - site:www.google.com - Yahoo! Search Results

    Yahoo! Web Search

    Yahoo! Web Search

    2,030,000 results

    Ad related to site:www.google.com

    Search results

    1. Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
      www.google.com - Cached
    2. iGoogle is your personalized Google page. Add news, photos, weather, and stuff from across the web to your page.
      www.google.com/ig?hl=en - Cached
    3. Google Images. The most comprehensive image search on the web.
      www.google.com/imghp - Cached
    4. Get real-time stock quotes & charts, financial news, currency conversions, or track your portfolio with Google Finance.
      www.google.com/finance?hl=en&tab=we - Cached
    5. Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.
      www.google.com:0/analytics - Cached
    6. Use Google Maps to. Get step-by-step transit directions Find transit stops in your area; View station information and schedules; Join the transit partner program
      www.google.com/transit - Cached
    7. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
      www.google.com/chrome - Cached
    8. Put a minus sign just before words you don't want: -rodent, -"Jack Russell"
      www.google.com/advanced_search - Cached
    9. You're not on the latest version of Firefox. Upgrade today to get the best of the Web!
      www.google.com/firefox?client=firefox-a&rls=org.mozilla:... - Cached
    10. Official page of the software. Provides tutorial for beginners and link to download.
      www.google.com:0/talk - Cached

    Ad

    More search results

    1 2 3 4 5 6 7 8 9 10 Next >
    -
    - + #yUnivHead {background: transparent;}

    2,000,000 results

    Ad related to site:www.google.com

    Search results

    1. Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
      www.google.com - Cached
    2. iGoogle is your personalized Google page. Add news, photos, weather, and stuff from across the web to your page.
      www.google.com/ig?hl=en - Cached
    3. Use Google Maps to. Get step-by-step transit directions Find transit stops in your area; View station information and schedules; Join the transit partner program
      www.google.com/transit - Cached
    4. Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.
      www.google.com:0/analytics - Cached
    5. Get real-time stock quotes & charts, financial news, currency conversions, or track your portfolio with Google Finance.
      www.google.com/finance?hl=en&tab=we - Cached
    6. Google Images. The most comprehensive image search on the web.
      www.google.com/imghp - Cached
    7. Put a minus sign just before words you don't want: -rodent, -"Jack Russell"
      www.google.com/advanced_search - Cached
    8. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
      www.google.com/chrome - Cached
    9. Official page of the software. Provides tutorial for beginners and link to download.
      www.google.com:0/talk - Cached
    10. Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can ...
      www.google.com/earth/index.html - Cached

    Ad

    More search results

    1 2 3 4 5 6 7 8 9 10 Next >
    +
    + http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:09 GMT + recorded_at: Mon, 17 Dec 2012 17:03:49 GMT recorded_with: VCR 2.3.0 diff --git a/spec/fixtures/vcr_cassettes/success_ranks.yml b/spec/fixtures/vcr_cassettes/success_ranks.yml index da744b2..8659c10 100644 --- a/spec/fixtures/vcr_cassettes/success_ranks.yml +++ b/spec/fixtures/vcr_cassettes/success_ranks.yml @@ -2,64 +2,22 @@ http_interactions: - request: method: get - uri: http://toolbarqueries.google.com/tbr + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Content-Type: - - text/html; charset=ISO-8859-1 - Pragma: - - no-cache - Expires: - - Fri, 01 Jan 1990 00:00:00 GMT - Server: - - gws - Date: - - Sun, 16 Dec 2012 22:17:38 GMT - X-Frame-Options: - - SAMEORIGIN - Set-Cookie: - - PREF=ID=52bf8e1aa50f5cea:FF=0:TM=1355696258:LM=1355696258:S=4t1tQ8tlDzAkuWjv; expires=Tue, 16-Dec-2014 22:17:38 GMT; path=/; domain=.google.com - - NID=67=C7wWxrygJwC-v2LAa16k_7WjxwFO6Gl83dnf1B3Asmo4JtcFdwC5GUZcMAMqUw0aUFOuax9ueRnTTIcmH1ZN0_9wsGVb8Yrf6TMYqvs30CQwdJQ1IYEz2ZsWnlZjLEBk; expires=Mon, 17-Jun-2013 22:17:38 GMT; path=/; domain=.google.com; HttpOnly - Cache-Control: - - no-cache, must-revalidate - Transfer-Encoding: - - chunked - P3P: - - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." - X-XSS-Protection: - - 1; mode=block - body: - string: | - Rank_1:1:9 - - http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:04 GMT -- request: - method: get - uri: http://data.alexa.com/data - body: - string: "" - headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 - response: - status: - code: 200 - message: OK - headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "2426" - Content-type: + content-type: - text/xml body: string: "\r\n\ @@ -115,25 +73,25 @@ http_interactions: \n\ " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:04 GMT + recorded_at: Mon, 17 Dec 2012 17:03:44 GMT - request: method: get - uri: http://data.alexa.com/data + uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=google.com body: string: "" headers: - User-Agent: - - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.12 Safari/535.11 + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 response: status: code: 200 message: OK headers: - Connection: - - keep-alive - Content-Length: + connection: + - Close + content-length: - "2426" - Content-type: + content-type: - text/xml body: string: "\r\n\ @@ -189,5 +147,47 @@ http_interactions: \n\ " http_version: "1.1" - recorded_at: Sun, 16 Dec 2012 22:18:04 GMT + recorded_at: Mon, 17 Dec 2012 17:03:44 GMT +- request: + method: get + uri: http://toolbarqueries.google.com/tbr?features=Rank&q=info%3Awww.google.com&client=navclient-auto&ch=6340563836 + body: + string: "" + headers: + user-agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5 + response: + status: + code: 200 + message: OK + headers: + connection: + - close + x-xss-protection: + - 1; mode=block + p3p: + - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info." + expires: + - Fri, 01 Jan 1990 00:00:00 GMT + pragma: + - no-cache + server: + - gws + set-cookie: + - PREF=ID=e5ebc2a241cc4828:FF=0:TM=1355763824:LM=1355763824:S=gyK02HOD4wBpMsL5; expires=Wed, 17-Dec-2014 17:03:44 GMT; path=/; domain=.google.com + - NID=67=I3MvOn--B_AsloJ7hfARn2dslVpi6ml2io1CULncPJX4rNe8ESnCePmHFeQEsO5uH3CAcPkGXTNzkWT88a53fckMOGi3tns0a-tXb07zPIPIHE7H8OHruy3c_FMfqRJB; expires=Tue, 18-Jun-2013 17:03:44 GMT; path=/; domain=.google.com; HttpOnly + date: + - Mon, 17 Dec 2012 17:03:44 GMT + x-frame-options: + - SAMEORIGIN + content-type: + - text/html; charset=ISO-8859-1 + cache-control: + - no-cache, must-revalidate + body: + string: | + Rank_1:1:9 + + http_version: "1.1" + recorded_at: Mon, 17 Dec 2012 17:03:44 GMT recorded_with: VCR 2.3.0 diff --git a/spec/proxy_services/random_spec.rb b/spec/proxy_services/random_spec.rb index 91c6455..1a1330b 100644 --- a/spec/proxy_services/random_spec.rb +++ b/spec/proxy_services/random_spec.rb @@ -15,7 +15,7 @@ it "should return a proxy from the list of proxies" do 10.times do - proxies.should include(subject.proxy(name, site)) + proxies.should include(subject.proxy(name, site).to_s) end end end \ No newline at end of file diff --git a/spec/proxy_services/round_robin_spec.rb b/spec/proxy_services/round_robin_spec.rb index d352eb8..5327df3 100644 --- a/spec/proxy_services/round_robin_spec.rb +++ b/spec/proxy_services/round_robin_spec.rb @@ -14,17 +14,17 @@ it{should respond_to(:proxy).with(2).arguments} it "should return the first proxy on the first call" do - subject.proxy(name, site).should == proxies.first + subject.proxy(name, site).to_s.should == proxies.first end it "should return the second proxy on the second call" do subject.proxy(name, site) - subject.proxy(name, site).should == proxies.last + subject.proxy(name, site).to_s.should == proxies.last end it "should return the first proxy on the third call" do subject.proxy(name, site) subject.proxy(name, site) - subject.proxy(name, site).should == proxies.first + subject.proxy(name, site).to_s.should == proxies.first end end \ No newline at end of file diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 98fd534..1feb3fd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,7 +5,7 @@ VCR.configure do |c| c.cassette_library_dir = './spec/fixtures/vcr_cassettes' - c.hook_into :typhoeus + c.hook_into :fakeweb end RSpec.configure do |c|