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,92 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://bagics.com/moz-rank.html?domain=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:49:44 GMT
20
+ Content-Type:
21
+ - text/html; charset=UTF-8
22
+ Transfer-Encoding:
23
+ - chunked
24
+ Connection:
25
+ - keep-alive
26
+ Set-Cookie:
27
+ - __cfduid=dbd3f1720b392f71e1d2339e8ddcf1ffc1442270975; expires=Tue, 13-Sep-16
28
+ 22:49:35 GMT; path=/; domain=.bagics.com; HttpOnly
29
+ X-Powered-By:
30
+ - PHP/5.3.3
31
+ Vary:
32
+ - Accept-Encoding,User-Agent
33
+ Cache-Control:
34
+ - !binary |-
35
+ 4oCccHVibGlj4oCd
36
+ Server:
37
+ - cloudflare-nginx
38
+ Cf-Ray:
39
+ - 225fa55bafa12501-ORD
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html
43
+ xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n<head>\n<title>Check
44
+ MOZ Rank of Domain for FREE | Bagics.com | All In One SEO Companion</title>\n<meta
45
+ name=\"description\" content=\"Moz Rank Checker - WhoIs LookUp Check domain
46
+ availability Check Page Rank Check PageRank DMOZ directory checker Yahoo
47
+ directory checker Proxy servers Check domain age Check Alexa Rank Domain
48
+ IP lookup Find domain owner Check Domain Authority Check Page Authority
49
+ \ Check MozTrust Check mozRank Expired Domains Backlinks checker Check
50
+ Link Popularity \"/>\n<meta name=\"keywords\" content=\"WhoIs LookUp,Check
51
+ domain availability,Check Page Rank,Check PageRank,DMOZ directory checker,Yahoo
52
+ directory checker,Proxy servers,Check domain age,Check Alexa Rank ,Check Domain
53
+ IP,lookup,Find domain owner ,Check domain Authority,Check Page Authority,Check
54
+ MozTrust,Check mozRank,Expired Domains,Backlinks checker,Check Link Popularity
55
+ \">\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n<link
56
+ href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\"/>\n</head>\n<div
57
+ id=\"container\">\n<div id=\"main\">\n<div id=\"topbanner\"></div>\n<div id=\"menu\"><center>\n<a
58
+ href=\"index.html\" title=\"bagics home page\">Home</a>\n<a href=\"whois.html\">WhoIs
59
+ LookUp</a>\n<a href=\"domainchecker.html\">Check domain availability</a>\n<a
60
+ href=\"pr.html\">Check Page Rank</a>\n<a href=\"alexarankchecker.html\">Check
61
+ Alexa Rank</a>\n<a href=\"domain-authority.html\">Check Domain Authority</a>\n<a
62
+ href=\"page-authority.html\">Check Page Authority</a>\n<a href=\"yahoodirchecker.html\">Yahoo
63
+ Directory check</a>\n<a href=\"alexabacklinkcheck.html\">Alexa Backlinks Check</a>\n<a
64
+ href=\"bingindexcheck.html\">Bing Index Check</a>\n<a href=\"moz-rank.html\">MOZ-Rank
65
+ Check</a>\n<a href=\"dofollow-links.html\">Dofollow Backlinks Check</a>\n<a
66
+ href=\"total-back-links.html\">Total Backlinks Check</a>\n<a href=\"fake-pr-check.html\">Fake
67
+ PR Check</a>\n<a href=\"domain-age.html\">Domain Age Check</a>\n<a href=\"site-value.html\">Estimated
68
+ Site Value</a>\n<a href=\"google-bot-access.html\">Google Bot Access Check</a>\n<a
69
+ href=\"get-technorati-rank.html\">Technorati rank Check</a>\n \n</div>\n<div
70
+ id=\"content\">\n<h1>Check MOZ RANK of Domain.</h1>\n<p>Here, You can quickly
71
+ check the MOZ RANKof your favorite sites. Just put your domain name below
72
+ and click CHECK button.</p>\n<div class=\"pr\">\n<form action=\"/moz-rank.html\"
73
+ method=\"post\">\nURL: <input name=\"domain\" type=\"text\" id=\"domain\"
74
+ value=\"\" maxlength=\"300\" class=\"prf\" size=\"45\">\n<input type=\"submit\"
75
+ name=\"Submit\" value=\"CHECK\">\n</form></div>\n<div class=\"seomozResult\">\n<strong
76
+ class=\"dac\" id=\"resId\">8</strong>\n<h3 class=\"daa\">Moz Rank</h3>\n<b
77
+ id=\"urlId\">www.google.com</b>\n</div></div>\n<div class=\"div\"></div>\n</div>\n<div
78
+ id=\"r\"></div>\n<div id=\"credits\">\n<p>Copyright by <a href=\"http://bagics.com\">Bagics</a></p>\n<p>&copy;2012,
79
+ All rights reserved.</p></div>\n</div><script type=\"text/javascript\">\n\n
80
+ \ var _gaq = _gaq || [];\n _gaq.push(['_setAccount', 'UA-20641732-23']);\n
81
+ \ _gaq.push(['_setDomainName', 'bagics.com']);\n _gaq.push(['_setAllowLinker',
82
+ true]);\n _gaq.push(['_trackPageview']);\n\n (function() {\n var ga =
83
+ document.createElement('script'); ga.type = 'text/javascript'; ga.async =
84
+ true;\n ga.src = ('https:' == document.location.protocol ? 'https://' :
85
+ 'http://') + 'stats.g.doubleclick.net/dc.js';\n var s = document.getElementsByTagName('script')[0];
86
+ s.parentNode.insertBefore(ga, s);\n })();\n\n</script>\n<script type=\"text/javascript\">\nvar
87
+ infolinks_pid = 2417000;\nvar infolinks_wsid = 0;\n</script>\n<script type=\"text/javascript\"
88
+ src=\"http://resources.infolinks.com/js/infolinks_main.js\"></script></body></html>
89
+ name="
90
+ http_version:
91
+ recorded_at: Mon, 14 Sep 2015 22:49:44 GMT
92
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,93 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://bagics.com/moz-rank.html?domain=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:49:54 GMT
20
+ Content-Type:
21
+ - text/html; charset=UTF-8
22
+ Transfer-Encoding:
23
+ - chunked
24
+ Connection:
25
+ - keep-alive
26
+ Set-Cookie:
27
+ - __cfduid=d71cc04e82e058d70cceca51b132c57e31442270984; expires=Tue, 13-Sep-16
28
+ 22:49:44 GMT; path=/; domain=.bagics.com; HttpOnly
29
+ X-Powered-By:
30
+ - PHP/5.3.3
31
+ Vary:
32
+ - Accept-Encoding,User-Agent
33
+ Cache-Control:
34
+ - !binary |-
35
+ 4oCccHVibGlj4oCd
36
+ Server:
37
+ - cloudflare-nginx
38
+ Cf-Ray:
39
+ - 225fa5971a002507-ORD
40
+ body:
41
+ encoding: UTF-8
42
+ string: "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html
43
+ xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n<head>\n<title>Check
44
+ MOZ Rank of Domain for FREE | Bagics.com | All In One SEO Companion</title>\n<meta
45
+ name=\"description\" content=\"Moz Rank Checker - WhoIs LookUp Check domain
46
+ availability Check Page Rank Check PageRank DMOZ directory checker Yahoo
47
+ directory checker Proxy servers Check domain age Check Alexa Rank Domain
48
+ IP lookup Find domain owner Check Domain Authority Check Page Authority
49
+ \ Check MozTrust Check mozRank Expired Domains Backlinks checker Check
50
+ Link Popularity \"/>\n<meta name=\"keywords\" content=\"WhoIs LookUp,Check
51
+ domain availability,Check Page Rank,Check PageRank,DMOZ directory checker,Yahoo
52
+ directory checker,Proxy servers,Check domain age,Check Alexa Rank ,Check Domain
53
+ IP,lookup,Find domain owner ,Check domain Authority,Check Page Authority,Check
54
+ MozTrust,Check mozRank,Expired Domains,Backlinks checker,Check Link Popularity
55
+ \">\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n<link
56
+ href=\"css/style.css\" rel=\"stylesheet\" type=\"text/css\"/>\n</head>\n<div
57
+ id=\"container\">\n<div id=\"main\">\n<div id=\"topbanner\"></div>\n<div id=\"menu\"><center>\n<a
58
+ href=\"index.html\" title=\"bagics home page\">Home</a>\n<a href=\"whois.html\">WhoIs
59
+ LookUp</a>\n<a href=\"domainchecker.html\">Check domain availability</a>\n<a
60
+ href=\"pr.html\">Check Page Rank</a>\n<a href=\"alexarankchecker.html\">Check
61
+ Alexa Rank</a>\n<a href=\"domain-authority.html\">Check Domain Authority</a>\n<a
62
+ href=\"page-authority.html\">Check Page Authority</a>\n<a href=\"yahoodirchecker.html\">Yahoo
63
+ Directory check</a>\n<a href=\"alexabacklinkcheck.html\">Alexa Backlinks Check</a>\n<a
64
+ href=\"bingindexcheck.html\">Bing Index Check</a>\n<a href=\"moz-rank.html\">MOZ-Rank
65
+ Check</a>\n<a href=\"dofollow-links.html\">Dofollow Backlinks Check</a>\n<a
66
+ href=\"total-back-links.html\">Total Backlinks Check</a>\n<a href=\"fake-pr-check.html\">Fake
67
+ PR Check</a>\n<a href=\"domain-age.html\">Domain Age Check</a>\n<a href=\"site-value.html\">Estimated
68
+ Site Value</a>\n<a href=\"google-bot-access.html\">Google Bot Access Check</a>\n<a
69
+ href=\"get-technorati-rank.html\">Technorati rank Check</a>\n \n</div>\n<div
70
+ id=\"content\">\n<h1>Check MOZ RANK of Domain.</h1>\n<p>Here, You can quickly
71
+ check the MOZ RANKof your favorite sites. Just put your domain name below
72
+ and click CHECK button.</p>\n<div class=\"pr\">\n<form action=\"/moz-rank.html\"
73
+ method=\"post\">\nURL: <input name=\"domain\" type=\"text\" id=\"domain\"
74
+ value=\"\" maxlength=\"300\" class=\"prf\" size=\"45\">\n<input type=\"submit\"
75
+ name=\"Submit\" value=\"CHECK\">\n</form></div>\n<div class=\"seomozResult\">\n<strong
76
+ class=\"dac\" id=\"resId\">0</strong>\n<h3 class=\"daa\">Moz Rank</h3>\n<b
77
+ id=\"urlId\">please-dont-register-a-site-that-breaks-this-test.com</b>\n</div></div>\n<div
78
+ class=\"div\"></div>\n</div>\n<div id=\"r\"></div>\n<div id=\"credits\">\n<p>Copyright
79
+ by <a href=\"http://bagics.com\">Bagics</a></p>\n<p>&copy;2012, All rights
80
+ reserved.</p></div>\n</div><script type=\"text/javascript\">\n\n var _gaq
81
+ = _gaq || [];\n _gaq.push(['_setAccount', 'UA-20641732-23']);\n _gaq.push(['_setDomainName',
82
+ 'bagics.com']);\n _gaq.push(['_setAllowLinker', true]);\n _gaq.push(['_trackPageview']);\n\n
83
+ \ (function() {\n var ga = document.createElement('script'); ga.type =
84
+ 'text/javascript'; ga.async = true;\n ga.src = ('https:' == document.location.protocol
85
+ ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';\n var s =
86
+ document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga,
87
+ s);\n })();\n\n</script>\n<script type=\"text/javascript\">\nvar infolinks_pid
88
+ = 2417000;\nvar infolinks_wsid = 0;\n</script>\n<script type=\"text/javascript\"
89
+ src=\"http://resources.infolinks.com/js/infolinks_main.js\"></script></body></html>
90
+ name="
91
+ http_version:
92
+ recorded_at: Mon, 14 Sep 2015 22:49:54 GMT
93
+ 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 23:04:45 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
+ - 5.940ms
36
+ Set-Cookie:
37
+ - "___utmvaFIuocZF=AXa\x01Yews; path=/; Max-Age=900"
38
+ - '___utmvbFIuocZF=iZt XGQOHalB: Qtw; path=/; Max-Age=900'
39
+ - ___utmvmFIuocZF=eNKLQbaFuxT; path=/; Max-Age=900
40
+ - incap_ses_163_133232=DWzmT9vozFr0t3c23RdDAoxS91UAAAAAQeS+2zFMf1AEYonETBKzjg==;
41
+ path=/; Domain=.moz.com
42
+ - visid_incap_133232=4+lMgAw0R+C+xS/iDjzH1YxS91UAAAAAQUIPAAAAAABGG4eDSiSch8Ik6yWjEaAg;
43
+ expires=Wed, 13 Sep 2017 08:26:25 GMT; path=/; Domain=.moz.com
44
+ X-Iinfo:
45
+ - 7-97753726-97753802 NNNN CT(41 58 0) RT(1442271884141 464) 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 23:04: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 23:04:46 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
+ - 5.589ms
36
+ Set-Cookie:
37
+ - "___utmvaFIuocZF=oig\x01cZwj; path=/; Max-Age=900"
38
+ - '___utmvbFIuocZF=MZo XFoOtalp: ntG; path=/; Max-Age=900'
39
+ - ___utmvmFIuocZF=HNTRujPiVzK; path=/; Max-Age=900
40
+ - incap_ses_163_133232=3iaGR0tRmjb0t3c23RdDAo1S91UAAAAAX30DO07vh/Hvxin0R6hM3A==;
41
+ path=/; Domain=.moz.com
42
+ - visid_incap_133232=4+lMgAw0R+C+xS/iDjzH1YxS91UAAAAAQUIPAAAAAABGG4eDSiSch8Ik6yWjEaAg;
43
+ expires=Wed, 13 Sep 2017 08:26:24 GMT; path=/; Domain=.moz.com
44
+ X-Iinfo:
45
+ - 6-71509493-71509550 NNNN CT(45 56 0) RT(1442271885237 489) q(0 0 1 0) r(1
46
+ 1) 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 23:04:46 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://graph.facebook.com/?id=http://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
+ Access-Control-Allow-Origin:
19
+ - "*"
20
+ Content-Type:
21
+ - text/javascript; charset=UTF-8
22
+ X-Fb-Trace-Id:
23
+ - BwcMxAxXvOM
24
+ X-Fb-Rev:
25
+ - '1935378'
26
+ Etag:
27
+ - '"9a569c8e2fa402c1aaf3842d190bd5cbdd91a2c4"'
28
+ Pragma:
29
+ - no-cache
30
+ Cache-Control:
31
+ - private, no-cache, no-store, must-revalidate
32
+ Facebook-Api-Version:
33
+ - v2.0
34
+ Expires:
35
+ - Sat, 01 Jan 2000 00:00:00 GMT
36
+ X-Fb-Debug:
37
+ - KPCbmUMgap1RPVCFiV1Hhxsrzd3S+KU2bv1HSa8+cry7/E89KfjBOLGAD0rD+KgmIJhNlsa3V5LBlY+D9IFQRQ==
38
+ Date:
39
+ - Mon, 14 Sep 2015 23:06:25 GMT
40
+ Connection:
41
+ - keep-alive
42
+ Content-Length:
43
+ - '80'
44
+ body:
45
+ encoding: UTF-8
46
+ string: |-
47
+ {
48
+ "id": "http://www.google.com",
49
+ "shares": 13236703,
50
+ "comments": 1028
51
+ }
52
+ http_version:
53
+ recorded_at: Mon, 14 Sep 2015 23:06:25 GMT
54
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://graph.facebook.com/?id=http://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
+ Access-Control-Allow-Origin:
19
+ - "*"
20
+ Content-Type:
21
+ - text/javascript; charset=UTF-8
22
+ X-Fb-Trace-Id:
23
+ - BpeBrTl2KGx
24
+ X-Fb-Rev:
25
+ - '1935378'
26
+ Etag:
27
+ - '"084a2bbc7382540addc052eab83eb70ab32dd140"'
28
+ Pragma:
29
+ - no-cache
30
+ Cache-Control:
31
+ - private, no-cache, no-store, must-revalidate
32
+ Facebook-Api-Version:
33
+ - v2.0
34
+ Expires:
35
+ - Sat, 01 Jan 2000 00:00:00 GMT
36
+ X-Fb-Debug:
37
+ - xFW3ppjo0Z7nkLpAJnca8G1XRl8x7wxx1kns4aB+TO3YQXVHtW63dtq2Zk4tm5if+hcGNll6mMFNutFyqg1n9g==
38
+ Date:
39
+ - Mon, 14 Sep 2015 23:06:25 GMT
40
+ Connection:
41
+ - keep-alive
42
+ Content-Length:
43
+ - '75'
44
+ body:
45
+ encoding: UTF-8
46
+ string: |-
47
+ {
48
+ "id": "http://please-dont-register-a-site-that-breaks-this-test.com"
49
+ }
50
+ http_version:
51
+ recorded_at: Mon, 14 Sep 2015 23:06:25 GMT
52
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,42 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://share.yandex.ru/gpp.xml?url=http://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
+ - nginx/1.6.3
20
+ Date:
21
+ - Mon, 14 Sep 2015 23:07:02 GMT
22
+ Content-Type:
23
+ - text/javascript; charset=utf-8
24
+ Transfer-Encoding:
25
+ - chunked
26
+ Connection:
27
+ - keep-alive
28
+ Cache-Control:
29
+ - max-age=0, must-revalidate, proxy-revalidate, no-cache, no-store, private
30
+ Expires:
31
+ - Mon, 14 Sep 2015 23:07:02 GMT
32
+ Pragma:
33
+ - no-cache
34
+ Set-Cookie:
35
+ - yandexuid=3925476801442272022; domain=.yandex.ru; path=/; expires=Tue, 19
36
+ Jan 2038 03:14:07 GMT
37
+ body:
38
+ encoding: UTF-8
39
+ string: services.gplus.cb("10000");
40
+ http_version:
41
+ recorded_at: Mon, 14 Sep 2015 23:07:02 GMT
42
+ recorded_with: VCR 2.9.3