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
@@ -2,12 +2,12 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://vk.com/share.php?url=http%3A%2F%2Fwww.google.com&act=count
5
+ uri: http://api.pinterest.com/v1/urls/count.json?callback=_&url=http://www.google.com
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
- user-agent:
10
+ User-Agent:
11
11
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
12
12
  like Gecko) Version/5.1.6 Safari/534.56.5
13
13
  response:
@@ -15,37 +15,41 @@ http_interactions:
15
15
  code: 200
16
16
  message: OK
17
17
  headers:
18
- server:
19
- - Apache
20
- date:
21
- - Mon, 15 Dec 2014 20:52:34 GMT
22
- content-type:
23
- - text/html; charset=windows-1251
24
- content-length:
25
- - '24'
26
- connection:
27
- - close
28
- x-powered-by:
29
- - PHP/3.9812
30
- set-cookie:
31
- - remixlang=3; expires=Thu, 17 Dec 2015 16:12:36 GMT; path=/; domain=.vk.com
32
- pragma:
33
- - no-cache
34
- cache-control:
35
- - no-store
18
+ Accept-Ranges:
19
+ - bytes
20
+ Age:
21
+ - '1655'
22
+ Cache-Control:
23
+ - private
24
+ Content-Type:
25
+ - application/javascript
26
+ Date:
27
+ - Mon, 14 Sep 2015 23:36:47 GMT
28
+ Expires:
29
+ - Mon, 14 Sep 2015 23:24:12 GMT
30
+ Via:
31
+ - 1.1 varnish
32
+ X-Pinterest-Rid:
33
+ - '338406475226'
34
+ X-Varnish:
35
+ - 513672300 509056434
36
+ Content-Length:
37
+ - '48'
38
+ Connection:
39
+ - keep-alive
36
40
  body:
37
41
  encoding: UTF-8
38
- string: VK.Share.count(0, 3725);
39
- http_version: '1.1'
40
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
42
+ string: _({"url":"http://www.google.com","count":75108})
43
+ http_version:
44
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
41
45
  - request:
42
46
  method: get
43
- uri: http://api.pinterest.com/v1/urls/count.json?url=http%3A%2F%2Fwww.google.com&callback=_
47
+ uri: http://urls.api.twitter.com/1/urls/count.json?url=www.google.com
44
48
  body:
45
49
  encoding: US-ASCII
46
50
  string: ''
47
51
  headers:
48
- user-agent:
52
+ User-Agent:
49
53
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
50
54
  like Gecko) Version/5.1.6 Safari/534.56.5
51
55
  response:
@@ -53,37 +57,53 @@ http_interactions:
53
57
  code: 200
54
58
  message: OK
55
59
  headers:
56
- accept-ranges:
60
+ Cache-Control:
61
+ - must-revalidate, max-age=900
62
+ Content-Type:
63
+ - application/json;charset=utf-8
64
+ Expires:
65
+ - Mon, 14 Sep 2015 23:51:47 GMT
66
+ Last-Modified:
67
+ - Mon, 14 Sep 2015 23:36:47 GMT
68
+ Server:
69
+ - tsa_b
70
+ X-Connection-Hash:
71
+ - cb66cffe7fa43dbf90b1192189d730bf
72
+ X-Response-Time:
73
+ - '6'
74
+ Content-Length:
75
+ - '52'
76
+ Accept-Ranges:
57
77
  - bytes
58
- cache-control:
59
- - private
60
- content-type:
61
- - application/javascript
62
- expires:
63
- - Mon, 15 Dec 2014 21:07:34 GMT
64
- x-pinterest-rid:
65
- - '420796907025'
66
- x-varnish:
67
- - '3153189879'
68
- content-length:
69
- - '48'
70
- date:
71
- - Mon, 15 Dec 2014 20:52:34 GMT
72
- connection:
73
- - close
78
+ Date:
79
+ - Mon, 14 Sep 2015 23:36:47 GMT
80
+ Via:
81
+ - 1.1 varnish
82
+ Age:
83
+ - '0'
84
+ Connection:
85
+ - keep-alive
86
+ X-Served-By:
87
+ - cache-tw-nyc1-cr1-11-TWNYC1
88
+ X-Cache:
89
+ - MISS
90
+ X-Cache-Hits:
91
+ - '0'
92
+ Vary:
93
+ - Accept-Encoding
74
94
  body:
