PageRankr 4.4.1 → 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +3 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -2
- data/PageRankr.gemspec +3 -2
- data/README.md +2 -0
- data/lib/page_rankr/backlinks.rb +1 -2
- data/lib/page_rankr/backlinks/yahoo.rb +1 -1
- data/lib/page_rankr/indexes/yahoo.rb +1 -1
- data/lib/page_rankr/ranks/alexa_country.rb +4 -4
- data/lib/page_rankr/ranks/alexa_global.rb +4 -4
- data/lib/page_rankr/ranks/alexa_us.rb +2 -2
- data/lib/page_rankr/ranks/domain_authority.rb +4 -4
- data/lib/page_rankr/ranks/page_authority.rb +5 -5
- data/lib/page_rankr/site.rb +4 -4
- data/lib/page_rankr/version.rb +1 -1
- data/spec/backlinks/bing_spec.rb +21 -0
- data/spec/backlinks/google_spec.rb +20 -0
- data/spec/backlinks/yahoo_spec.rb +21 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_match/.yml +2346 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Bing/_run/with_no_match/.yml +1493 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_match/.yml +1788 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Google/_run/with_no_match/.yml +57 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_match/.yml +1929 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Backlinks_Yahoo/_run/with_no_match/.yml +642 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_match/.yml +1648 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Bing/_run/with_no_match/.yml +1312 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_match/.yml +1769 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Google/_run/with_no_match/.yml +57 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_match/.yml +2062 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Indexes_Yahoo/_run/with_no_match/.yml +553 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_match/.yml +45 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaCountry/_run/with_no_match/.yml +37 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_match/.yml +45 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaGlobal/_run/with_no_match/.yml +37 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_match/.yml +45 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_AlexaUs/_run/with_no_match/.yml +37 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_DomainAuthority/_run/with_no_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_Google/_run/with_no_match/.yml +49 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_match/.yml +92 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_MozRank/_run/with_no_match/.yml +93 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Ranks_PageAuthority/_run/with_no_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_match/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Facebook/_run/with_no_match/.yml +52 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_match/.yml +42 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Google/_run/with_no_match/.yml +42 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_match/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_LinkedIn/_run/with_no_match/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_match/.yml +45 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Pinterest/_run/with_no_match/.yml +45 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_match/.yml +42 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_StumbleUpon/_run/with_no_match/.yml +42 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_match/.yml +57 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Twitter/_run/with_no_match/.yml +57 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_match/.yml +41 -0
- data/spec/fixtures/vcr_cassettes/PageRankr_Socials_Vk/_run/with_no_match/.yml +41 -0
- data/spec/fixtures/vcr_cassettes/alexa_ranks_edge_case_1.yml +91 -208
- data/spec/fixtures/vcr_cassettes/failure_socials.yml +233 -170
- data/spec/fixtures/vcr_cassettes/success_socials.yml +578 -160
- data/spec/indexes/bing_spec.rb +20 -0
- data/spec/indexes/google_spec.rb +20 -0
- data/spec/indexes/yahoo_spec.rb +20 -0
- data/spec/page_rankr_spec.rb +10 -169
- data/spec/proxy_services/random_spec.rb +2 -2
- data/spec/proxy_services/round_robin_spec.rb +4 -4
- data/spec/ranks/alexa_country_spec.rb +20 -0
- data/spec/ranks/alexa_global_spec.rb +20 -0
- data/spec/ranks/alexa_us_spec.rb +20 -0
- data/spec/ranks/domain_authority_spec.rb +21 -0
- data/spec/ranks/google/checksum_spec.rb +2 -2
- data/spec/ranks/google_spec.rb +20 -0
- data/spec/ranks/moz_rank_spec.rb +21 -0
- data/spec/ranks/page_authority_spec.rb +21 -0
- data/spec/site_spec.rb +3 -3
- data/spec/socials/facebook_spec.rb +20 -0
- data/spec/socials/google_spec.rb +20 -0
- data/spec/socials/linkedin_spec.rb +20 -0
- data/spec/socials/pinterest_spec.rb +20 -0
- data/spec/socials/stumble_upon_spec.rb +20 -0
- data/spec/socials/twitter_spec.rb +20 -0
- data/spec/socials/vk_spec.rb +20 -0
- data/spec/spec_helper.rb +7 -13
- data/spec/support/custom_matchers.rb +39 -0
- metadata +142 -23
- data/lib/page_rankr/backlinks/alexa.rb +0 -25
- data/spec/edge_cases_spec.rb +0 -26
- data/spec/fixtures/vcr_cassettes/failure_backlinks.yml +0 -1740
- data/spec/fixtures/vcr_cassettes/failure_indexes.yml +0 -1705
- data/spec/fixtures/vcr_cassettes/failure_ranks.yml +0 -422
- data/spec/fixtures/vcr_cassettes/success_backlinks.yml +0 -7651
- data/spec/fixtures/vcr_cassettes/success_indexes.yml +0 -7295
- data/spec/fixtures/vcr_cassettes/success_ranks.yml +0 -652
- data/spec/socials_spec.rb +0 -66
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://share.yandex.ru/gpp.xml?url=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
|
+
Server:
|
19
|
+
- nginx/1.6.3
|
20
|
+
Date:
|
21
|
+
- Mon, 14 Sep 2015 23:07:03 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:03 GMT
|
32
|
+
Pragma:
|
33
|
+
- no-cache
|
34
|
+
Set-Cookie:
|
35
|
+
- yandexuid=3954987571442272023; 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("0");
|
40
|
+
http_version:
|
41
|
+
recorded_at: Mon, 14 Sep 2015 23:07:03 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.linkedin.com/countserv/count/share?callback=_&format=json&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
|
+
Server:
|
19
|
+
- Apache-Coyote/1.1
|
20
|
+
Content-Type:
|
21
|
+
- application/json;charset=UTF-8
|
22
|
+
Content-Length:
|
23
|
+
- '74'
|
24
|
+
Vary:
|
25
|
+
- Accept-Encoding
|
26
|
+
Date:
|
27
|
+
- Mon, 14 Sep 2015 23:08:33 GMT
|
28
|
+
X-Frame-Options:
|
29
|
+
- sameorigin
|
30
|
+
X-Content-Type-Options:
|
31
|
+
- nosniff
|
32
|
+
X-Xss-Protection:
|
33
|
+
- 1; mode=block
|
34
|
+
X-Li-Fabric:
|
35
|
+
- prod-lva1
|
36
|
+
Strict-Transport-Security:
|
37
|
+
- max-age=0
|
38
|
+
Pragma:
|
39
|
+
- no-cache
|
40
|
+
Expires:
|
41
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
42
|
+
Cache-Control:
|
43
|
+
- no-cache, no-store
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
|
+
X-Li-Pop:
|
47
|
+
- prod-lva1
|
48
|
+
X-Li-Uuid:
|
49
|
+
- LBOChNj6AxRA+7a4ySoAAA==
|
50
|
+
Set-Cookie:
|
51
|
+
- lidc="b=VB84:g=218:u=1:i=1442272113:t=1442358513:s=AQESPqpfsNryFNRa9R-iifvEPrvUs8NQ";
|
52
|
+
Expires=Tue, 15 Sep 2015 23:08:33 GMT; domain=.linkedin.com; Path=/
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"count":2712,"fCnt":"2,712","fCntPlusOne":"2,713","url":"www.google.com"}'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Mon, 14 Sep 2015 23:08:33 GMT
|
58
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.linkedin.com/countserv/count/share?callback=_&format=json&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
|
+
Server:
|
19
|
+
- Apache-Coyote/1.1
|
20
|
+
Content-Type:
|
21
|
+
- application/json;charset=UTF-8
|
22
|
+
Content-Length:
|
23
|
+
- '102'
|
24
|
+
Vary:
|
25
|
+
- Accept-Encoding
|
26
|
+
Date:
|
27
|
+
- Mon, 14 Sep 2015 23:08:34 GMT
|
28
|
+
X-Frame-Options:
|
29
|
+
- sameorigin
|
30
|
+
X-Content-Type-Options:
|
31
|
+
- nosniff
|
32
|
+
X-Xss-Protection:
|
33
|
+
- 1; mode=block
|
34
|
+
X-Li-Fabric:
|
35
|
+
- prod-lva1
|
36
|
+
Strict-Transport-Security:
|
37
|
+
- max-age=0
|
38
|
+
Pragma:
|
39
|
+
- no-cache
|
40
|
+
Expires:
|
41
|
+
- Thu, 01 Jan 1970 00:00:00 GMT
|
42
|
+
Cache-Control:
|
43
|
+
- no-cache, no-store
|
44
|
+
Connection:
|
45
|
+
- keep-alive
|
46
|
+
X-Li-Pop:
|
47
|
+
- prod-lva1
|
48
|
+
X-Li-Uuid:
|
49
|
+
- F5yZy9j6AxQQBm+FyioAAA==
|
50
|
+
Set-Cookie:
|
51
|
+
- lidc="b=VB84:g=218:u=1:i=1442272114:t=1442358514:s=AQFgFZf5aG4P_k6gTEFFZqhdq7qWwU1-";
|
52
|
+
Expires=Tue, 15 Sep 2015 23:08:34 GMT; domain=.linkedin.com; Path=/
|
53
|
+
body:
|
54
|
+
encoding: UTF-8
|
55
|
+
string: '{"count":0,"fCnt":"0","fCntPlusOne":"1","url":"please-dont-register-a-site-that-breaks-this-test.com"}'
|
56
|
+
http_version:
|
57
|
+
recorded_at: Mon, 14 Sep 2015 23:08:35 GMT
|
58
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.pinterest.com/v1/urls/count.json?callback=_&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
|
+
Accept-Ranges:
|
19
|
+
- bytes
|
20
|
+
Age:
|
21
|
+
- '0'
|
22
|
+
Cache-Control:
|
23
|
+
- private
|
24
|
+
Content-Type:
|
25
|
+
- application/javascript
|
26
|
+
Date:
|
27
|
+
- Mon, 14 Sep 2015 23:09:12 GMT
|
28
|
+
Expires:
|
29
|
+
- Mon, 14 Sep 2015 23:24:12 GMT
|
30
|
+
Via:
|
31
|
+
- 1.1 varnish
|
32
|
+
X-Pinterest-Rid:
|
33
|
+
- '477570246177'
|
34
|
+
X-Varnish:
|
35
|
+
- '509056434'
|
36
|
+
Content-Length:
|
37
|
+
- '48'
|
38
|
+
Connection:
|
39
|
+
- keep-alive
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: _({"url":"http://www.google.com","count":75108})
|
43
|
+
http_version:
|
44
|
+
recorded_at: Mon, 14 Sep 2015 23:09:12 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.pinterest.com/v1/urls/count.json?callback=_&url=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
|
+
Accept-Ranges:
|
19
|
+
- bytes
|
20
|
+
Age:
|
21
|
+
- '0'
|
22
|
+
Cache-Control:
|
23
|
+
- private
|
24
|
+
Content-Type:
|
25
|
+
- application/javascript
|
26
|
+
Date:
|
27
|
+
- Mon, 14 Sep 2015 23:09:12 GMT
|
28
|
+
Expires:
|
29
|
+
- Mon, 14 Sep 2015 23:24:12 GMT
|
30
|
+
Via:
|
31
|
+
- 1.1 varnish
|
32
|
+
X-Pinterest-Rid:
|
33
|
+
- '768050792038'
|
34
|
+
X-Varnish:
|
35
|
+
- '202220381'
|
36
|
+
Content-Length:
|
37
|
+
- '83'
|
38
|
+
Connection:
|
39
|
+
- keep-alive
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: _({"url":"http://please-dont-register-a-site-that-breaks-this-test.com","count":0})
|
43
|
+
http_version:
|
44
|
+
recorded_at: Mon, 14 Sep 2015 23:09:12 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.stumbleupon.com/services/1.01/badge.getinfo?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
|
+
Server:
|
19
|
+
- Apache
|
20
|
+
P3p:
|
21
|
+
- policyref="/w3c/p3p.xml", CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT
|
22
|
+
DEM STA PRE COM NAV OTC NOI DSP COR"
|
23
|
+
Vary:
|
24
|
+
- Accept-Encoding
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=iso-8859-1
|
27
|
+
Content-Length:
|
28
|
+
- '521'
|
29
|
+
Accept-Ranges:
|
30
|
+
- bytes
|
31
|
+
Date:
|
32
|
+
- Mon, 14 Sep 2015 23:09:50 GMT
|
33
|
+
Age:
|
34
|
+
- '0'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
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":1442272190,"success":true}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Mon, 14 Sep 2015 23:09:51 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.stumbleupon.com/services/1.01/badge.getinfo?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
|
+
Server:
|
19
|
+
- Apache
|
20
|
+
P3p:
|
21
|
+
- policyref="/w3c/p3p.xml", CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT
|
22
|
+
DEM STA PRE COM NAV OTC NOI DSP COR"
|
23
|
+
Vary:
|
24
|
+
- Accept-Encoding
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=iso-8859-1
|
27
|
+
Content-Length:
|
28
|
+
- '140'
|
29
|
+
Accept-Ranges:
|
30
|
+
- bytes
|
31
|
+
Date:
|
32
|
+
- Mon, 14 Sep 2015 23:09:51 GMT
|
33
|
+
Age:
|
34
|
+
- '0'
|
35
|
+
Connection:
|
36
|
+
- keep-alive
|
37
|
+
body:
|
38
|
+
encoding: UTF-8
|
39
|
+
string: '{"result":{"url":"http:\/\/please-dont-register-a-site-that-breaks-this-test.com\/","in_index":false},"timestamp":1442272191,"success":true}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Mon, 14 Sep 2015 23:09:51 GMT
|
42
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://urls.api.twitter.com/1/urls/count.json?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
|
+
Cache-Control:
|
19
|
+
- must-revalidate, max-age=900
|
20
|
+
Content-Type:
|
21
|
+
- application/json;charset=utf-8
|
22
|
+
Expires:
|
23
|
+
- Mon, 14 Sep 2015 23:25:19 GMT
|
24
|
+
Last-Modified:
|
25
|
+
- Mon, 14 Sep 2015 23:10:19 GMT
|
26
|
+
Server:
|
27
|
+
- tsa_b
|
28
|
+
X-Connection-Hash:
|
29
|
+
- 67137b015d08ab5c644ba9f20d2495c6
|
30
|
+
X-Response-Time:
|
31
|
+
- '4'
|
32
|
+
Content-Length:
|
33
|
+
- '52'
|
34
|
+
Accept-Ranges:
|
35
|
+
- bytes
|
36
|
+
Date:
|
37
|
+
- Mon, 14 Sep 2015 23:10:19 GMT
|
38
|
+
Via:
|
39
|
+
- 1.1 varnish
|
40
|
+
Age:
|
41
|
+
- '0'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
X-Served-By:
|
45
|
+
- cache-tw-nyc1-cr1-9-TWNYC1
|
46
|
+
X-Cache:
|
47
|
+
- MISS
|
48
|
+
X-Cache-Hits:
|
49
|
+
- '0'
|
50
|
+
Vary:
|
51
|
+
- Accept-Encoding
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: '{"count":24663560,"url":"http:\/\/www.google.com\/"}'
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 14 Sep 2015 23:10:19 GMT
|
57
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://urls.api.twitter.com/1/urls/count.json?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
|
+
Cache-Control:
|
19
|
+
- must-revalidate, max-age=900
|
20
|
+
Content-Type:
|
21
|
+
- application/json;charset=utf-8
|
22
|
+
Expires:
|
23
|
+
- Mon, 14 Sep 2015 23:25:19 GMT
|
24
|
+
Last-Modified:
|
25
|
+
- Mon, 14 Sep 2015 23:10:19 GMT
|
26
|
+
Server:
|
27
|
+
- tsa_b
|
28
|
+
X-Connection-Hash:
|
29
|
+
- 293701b2f24705addfec3f27ea2c84fe
|
30
|
+
X-Response-Time:
|
31
|
+
- '5'
|
32
|
+
Content-Length:
|
33
|
+
- '84'
|
34
|
+
Accept-Ranges:
|
35
|
+
- bytes
|
36
|
+
Date:
|
37
|
+
- Mon, 14 Sep 2015 23:10:19 GMT
|
38
|
+
Via:
|
39
|
+
- 1.1 varnish
|
40
|
+
Age:
|
41
|
+
- '0'
|
42
|
+
Connection:
|
43
|
+
- keep-alive
|
44
|
+
X-Served-By:
|
45
|
+
- cache-tw-nyc1-cr1-7-TWNYC1
|
46
|
+
X-Cache:
|
47
|
+
- MISS
|
48
|
+
X-Cache-Hits:
|
49
|
+
- '0'
|
50
|
+
Vary:
|
51
|
+
- Accept-Encoding
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: '{"count":0,"url":"http:\/\/please-dont-register-a-site-that-breaks-this-test.com\/"}'
|
55
|
+
http_version:
|
56
|
+
recorded_at: Mon, 14 Sep 2015 23:10:19 GMT
|
57
|
+
recorded_with: VCR 2.9.3
|