PageRankr 4.4.1 → 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +3 -1
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +1 -2
  6. data/PageRankr.gemspec +3 -2
  7. data/README.md +2 -0
  8. data/lib/page_rankr/backlinks.rb +1 -2
  9. data/lib/page_rankr/backlinks/yahoo.rb +1 -1
  10. data/lib/page_rankr/indexes/yahoo.rb +1 -1
  11. data/lib/page_rankr/ranks/alexa_country.rb +4 -4
  12. data/lib/page_rankr/ranks/alexa_global.rb +4 -4
  13. data/lib/page_rankr/ranks/alexa_us.rb +2 -2
  14. data/lib/page_rankr/ranks/domain_authority.rb +4 -4
  15. data/lib/page_rankr/ranks/page_authority.rb +5 -5
  16. data/lib/page_rankr/site.rb +4 -4
  17. data/lib/page_rankr/version.rb +1 -1
  18. data/spec/backlinks/bing_spec.rb +21 -0
  19. data/spec/backlinks/google_spec.rb +20 -0
  20. data/spec/backlinks/yahoo_spec.rb +21 -0
  21. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_match/.yml +2346 -0
  22. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_no_match/.yml +1493 -0
  23. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_match/.yml +1788 -0
  24. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_no_match/.yml +57 -0
  25. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_match/.yml +1929 -0
  26. data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_no_match/.yml +642 -0
  27. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_match/.yml +1648 -0
  28. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_no_match/.yml +1312 -0
  29. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_match/.yml +1769 -0
  30. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_no_match/.yml +57 -0
  31. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_match/.yml +2062 -0
  32. data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_no_match/.yml +553 -0
  33. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_match/.yml +45 -0
  34. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_no_match/.yml +37 -0
  35. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_match/.yml +45 -0
  36. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_no_match/.yml +37 -0
  37. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_match/.yml +45 -0
  38. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_no_match/.yml +37 -0
  39. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_match/.yml +54 -0
  40. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_no_match/.yml +54 -0
  41. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_match/.yml +54 -0
  42. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_no_match/.yml +49 -0
  43. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_match/.yml +92 -0
  44. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_no_match/.yml +93 -0
  45. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_match/.yml +54 -0
  46. data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_no_match/.yml +54 -0
  47. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_match/.yml +54 -0
  48. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_no_match/.yml +52 -0
  49. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_match/.yml +42 -0
  50. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_no_match/.yml +42 -0
  51. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_match/.yml +58 -0
  52. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_no_match/.yml +58 -0
  53. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_match/.yml +45 -0
  54. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_no_match/.yml +45 -0
  55. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_match/.yml +42 -0
  56. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_no_match/.yml +42 -0
  57. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_match/.yml +57 -0
  58. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_no_match/.yml +57 -0
  59. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_match/.yml +41 -0
  60. data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_no_match/.yml +41 -0
  61. data/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml +91 -208
  62. data/spec/fixtures/vcr_cassettes/failure_socials.yml +233 -170
  63. data/spec/fixtures/vcr_cassettes/success_socials.yml +578 -160
  64. data/spec/indexes/bing_spec.rb +20 -0
  65. data/spec/indexes/google_spec.rb +20 -0
  66. data/spec/indexes/yahoo_spec.rb +20 -0
  67. data/spec/page_rankr_spec.rb +10 -169
  68. data/spec/proxy_services/random_spec.rb +2 -2
  69. data/spec/proxy_services/round_robin_spec.rb +4 -4
  70. data/spec/ranks/alexa_country_spec.rb +20 -0
  71. data/spec/ranks/alexa_global_spec.rb +20 -0
  72. data/spec/ranks/alexa_us_spec.rb +20 -0
  73. data/spec/ranks/domain_authority_spec.rb +21 -0
  74. data/spec/ranks/google/checksum_spec.rb +2 -2
  75. data/spec/ranks/google_spec.rb +20 -0
  76. data/spec/ranks/moz_rank_spec.rb +21 -0
  77. data/spec/ranks/page_authority_spec.rb +21 -0
  78. data/spec/site_spec.rb +3 -3
  79. data/spec/socials/facebook_spec.rb +20 -0
  80. data/spec/socials/google_spec.rb +20 -0
  81. data/spec/socials/linkedin_spec.rb +20 -0
  82. data/spec/socials/pinterest_spec.rb +20 -0
  83. data/spec/socials/stumble_upon_spec.rb +20 -0
  84. data/spec/socials/twitter_spec.rb +20 -0
  85. data/spec/socials/vk_spec.rb +20 -0
  86. data/spec/spec_helper.rb +7 -13
  87. data/spec/support/custom_matchers.rb +39 -0
  88. metadata +142 -23
  89. data/lib/page_rankr/backlinks/alexa.rb +0 -25
  90. data/spec/edge_cases_spec.rb +0 -26
  91. data/spec/fixtures/vcr_cassettes/failure_backlinks.yml +0 -1740
  92. data/spec/fixtures/vcr_cassettes/failure_indexes.yml +0 -1705
  93. data/spec/fixtures/vcr_cassettes/failure_ranks.yml +0 -422
  94. data/spec/fixtures/vcr_cassettes/success_backlinks.yml +0 -7651
  95. data/spec/fixtures/vcr_cassettes/success_indexes.yml +0 -7295
  96. data/spec/fixtures/vcr_cassettes/success_ranks.yml +0 -652
  97. data/spec/socials_spec.rb +0 -66
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=www.google.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:13 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '983'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"google.com/\" HOME=\"0\" AID=\"=\" IDN=\"google.com/\">\r\n<RLS PREFIX=\"http://\"
33
+ more=\"0\">\n<RL HREF=\"amazon.com/\" TITLE=\"Amazon.com\"/>\n<RL HREF=\"wikipedia.org/\"
34
+ TITLE=\"Wikipedia\"/>\n<RL HREF=\"www.yahoo.com/\" TITLE=\"Yahoo!\"/>\n<RL
35
+ HREF=\"youtube.com/\" TITLE=\"YouTube\"/>\n<RL HREF=\"yelp.com/\" TITLE=\"Yelp\"/>\n<RL
36
+ HREF=\"statcounter.com/\" TITLE=\"StatCounter.com\"/>\n<RL HREF=\"myspace.com/\"
37
+ TITLE=\"Myspace\"/>\n<RL HREF=\"linkedin.com/\" TITLE=\"LinkedIn\"/>\n<RL
38
+ HREF=\"imdb.com/\" TITLE=\"The Internet Movie Database (imdb)\"/>\n<RL HREF=\"google.co.in/\"
39
+ TITLE=\"Google India\"/>\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"google.com\">\n<TITLE
40
+ TEXT=\"Google \"/>\n<OWNER NAME=\"aa\"/>\n</SD>\n<SD>\n<POPULARITY
41
+ URL=\"google.com/\" TEXT=\"1\" SOURCE=\"panel\"/>\n<REACH RANK=\"1\"/>\n<RANK
42
+ DELTA=\"+0\"/>\n<COUNTRY CODE=\"US\" NAME=\"United States\" RANK=\"1\"/>\n</SD>\n</ALEXA>"
43
+ http_version:
44
+ recorded_at: Tue, 15 Sep 2015 00:15:13 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,37 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:13 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '422'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"please-dont-register-a-site-that-breaks-this-test.com/\" HOME=\"0\"
33
+ AID=\"=\" IDN=\"please-dont-register-a-site-that-breaks-this-test.com/\">\r\n<RLS
34
+ PREFIX=\"http://\" more=\"0\">\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"please-dont-register-a-site-that-breaks-this-test.com\">\n</SD>\n\n</ALEXA>"
35
+ http_version:
36
+ recorded_at: Tue, 15 Sep 2015 00:15:13 GMT
37
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=www.google.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:14 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '983'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"google.com/\" HOME=\"0\" AID=\"=\" IDN=\"google.com/\">\r\n<RLS PREFIX=\"http://\"
33
+ more=\"0\">\n<RL HREF=\"amazon.com/\" TITLE=\"Amazon.com\"/>\n<RL HREF=\"wikipedia.org/\"
34
+ TITLE=\"Wikipedia\"/>\n<RL HREF=\"www.yahoo.com/\" TITLE=\"Yahoo!\"/>\n<RL
35
+ HREF=\"youtube.com/\" TITLE=\"YouTube\"/>\n<RL HREF=\"yelp.com/\" TITLE=\"Yelp\"/>\n<RL
36
+ HREF=\"statcounter.com/\" TITLE=\"StatCounter.com\"/>\n<RL HREF=\"myspace.com/\"
37
+ TITLE=\"Myspace\"/>\n<RL HREF=\"linkedin.com/\" TITLE=\"LinkedIn\"/>\n<RL
38
+ HREF=\"imdb.com/\" TITLE=\"The Internet Movie Database (imdb)\"/>\n<RL HREF=\"google.co.in/\"
39
+ TITLE=\"Google India\"/>\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"google.com\">\n<TITLE
40
+ TEXT=\"Google \"/>\n<OWNER NAME=\"aa\"/>\n</SD>\n<SD>\n<POPULARITY
41
+ URL=\"google.com/\" TEXT=\"1\" SOURCE=\"panel\"/>\n<REACH RANK=\"1\"/>\n<RANK
42
+ DELTA=\"+0\"/>\n<COUNTRY CODE=\"US\" NAME=\"United States\" RANK=\"1\"/>\n</SD>\n</ALEXA>"
43
+ http_version:
44
+ recorded_at: Tue, 15 Sep 2015 00:15:15 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,37 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:15 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '422'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"please-dont-register-a-site-that-breaks-this-test.com/\" HOME=\"0\"
33
+ AID=\"=\" IDN=\"please-dont-register-a-site-that-breaks-this-test.com/\">\r\n<RLS
34
+ PREFIX=\"http://\" more=\"0\">\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"please-dont-register-a-site-that-breaks-this-test.com\">\n</SD>\n\n</ALEXA>"
35
+ http_version:
36
+ recorded_at: Tue, 15 Sep 2015 00:15:15 GMT
37
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,45 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=www.google.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:15 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '983'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"google.com/\" HOME=\"0\" AID=\"=\" IDN=\"google.com/\">\r\n<RLS PREFIX=\"http://\"
33
+ more=\"0\">\n<RL HREF=\"amazon.com/\" TITLE=\"Amazon.com\"/>\n<RL HREF=\"wikipedia.org/\"
34
+ TITLE=\"Wikipedia\"/>\n<RL HREF=\"www.yahoo.com/\" TITLE=\"Yahoo!\"/>\n<RL
35
+ HREF=\"youtube.com/\" TITLE=\"YouTube\"/>\n<RL HREF=\"yelp.com/\" TITLE=\"Yelp\"/>\n<RL
36
+ HREF=\"statcounter.com/\" TITLE=\"StatCounter.com\"/>\n<RL HREF=\"myspace.com/\"
37
+ TITLE=\"Myspace\"/>\n<RL HREF=\"linkedin.com/\" TITLE=\"LinkedIn\"/>\n<RL
38
+ HREF=\"imdb.com/\" TITLE=\"The Internet Movie Database (imdb)\"/>\n<RL HREF=\"google.co.in/\"
39
+ TITLE=\"Google India\"/>\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"google.com\">\n<TITLE
40
+ TEXT=\"Google \"/>\n<OWNER NAME=\"aa\"/>\n</SD>\n<SD>\n<POPULARITY
41
+ URL=\"google.com/\" TEXT=\"1\" SOURCE=\"panel\"/>\n<REACH RANK=\"1\"/>\n<RANK
42
+ DELTA=\"+0\"/>\n<COUNTRY CODE=\"US\" NAME=\"United States\" RANK=\"1\"/>\n</SD>\n</ALEXA>"
43
+ http_version:
44
+ recorded_at: Tue, 15 Sep 2015 00:15:15 GMT
45
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,37 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://data.alexa.com/data?cli=10&dat=snbamz&url=please-dont-register-a-site-that-breaks-this-test.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Content-Type:
19
+ - text/xml
20
+ Date:
21
+ - Tue, 15 Sep 2015 00:15:15 GMT
22
+ Server:
23
+ - nginx
24
+ Content-Length:
25
+ - '422'
26
+ Connection:
27
+ - keep-alive
28
+ body:
29
+ encoding: UTF-8
30
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\n<!-- Need more Alexa
31
+ data? Find our APIs here: https://aws.amazon.com/alexa/ -->\r\n<ALEXA VER=\"0.9\"
32
+ URL=\"please-dont-register-a-site-that-breaks-this-test.com/\" HOME=\"0\"
33
+ AID=\"=\" IDN=\"please-dont-register-a-site-that-breaks-this-test.com/\">\r\n<RLS
34
+ PREFIX=\"http://\" more=\"0\">\n</RLS>\n<SD TITLE=\"A\" FLAGS=\"\" HOST=\"please-dont-register-a-site-that-breaks-this-test.com\">\n</SD>\n\n</ALEXA>"
35
+ http_version:
36
+ recorded_at: Tue, 15 Sep 2015 00:15:15 GMT
37
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://moz.com/researchtools/ose/api/urlmetrics?site=www.google.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Server:
19
+ - openresty
20
+ Date:
21
+ - Mon, 14 Sep 2015 22:46:44 GMT
22
+ Content-Type:
23
+ - application/json; charset=utf-8
24
+ Content-Length:
25
+ - '388'
26
+ Connection:
27
+ - keep-alive
28
+ Vary:
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - public, max-age=2592000
32
+ Etag:
33
+ - W/"184-70cce3fe"
34
+ X-Response-Time:
35
+ - 6.033ms
36
+ Set-Cookie:
37
+ - "___utmvaFIuocZF=pZi\x01owqr; path=/; Max-Age=900"
38
+ - '___utmvbFIuocZF=OZb XgeOialS: Gtu; path=/; Max-Age=900'
39
+ - ___utmvmFIuocZF=TXoKwTqtWRw; path=/; Max-Age=900
40
+ - incap_ses_163_133232=4hUcGuFA1xKr4XA23RdDAlRO91UAAAAA0ZRJUCXlJX/7NMB47f2gag==;
41
+ path=/; Domain=.moz.com
42
+ - visid_incap_133232=VtUxXUItTBODKSDISQkgRFRO91UAAAAAQUIPAAAAAAD8I9a8Sh2mvcMV6EUFcScc;
43
+ expires=Wed, 13 Sep 2017 08:26:24 GMT; path=/; Domain=.moz.com
44
+ X-Iinfo:
45
+ - 10-169986278-169986286 NNNN CT(45 47 0) RT(1442270804309 98) q(0 0 1 1) r(1
46
+ 1) U5
47
+ X-Cdn:
48
+ - Incapsula
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"meta":{"site":"http://www.google.com","requested_site":"http://www.google.com"},"data":{"spam_flags":[false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,false],"spam_score":1,"authority":{"page_authority":97.4974451586309,"domain_authority":100},"page":{"just_discovered_links":146644,"linking_root_domains":915522,"inbound_links":75133768}}}'
52
+ http_version:
53
+ recorded_at: Mon, 14 Sep 2015 22:46:45 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://moz.com/researchtools/ose/api/urlmetrics?site=please-dont-register-a-site-that-breaks-this-test.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Server:
19
+ - openresty
20
+ Date:
21
+ - Mon, 14 Sep 2015 22:46:45 GMT
22
+ Content-Type:
23
+ - application/json; charset=utf-8
24
+ Content-Length:
25
+ - '419'
26
+ Connection:
27
+ - keep-alive
28
+ Vary:
29
+ - Accept-Encoding
30
+ Cache-Control:
31
+ - public, max-age=2592000
32
+ Etag:
33
+ - W/"1a3-9dde57ca"
34
+ X-Response-Time:
35
+ - 319.883ms
36
+ Set-Cookie:
37
+ - "___utmvaFIuocZF=wsd\x01YNUr; path=/; Max-Age=900"
38
+ - '___utmvbFIuocZF=gZc XNXOFalE: dtx; path=/; Max-Age=900'
39
+ - ___utmvmFIuocZF=THamZBMugvr; path=/; Max-Age=900
40
+ - incap_ses_163_133232=6eaOG/TqHgWr4XA23RdDAlVO91UAAAAA+qhScMrQqg3BqLlWHVjEkQ==;
41
+ path=/; Domain=.moz.com
42
+ - visid_incap_133232=VtUxXUItTBODKSDISQkgRFRO91UAAAAAQUIPAAAAAAD8I9a8Sh2mvcMV6EUFcScc;
43
+ expires=Wed, 13 Sep 2017 08:26:24 GMT; path=/; Domain=.moz.com
44
+ X-Iinfo:
45
+ - 4-47997076-47997080 NNNN CT(46 48 0) RT(1442270804655 83) q(0 0 1 0) r(5 5)
46
+ U5
47
+ X-Cdn:
48
+ - Incapsula
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"meta":{"site":"http://please-dont-register-a-site-that-breaks-this-test.com","requested_site":"http://please-dont-register-a-site-that-breaks-this-test.com"},"data":{"spam_flags":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"spam_score":null,"authority":{"page_authority":1,"domain_authority":1},"page":{"just_discovered_links":0,"linking_root_domains":0,"inbound_links":0}}}'
52
+ http_version:
53
+ recorded_at: Mon, 14 Sep 2015 22:46:45 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://toolbarqueries.google.com/tbr?ch=6340563836&client=navclient-auto&features=Rank&q=info:www.google.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Date:
19
+ - Mon, 14 Sep 2015 22:48:49 GMT
20
+ Pragma:
21
+ - no-cache
22
+ Expires:
23
+ - Fri, 01 Jan 1990 00:00:00 GMT
24
+ Cache-Control:
25
+ - no-cache, must-revalidate
26
+ Content-Type:
27
+ - text/html; charset=ISO-8859-1
28
+ P3p:
29
+ - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657
30
+ for more info."
31
+ Server:
32
+ - gws
33
+ X-Xss-Protection:
34
+ - 1; mode=block
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ Set-Cookie:
38
+ - NID=71=kTGtQ1IqZuZWhoyxJOUkspDh_UBuf3k_wNZCNH48fhizm_Q5VqUlU559bfnbdahaKPOVhbil0dHT6ucsaLqCwLAphm0KFi5ujD4ZYu7s1vJ0K1bM4LF2Lqr2UROZ54q5;
39
+ expires=Tue, 15-Mar-2016 22:48:49 GMT; path=/; domain=.google.com; HttpOnly
40
+ - PREF=ID=1111111111111111:FF=0:TM=1442270929:LM=1442270929:V=1:S=cqgjcx1zCfeB7wRq;
41
+ expires=Thu, 31-Dec-2015 16:02:17 GMT; path=/; domain=.google.com
42
+ Accept-Ranges:
43
+ - none
44
+ Vary:
45
+ - Accept-Encoding
46
+ Transfer-Encoding:
47
+ - chunked
48
+ body:
49
+ encoding: UTF-8
50
+ string: |
51
+ Rank_1:1:9
52
+ http_version:
53
+ recorded_at: Mon, 14 Sep 2015 22:48:49 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://toolbarqueries.google.com/tbr?ch=63624986523&client=navclient-auto&features=Rank&q=info:please-dont-register-a-site-that-breaks-this-test.com
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
+ like Gecko) Version/5.1.6 Safari/534.56.5
13
+ response:
14
+ status:
15
+ code: 200
16
+ message: OK
17
+ headers:
18
+ Date:
19
+ - Mon, 14 Sep 2015 22:48:49 GMT
20
+ Pragma:
21
+ - no-cache
22
+ Expires:
23
+ - Fri, 01 Jan 1990 00:00:00 GMT
24
+ Cache-Control:
25
+ - no-cache, must-revalidate
26
+ Content-Type:
27
+ - text/html; charset=ISO-8859-1
28
+ P3p:
29
+ - CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657
30
+ for more info."
31
+ Server:
32
+ - gws
33
+ Content-Length:
34
+ - '0'
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Frame-Options:
38
+ - SAMEORIGIN
39
+ Set-Cookie:
40
+ - NID=71=G3F4fqx4te-5FRSqGqkW-BAM7X2grah41e6bAzWdKGSunS_j-TZ3yD2AZ7zymGaiTyVCIapK7-82fwwz2QxGe0PIIAv1ts95HWOcDC2I2HowKJz_uE5ZLLJJmWHU6JJh;
41
+ expires=Tue, 15-Mar-2016 22:48:49 GMT; path=/; domain=.google.com; HttpOnly
42
+ - PREF=ID=1111111111111111:FF=0:TM=1442270929:LM=1442270929:V=1:S=cqgjcx1zCfeB7wRq;
43
+ expires=Thu, 31-Dec-2015 16:02:17 GMT; path=/; domain=.google.com
44
+ body:
45
+ encoding: UTF-8
46
+ string: ''
47
+ http_version:
48
+ recorded_at: Mon, 14 Sep 2015 22:48:49 GMT
49
+ recorded_with: VCR 2.9.3