75
95
  encoding: UTF-8
76
- string: _({"url":"http://www.google.com","count":75108})
77
- http_version: '1.1'
78
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
96
+ string: '{"count":24665189,"url":"http:\/\/www.google.com\/"}'
97
+ http_version:
98
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
79
99
  - request:
80
100
  method: get
81
- uri: http://graph.facebook.com/?id=http%3A%2F%2Fwww.google.com
101
+ uri: http://graph.facebook.com/?id=http://www.google.com
82
102
  body:
83
103
  encoding: US-ASCII
84
104
  string: ''
85
105
  headers:
86
- user-agent:
106
+ User-Agent:
87
107
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
88
108
  like Gecko) Version/5.1.6 Safari/534.56.5
89
109
  response:
@@ -91,48 +111,50 @@ http_interactions:
91
111
  code: 200
92
112
  message: OK
93
113
  headers:
94
- facebook-api-version:
95
- - v1.0
96
- etag:
97
- - '"b763721b57603f6520b06f4622e3f2ba5c6a722e"'
98
- content-type:
114
+ Access-Control-Allow-Origin:
115
+ - "*"
116
+ Content-Type:
99
117
  - text/javascript; charset=UTF-8
100
- pragma:
118
+ X-Fb-Trace-Id:
119
+ - ATI4Meh3P0m
120
+ X-Fb-Rev:
121
+ - '1935378'
122
+ Etag:
123
+ - '"f1ced55c7e36bb2189fe954b2c02cc026239b54c"'
124
+ Pragma:
101
125
  - no-cache
102
- access-control-allow-origin:
103
- - '*'
104
- x-fb-rev:
105
- - '1532468'
106
- cache-control:
126
+ Cache-Control:
107
127
  - private, no-cache, no-store, must-revalidate
108
- expires:
128
+ Facebook-Api-Version:
129
+ - v2.0
130
+ Expires:
109
131
  - Sat, 01 Jan 2000 00:00:00 GMT
110
- x-fb-debug:
111
- - g5R1Oyw08FasCZhz5GfUXKQCI+BzYr1q4RDlS6ke0Uk276RwDb9fJ8mTYJvatpU0jz/glCqIRqQV+wdUQ2B2mg==
112
- date:
113
- - Mon, 15 Dec 2014 20:52:34 GMT
114
- connection:
115
- - close
116
- content-length:
117
- - '79'
132
+ X-Fb-Debug:
133
+ - DTy6UWWN/SiLz6D+fkJvvW2XX2c7tP2MZhOqSuYPwM3s+YNUZ8R8xX3q6l0NF+1NlHS+sWeIIaRi2WHLh7mzmQ==
134
+ Date:
135
+ - Mon, 14 Sep 2015 23:36:47 GMT
136
+ Connection:
137
+ - keep-alive
138
+ Content-Length:
139
+ - '80'
118
140
  body:
119
141
  encoding: UTF-8
120
142
  string: |-
121
143
  {
122
144
  "id": "http://www.google.com",
123
- "shares": 10012603,
124
- "comments": 934
145
+ "shares": 13236803,
146
+ "comments": 1028
125
147
  }
126
- http_version: '1.1'
127
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
148
+ http_version:
149
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
128
150
  - request:
129
151
  method: get
130
- uri: http://urls.api.twitter.com/1/urls/count.json?url=www.google.com
152
+ uri: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=www.google.com
131
153
  body:
132
154
  encoding: US-ASCII
133
155
  string: ''
134
156
  headers:
135
- user-agent:
157
+ User-Agent:
136
158
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
137
159
  like Gecko) Version/5.1.6 Safari/534.56.5
138
160
  response:
@@ -140,42 +162,93 @@ http_interactions:
140
162
  code: 200
141
163
  message: OK
142
164
  headers:
143
- cache-control:
144
- - max-age=900
145
- content-type:
146
- - application/json;charset=utf-8
147
- date:
148
- - Mon, 15 Dec 2014 20:52:34 UTC
149
- expires:
150
- - Mon, 15 Dec 2014 21:07:34 GMT
151
- last-modified:
152
- - Mon, 15 Dec 2014 20:52:34 GMT
153
- server:
154
- - tsa_b
155
- set-cookie:
156
- - guest_id=v1%3A141867675457322338; Domain=.twitter.com; Path=/; Expires=Wed,
157
- 14-Dec-2016 20:52:34 UTC
158
- x-connection-hash:
159
- - 5839fc5d0eaaf756cee243cb1995c5c1
160
- x-response-time:
161
- - '3'
162
- content-length:
163
- - '52'
164
- connection:
165
- - close
165
+ Server:
166
+ - Apache
167
+ P3p:
168
+ - policyref="/w3c/p3p.xml", CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT
169
+ DEM STA PRE COM NAV OTC NOI DSP COR"
170
+ Vary:
171
+ - Accept-Encoding
172
+ Content-Type:
173
+ - text/plain; charset=iso-8859-1
174
+ Content-Length:
175
+ - '521'
176
+ Accept-Ranges:
177
+ - bytes
178
+ Date:
179
+ - Mon, 14 Sep 2015 23:36:47 GMT
180
+ Age:
181
+ - '0'
182
+ Connection:
183
+ - keep-alive
184
+ body:
185
+ encoding: UTF-8
186
+ string: '{"result":{"url":"http:\/\/www.google.com\/","in_index":true,"publicid":"2pI1xR","views":255199,"title":"Google","thumbnail":"http:\/\/cdn.stumble-upon.com\/mthumb\/31\/10031.jpg","thumbnail_b":"http:\/\/cdn.stumble-upon.com\/bthumb\/31\/10031.jpg","submit_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","badge_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","info_link":"http:\/\/www.stumbleupon.com\/url\/www.google.com\/"},"timestamp":1442273807,"success":true}'
187
+ http_version:
188
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
189
+ - request:
190
+ method: get
191
+ uri: https://www.linkedin.com/countserv/count/share?callback=_&format=json&url=www.google.com
192
+ body:
193
+ encoding: US-ASCII
194
+ string: ''
195
+ headers:
196
+ User-Agent:
197
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
198
+ like Gecko) Version/5.1.6 Safari/534.56.5
199
+ response:
200
+ status:
201
+ code: 200
202
+ message: OK
203
+ headers:
204
+ Server:
205
+ - Apache-Coyote/1.1
206
+ Content-Type:
207
+ - application/json;charset=UTF-8
208
+ Content-Length:
209
+ - '74'
210
+ Vary:
211
+ - Accept-Encoding
212
+ Date:
213
+ - Mon, 14 Sep 2015 23:36:47 GMT
214
+ X-Frame-Options:
215
+ - sameorigin
216
+ X-Content-Type-Options:
217
+ - nosniff
218
+ X-Xss-Protection:
219
+ - 1; mode=block
220
+ X-Li-Fabric:
221
+ - prod-lva1
222
+ Strict-Transport-Security:
223
+ - max-age=0
224
+ Pragma:
225
+ - no-cache
226
+ Expires:
227
+ - Thu, 01 Jan 1970 00:00:00 GMT
228
+ Cache-Control:
229
+ - no-cache, no-store
230
+ Connection:
231
+ - keep-alive
232
+ X-Li-Pop:
233
+ - prod-lva1
234
+ X-Li-Uuid:
235
+ - f9Ls8GL8AxQAGPeq0CoAAA==
236
+ Set-Cookie:
237
+ - lidc="b=VB84:g=218:u=1:i=1442273807:t=1442360207:s=AQF2X3U14SFcDiFmoW541KuPQoZiZuIq";
238
+ Expires=Tue, 15 Sep 2015 23:36:47 GMT; domain=.linkedin.com; Path=/
166
239
  body:
167
240
  encoding: UTF-8
168
- string: '{"count":21936956,"url":"http:\/\/www.google.com\/"}'
169
- http_version: '1.1'
170
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
241
+ string: '{"count":2712,"fCnt":"2,712","fCntPlusOne":"2,713","url":"www.google.com"}'
242
+ http_version:
243
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
171
244
  - request:
172
245
  method: get
173
- uri: http://share.yandex.ru/gpp.xml?url=http%3A%2F%2Fwww.google.com
246
+ uri: http://vk.com/share.php?act=count&url=http://www.google.com
174
247
  body:
175
248
  encoding: US-ASCII
176
249
  string: ''
177
250
  headers:
178
- user-agent:
251
+ User-Agent:
179
252
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
180
253
  like Gecko) Version/5.1.6 Safari/534.56.5
181
254
  response:
@@ -183,38 +256,172 @@ http_interactions:
183
256
  code: 200
184
257
  message: OK
185
258
  headers:
186
- server:
187
- - nginx/1.6.2
188
- date:
189
- - Mon, 15 Dec 2014 20:52:34 GMT
190
- content-type:
259
+ Server:
260
+ - Apache
261
+ Date:
262
+ - Mon, 14 Sep 2015 23:36:47 GMT
263
+ Content-Type:
264
+ - text/html; charset=windows-1251
265
+ Content-Length:
266
+ - '24'
267
+ Connection:
268
+ - keep-alive
269
+ X-Powered-By:
270
+ - PHP/3.17085
271
+ Set-Cookie:
272
+ - remixlang=3; expires=Sun, 11 Sep 2016 12:05:29 GMT; path=/; domain=.vk.com
273
+ Pragma:
274
+ - no-cache
275
+ Cache-Control:
276
+ - no-store
277
+ body:
278
+ encoding: UTF-8
279
+ string: VK.Share.count(0, 4352);
280
+ http_version:
281
+ recorded_at: Mon, 14 Sep 2015 23:36:47 GMT
282
+ - request:
283
+ method: get
284
+ uri: http://share.yandex.ru/gpp.xml?url=http://www.google.com
285
+ body:
286
+ encoding: US-ASCII
287
+ string: ''
288
+ headers:
289
+ User-Agent:
290
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
291
+ like Gecko) Version/5.1.6 Safari/534.56.5
292
+ response:
293
+ status:
294
+ code: 200
295
+ message: OK
296
+ headers:
297
+ Server:
298
+ - nginx/1.6.3
299
+ Date:
300
+ - Mon, 14 Sep 2015 23:36:47 GMT
301
+ Content-Type:
191
302
  - text/javascript; charset=utf-8
192
- transfer-encoding:
303
+ Transfer-Encoding:
193
304
  - chunked
194
- connection:
195
- - close
196
- cache-control:
305
+ Connection:
306
+ - keep-alive
307
+ Cache-Control:
197
308
  - max-age=0, must-revalidate, proxy-revalidate, no-cache, no-store, private
198
- expires:
199
- - Mon, 15 Dec 2014 20:52:34 GMT
200
- pragma:
309
+ Expires:
310
+ - Mon, 14 Sep 2015 23:36:47 GMT
311
+ Pragma:
201
312
  - no-cache
202
- set-cookie:
203
- - yandexuid=45368231418676754; domain=.yandex.ru; path=/; expires=Tue, 19 Jan
204
- 2038 03:14:07 GMT
313
+ Set-Cookie:
314
+ - yandexuid=9201727381442273807; domain=.yandex.ru; path=/; expires=Tue, 19
315
+ Jan 2038 03:14:07 GMT
205
316
  body:
206
317
  encoding: UTF-8
207
318
  string: services.gplus.cb("10000");
208
- http_version: '1.1'
209
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
319
+ http_version:
320
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
321
+ - request:
322
+ method: get
323
+ uri: http://urls.api.twitter.com/1/urls/count.json?url=www.google.com
324
+ body:
325
+ encoding: US-ASCII
326
+ string: ''
327
+ headers:
328
+ User-Agent:
329
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
330
+ like Gecko) Version/5.1.6 Safari/534.56.5
331
+ response:
332
+ status:
333
+ code: 200
334
+ message: OK
335
+ headers:
336
+ Cache-Control:
337
+ - must-revalidate, max-age=900
338
+ Content-Type:
339
+ - application/json;charset=utf-8
340
+ Expires:
341
+ - Mon, 14 Sep 2015 23:51:47 GMT
342
+ Last-Modified:
343
+ - Mon, 14 Sep 2015 23:36:47 GMT
344
+ Server:
345
+ - tsa_b
346
+ X-Connection-Hash:
347
+ - cb66cffe7fa43dbf90b1192189d730bf
348
+ X-Response-Time:
349
+ - '6'
350
+ Content-Length:
351
+ - '52'
352
+ Accept-Ranges:
353
+ - bytes
354
+ Date:
355
+ - Mon, 14 Sep 2015 23:36:48 GMT
356
+ Via:
357
+ - 1.1 varnish
358
+ Age:
359
+ - '1'
360
+ Connection:
361
+ - keep-alive
362
+ X-Served-By:
363
+ - cache-tw-nyc1-cr1-11-TWNYC1
364
+ X-Cache:
365
+ - HIT
366
+ X-Cache-Hits:
367
+ - '1'
368
+ Vary:
369
+ - Accept-Encoding
370
+ body:
371
+ encoding: UTF-8
372
+ string: '{"count":24665189,"url":"http:\/\/www.google.com\/"}'
373
+ http_version:
374
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
375
+ - request:
376
+ method: get
377
+ uri: http://api.pinterest.com/v1/urls/count.json?callback=_&url=http://www.google.com
378
+ body:
379
+ encoding: US-ASCII
380
+ string: ''
381
+ headers:
382
+ User-Agent:
383
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
384
+ like Gecko) Version/5.1.6 Safari/534.56.5
385
+ response:
386
+ status:
387
+ code: 200
388
+ message: OK
389
+ headers:
390
+ Accept-Ranges:
391
+ - bytes
392
+ Age:
393
+ - '0'
394
+ Cache-Control:
395
+ - private
396
+ Content-Type:
397
+ - application/javascript
398
+ Date:
399
+ - Mon, 14 Sep 2015 23:36:48 GMT
400
+ Expires:
401
+ - Mon, 14 Sep 2015 23:51:48 GMT
402
+ Via:
403
+ - 1.1 varnish
404
+ X-Pinterest-Rid:
405
+ - '860700798117'
406
+ X-Varnish:
407
+ - '3120031947'
408
+ Content-Length:
409
+ - '48'
410
+ Connection:
411
+ - keep-alive
412
+ body:
413
+ encoding: UTF-8
414
+ string: _({"url":"http://www.google.com","count":75108})
415
+ http_version:
416
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
210
417
  - request:
211
418
  method: get
212
- uri: https://www.linkedin.com/countserv/count/share?url=www.google.com&callback=_&format=json
419
+ uri: https://www.linkedin.com/countserv/count/share?callback=_&format=json&url=www.google.com
213
420
  body:
214
421
  encoding: US-ASCII
215
422
  string: ''
216
423
  headers:
217
- user-agent:
424
+ User-Agent:
218
425
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
219
426
  like Gecko) Version/5.1.6 Safari/534.56.5
220
427
  response:
@@ -222,44 +429,123 @@ http_interactions:
222
429
  code: 200
223
430
  message: OK
224
431
  headers:
225
- server:
432
+ Server:
226
433
  - Apache-Coyote/1.1
227
- content-type:
434
+ Content-Type:
228
435
  - application/json;charset=UTF-8
229
- content-length:
436
+ Content-Length:
230
437
  - '74'
231
- vary:
438
+ Vary:
232
439
  - Accept-Encoding
233
- date:
234
- - Mon, 15 Dec 2014 20:52:34 GMT
235
- x-frame-options:
440
+ Date:
441
+ - Mon, 14 Sep 2015 23:36:47 GMT
442
+ X-Frame-Options:
236
443
  - sameorigin
237
- x-content-type-options:
444
+ X-Content-Type-Options:
238
445
  - nosniff
239
- x-xss-protection:
446
+ X-Xss-Protection:
240
447
  - 1; mode=block
241
- x-li-fabric:
242
- - prod-ltx1
243
- strict-transport-security:
448
+ X-Li-Fabric:
449
+ - prod-lva1
450
+ Strict-Transport-Security:
244
451
  - max-age=0
245
- pragma:
452
+ Pragma:
246
453
  - no-cache
247
- expires:
454
+ Expires:
248
455
  - Thu, 01 Jan 1970 00:00:00 GMT
249
- cache-control:
456
+ Cache-Control:
250
457
  - no-cache, no-store
251
- x-li-pop:
252
- - PROD-IDB2
253
- x-li-uuid:
254
- - YZcC9v0msBOg4JUkeisAAA==
255
- set-cookie:
256
- - lidc="b=TB21:g=19:u=1:i=1418676754:t=1418763154:s=498524689"; Expires=Tue,
257
- 16 Dec 2014 20:52:34 GMT; domain=.linkedin.com; Path=/
458
+ Connection:
459
+ - keep-alive
460
+ X-Li-Pop:
461
+ - prod-lva1
462
+ X-Li-Uuid:
463
+ - UqM3HmP8AxTQMquZzyoAAA==
464
+ Set-Cookie:
465
+ - lidc="b=VB84:g=218:u=1:i=1442273808:t=1442360208:s=AQHSSdNuG8GY364XtQ8nliehwbn70DBA";
466
+ Expires=Tue, 15 Sep 2015 23:36:48 GMT; domain=.linkedin.com; Path=/
467
+ body:
468
+ encoding: UTF-8
469
+ string: '{"count":2712,"fCnt":"2,712","fCntPlusOne":"2,713","url":"www.google.com"}'
470
+ http_version:
471
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
472
+ - request:
473
+ method: get
474
+ uri: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=www.google.com
475
+ body:
476
+ encoding: US-ASCII
477
+ string: ''
478
+ headers:
479
+ User-Agent:
480
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
481
+ like Gecko) Version/5.1.6 Safari/534.56.5
482
+ response:
483
+ status:
484
+ code: 200
485
+ message: OK
486
+ headers:
487
+ Server:
488
+ - Apache
489
+ P3p:
490
+ - policyref="/w3c/p3p.xml", CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT
491
+ DEM STA PRE COM NAV OTC NOI DSP COR"
492
+ Vary:
493
+ - Accept-Encoding
494
+ Content-Type:
495
+ - text/plain; charset=iso-8859-1
496
+ Content-Length:
497
+ - '521'
498
+ Accept-Ranges:
499
+ - bytes
500
+ Date:
501
+ - Mon, 14 Sep 2015 23:36:48 GMT
502
+ Age:
503
+ - '0'
504
+ Connection:
505
+ - keep-alive
258
506
  body:
259
507
  encoding: UTF-8
260
- string: '{"count":1023,"fCnt":"1,023","fCntPlusOne":"1,024","url":"www.google.com"}'
261
- http_version: '1.1'
262
- recorded_at: Mon, 15 Dec 2014 20:52:34 GMT
508
+ string: '{"result":{"url":"http:\/\/www.google.com\/","in_index":true,"publicid":"2pI1xR","views":255199,"title":"Google","thumbnail":"http:\/\/cdn.stumble-upon.com\/mthumb\/31\/10031.jpg","thumbnail_b":"http:\/\/cdn.stumble-upon.com\/bthumb\/31\/10031.jpg","submit_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","badge_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","info_link":"http:\/\/www.stumbleupon.com\/url\/www.google.com\/"},"timestamp":1442273808,"success":true}'
509
+ http_version:
510
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
511
+ - request:
512
+ method: get
513
+ uri: http://vk.com/share.php?act=count&url=http://www.google.com
514
+ body:
515
+ encoding: US-ASCII
516
+ string: ''
517
+ headers:
518
+ User-Agent:
519
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
520
+ like Gecko) Version/5.1.6 Safari/534.56.5
521
+ response:
522
+ status:
523
+ code: 200
524
+ message: OK
525
+ headers:
526
+ Server:
527
+ - Apache
528
+ Date:
529
+ - Mon, 14 Sep 2015 23:36:48 GMT
530
+ Content-Type:
531
+ - text/html; charset=windows-1251
532
+ Content-Length:
533
+ - '24'
534
+ Connection:
535
+ - keep-alive
536
+ X-Powered-By:
537
+ - PHP/3.17085
538
+ Set-Cookie:
539
+ - remixlang=3; expires=Tue, 13 Sep 2016 12:14:07 GMT; path=/; domain=.vk.com
540
+ Pragma:
541
+ - no-cache
542
+ Cache-Control:
543
+ - no-store
544
+ body:
545
+ encoding: UTF-8
546
+ string: VK.Share.count(0, 4352);
547
+ http_version:
548
+ recorded_at: Mon, 14 Sep 2015 23:36:48 GMT
263
549
  - request:
264
550
  method: get
265
551
  uri: http://www.stumbleupon.com/services/1.01/badge.getinfo?url=www.google.com
@@ -267,7 +553,7 @@ http_interactions:
267
553
  encoding: US-ASCII
268
554
  string: ''
269
555
  headers:
270
- user-agent:
556
+ User-Agent:
271
557
  - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
272
558
  like Gecko) Version/5.1.6 Safari/534.56.5
273
559
  response:
@@ -275,28 +561,160 @@ http_interactions:
275
561
  code: 200
276
562
  message: OK
277
563
  headers:
278
- server:
564
+ Server:
279
565
  - Apache
280
- p3p:
566
+ P3p:
281
567
  - policyref="/w3c/p3p.xml", CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT
282
568
  DEM STA PRE COM NAV OTC NOI DSP COR"
283
- vary:
569
+ Vary:
284
570
  - Accept-Encoding
285
- content-type:
571
+ Content-Type:
286
572
  - text/plain; charset=iso-8859-1
287
- content-length:
573
+ Content-Length:
288
574
  - '521'
289
- accept-ranges:
575
+ Accept-Ranges:
290
576
  - bytes
291
- date:
292
- - Mon, 15 Dec 2014 20:52:34 GMT
293
- age:
577
+ Date:
578
+ - Mon, 14 Sep 2015 23:36:49 GMT
579
+ Age:
294
580
  - '0'
295
- connection:
296
- - close
581
+ Connection:
582
+ - keep-alive
583
+ body:
584
+ encoding: UTF-8
585
+ string: '{"result":{"url":"http:\/\/www.google.com\/","in_index":true,"publicid":"2pI1xR","views":255199,"title":"Google","thumbnail":"http:\/\/cdn.stumble-upon.com\/mthumb\/31\/10031.jpg","thumbnail_b":"http:\/\/cdn.stumble-upon.com\/bthumb\/31\/10031.jpg","submit_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","badge_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","info_link":"http:\/\/www.stumbleupon.com\/url\/www.google.com\/"},"timestamp":1442273809,"success":true}'
586
+ http_version:
587
+ recorded_at: Mon, 14 Sep 2015 23:36:49 GMT
588
+ - request:
589
+ method: get
590
+ uri: https://www.linkedin.com/countserv/count/share?callback=_&format=json&url=www.google.com
591
+ body:
592
+ encoding: US-ASCII
593
+ string: ''
594
+ headers:
595
+ User-Agent:
596
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
597
+ like Gecko) Version/5.1.6 Safari/534.56.5
598
+ response:
599
+ status:
600
+ code: 200
601
+ message: OK
602
+ headers:
603
+ Server:
604
+ - Apache-Coyote/1.1
605
+ Content-Type:
606
+ - application/json;charset=UTF-8
607
+ Content-Length:
608
+ - '74'
609
+ Vary:
610
+ - Accept-Encoding
611
+ Date:
612
+ - Mon, 14 Sep 2015 23:36:48 GMT
613
+ X-Frame-Options:
614
+ - sameorigin
615
+ X-Content-Type-Options:
616
+ - nosniff
617
+ X-Xss-Protection:
618
+ - 1; mode=block
619
+ X-Li-Fabric:
620
+ - prod-lva1
621
+ Strict-Transport-Security:
622
+ - max-age=0
623
+ Pragma:
624
+ - no-cache
625
+ Expires:
626
+ - Thu, 01 Jan 1970 00:00:00 GMT
627
+ Cache-Control:
628
+ - no-cache, no-store
629
+ Connection:
630
+ - keep-alive
631
+ X-Li-Pop:
632
+ - prod-lva1
633
+ X-Li-Uuid:
634
+ - HdKTQmP8AxQwejmr0CoAAA==
635
+ Set-Cookie:
636
+ - lidc="b=VB84:g=218:u=1:i=1442273808:t=1442360208:s=AQHSSdNuG8GY364XtQ8nliehwbn70DBA";
637
+ Expires=Tue, 15 Sep 2015 23:36:48 GMT; domain=.linkedin.com; Path=/
638
+ body:
639
+ encoding: UTF-8
640
+ string: '{"count":2712,"fCnt":"2,712","fCntPlusOne":"2,713","url":"www.google.com"}'
641
+ http_version:
642
+ recorded_at: Mon, 14 Sep 2015 23:36:49 GMT
643
+ - request:
644
+ method: get
645
+ uri: http://vk.com/share.php?act=count&url=http://www.google.com
646
+ body:
647
+ encoding: US-ASCII
648
+ string: ''
649
+ headers:
650
+ User-Agent:
651
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
652
+ like Gecko) Version/5.1.6 Safari/534.56.5
653
+ response:
654
+ status:
655
+ code: 200
656
+ message: OK
657
+ headers:
658
+ Server:
659
+ - Apache
660
+ Date:
661
+ - Mon, 14 Sep 2015 23:36:49 GMT
662
+ Content-Type:
663
+ - text/html; charset=windows-1251
664
+ Content-Length:
665
+ - '24'
666
+ Connection:
667
+ - keep-alive
668
+ X-Powered-By:
669
+ - PHP/3.17085
670
+ Set-Cookie:
671
+ - remixlang=3; expires=Mon, 12 Sep 2016 04:01:41 GMT; path=/; domain=.vk.com
672
+ Pragma:
673
+ - no-cache
674
+ Cache-Control:
675
+ - no-store
297
676
  body:
298
677
  encoding: UTF-8
299
- string: '{"result":{"url":"http:\/\/www.google.com\/","in_index":true,"publicid":"2pI1xR","views":255079,"title":"Google","thumbnail":"http:\/\/cdn.stumble-upon.com\/mthumb\/31\/10031.jpg","thumbnail_b":"http:\/\/cdn.stumble-upon.com\/bthumb\/31\/10031.jpg","submit_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","badge_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/www.google.com\/","info_link":"http:\/\/www.stumbleupon.com\/url\/www.google.com\/"},"timestamp":1418676754,"success":true}'
300
- http_version: '1.1'
301
- recorded_at: Mon, 15 Dec 2014 20:52:35 GMT
678
+ string: VK.Share.count(0, 4352);
679
+ http_version:
680
+ recorded_at: Mon, 14 Sep 2015 23:36:49 GMT
681
+ - request:
682
+ method: get
683
+ uri: http://share.yandex.ru/gpp.xml?url=http://www.google.com
684
+ body:
685
+ encoding: US-ASCII
686
+ string: ''
687
+ headers:
688
+ User-Agent:
689
+ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.56.5 (KHTML,
690
+ like Gecko) Version/5.1.6 Safari/534.56.5
691
+ response:
692
+ status:
693
+ code: 200
694
+ message: OK
695
+ headers:
696
+ Server:
697
+ - nginx/1.6.3
698
+ Date:
699
+ - Mon, 14 Sep 2015 23:36:49 GMT
700
+ Content-Type:
701
+ - text/javascript; charset=utf-8
702
+ Transfer-Encoding:
703
+ - chunked
704
+ Connection:
705
+ - keep-alive
706
+ Cache-Control:
707
+ - max-age=0, must-revalidate, proxy-revalidate, no-cache, no-store, private
708
+ Expires:
709
+ - Mon, 14 Sep 2015 23:36:49 GMT
710
+ Pragma:
711
+ - no-cache
712
+ Set-Cookie:
713
+ - yandexuid=9824469191442273809; domain=.yandex.ru; path=/; expires=Tue, 19
714
+ Jan 2038 03:14:07 GMT
715
+ body:
716
+ encoding: UTF-8
717
+ string: services.gplus.cb("10000");
718
+ http_version:
719
+ recorded_at: Mon, 14 Sep 2015 23:36:49 GMT
302
720
  recorded_with: VCR 2.9.3