video_info 2.0.2 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -2
- data/README.md +2 -0
- data/lib/video_info.rb +1 -0
- data/lib/video_info/provider.rb +13 -0
- data/lib/video_info/providers/vimeo.rb +9 -1
- data/lib/video_info/providers/vkontakte.rb +16 -0
- data/lib/video_info/providers/youtube.rb +9 -1
- data/lib/video_info/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/available_/.yml +50 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/available_/.yml +50 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/available_/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/date/.yml +33 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/description/.yml +32 -27
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/duration/.yml +32 -27
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/height/.yml +31 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/keywords/.yml +32 -27
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_large/.yml +30 -25
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_medium/.yml +30 -25
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_small/.yml +31 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/title/.yml +31 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/view_count/.yml +31 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/width/.yml +31 -26
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/available_/.yml +147 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/available_/.yml +1115 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/title/.yml +1255 -1701
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/description/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/duration/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_code/.yml +1072 -1112
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_url/.yml +1072 -1112
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/height/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/keywords/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/title/.yml +1029 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/view_count/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/width/.yml +1070 -1110
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/available_/.yml +56 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/available_/.yml +46 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/available_/.yml +46 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/date/.yml +16 -18
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/description/.yml +17 -19
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/duration/.yml +16 -18
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/keywords/.yml +19 -19
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_large/.yml +16 -18
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_medium/.yml +16 -18
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_small/.yml +16 -18
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/title/.yml +16 -16
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/view_count/.yml +16 -18
- data/spec/lib/video_info/providers/vimeo_spec.rb +17 -0
- data/spec/lib/video_info/providers/vkontakte_spec.rb +15 -2
- data/spec/lib/video_info/providers/youtube_spec.rb +18 -1
- metadata +39 -23
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?alt=json&v=2
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
X-Gdata-User-Country:
|
20
|
+
- GB
|
21
|
+
Content-Type:
|
22
|
+
- application/json; charset=UTF-8
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
Expires:
|
26
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
27
|
+
Date:
|
28
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
29
|
+
Cache-Control:
|
30
|
+
- private, max-age=300, no-transform
|
31
|
+
Vary:
|
32
|
+
- "*"
|
33
|
+
Gdata-Version:
|
34
|
+
- '2.1'
|
35
|
+
Etag:
|
36
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
37
|
+
Last-Modified:
|
38
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
39
|
+
Content-Length:
|
40
|
+
- '4594'
|
41
|
+
X-Content-Type-Options:
|
42
|
+
- nosniff
|
43
|
+
X-Frame-Options:
|
44
|
+
- SAMEORIGIN
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Server:
|
48
|
+
- GSE
|
49
|
+
Alternate-Protocol:
|
50
|
+
- 80:quic
|
51
|
+
body:
|
52
|
+
encoding: UTF-8
|
53
|
+
string: ''
|
54
|
+
http_version:
|
55
|
+
recorded_at: Wed, 19 Feb 2014 14:59:50 GMT
|
56
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: http://gdata.youtube.com/feeds/api/videos/SUkXvWn1m7Q?alt=json&v=2
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 404
|
17
|
+
message: Not Found
|
18
|
+
headers:
|
19
|
+
X-Gdata-User-Country:
|
20
|
+
- GB
|
21
|
+
Content-Type:
|
22
|
+
- application/vnd.google.gdata.error+xml
|
23
|
+
Content-Length:
|
24
|
+
- '181'
|
25
|
+
Date:
|
26
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
27
|
+
Expires:
|
28
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
29
|
+
Cache-Control:
|
30
|
+
- private, max-age=0
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
Server:
|
38
|
+
- GSE
|
39
|
+
Alternate-Protocol:
|
40
|
+
- 80:quic
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: ''
|
44
|
+
http_version:
|
45
|
+
recorded_at: Wed, 19 Feb 2014 14:59:50 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: http://gdata.youtube.com/feeds/api/videos/ffClNhwx0KU?alt=json&v=2
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 403
|
17
|
+
message: Forbidden
|
18
|
+
headers:
|
19
|
+
X-Gdata-User-Country:
|
20
|
+
- GB
|
21
|
+
Content-Type:
|
22
|
+
- application/vnd.google.gdata.error+xml
|
23
|
+
Content-Length:
|
24
|
+
- '179'
|
25
|
+
Date:
|
26
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
27
|
+
Expires:
|
28
|
+
- Wed, 19 Feb 2014 14:59:50 GMT
|
29
|
+
Cache-Control:
|
30
|
+
- private, max-age=0
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Frame-Options:
|
34
|
+
- SAMEORIGIN
|
35
|
+
X-Xss-Protection:
|
36
|
+
- 1; mode=block
|
37
|
+
Server:
|
38
|
+
- GSE
|
39
|
+
Alternate-Protocol:
|
40
|
+
- 80:quic
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: ''
|
44
|
+
http_version:
|
45
|
+
recorded_at: Wed, 19 Feb 2014 14:59:50 GMT
|
46
|
+
recorded_with: VCR 2.8.0
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/date/.yml
CHANGED
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.0.
|
11
|
+
- VideoInfo/2.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
15
|
-
-
|
15
|
+
- "*/*"
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -22,22 +22,20 @@ http_interactions:
|
|
22
22
|
- CH
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- '*'
|
27
25
|
Expires:
|
28
|
-
-
|
26
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
31
29
|
Cache-Control:
|
32
30
|
- private, max-age=300, no-transform
|
33
31
|
Vary:
|
34
|
-
-
|
32
|
+
- "*"
|
35
33
|
Gdata-Version:
|
36
34
|
- '2.1'
|
37
35
|
Etag:
|
38
|
-
- W/"
|
36
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
39
37
|
Last-Modified:
|
40
|
-
-
|
38
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
41
39
|
X-Content-Type-Options:
|
42
40
|
- nosniff
|
43
41
|
X-Frame-Options:
|
@@ -45,19 +43,19 @@ http_interactions:
|
|
45
43
|
X-Xss-Protection:
|
46
44
|
- 1; mode=block
|
47
45
|
Content-Length:
|
48
|
-
- '
|
46
|
+
- '4594'
|
49
47
|
Server:
|
50
48
|
- GSE
|
51
49
|
Alternate-Protocol:
|
52
50
|
- 80:quic
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string:
|
56
|
-
Bloom - King Of The Knife"}
|
57
|
-
Bloom"}
|
58
|
-
Bloom"}]
|
59
|
-
Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net"
|
60
|
-
Bloom - King Of The Knife"
|
53
|
+
string: "{\"version\":\"1.0\",\"encoding\":\"UTF-8\",\"entry\":{\"xmlns\":\"http://www.w3.org/2005/Atom\",\"xmlns$media\":\"http://search.yahoo.com/mrss/\",\"xmlns$gd\":\"http://schemas.google.com/g/2005\",\"xmlns$yt\":\"http://gdata.youtube.com/schemas/2007\",\"gd$etag\":\"W/\\\"CEQDQX47eCp7I2A9Wh9SF0U.\\\"\",\"id\":{\"$t\":\"tag:youtube.com,2008:video:mZqGqE0D0n4\"},\"published\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"updated\":{\"$t\":\"2014-02-07T14:12:50.000Z\"},\"category\":[{\"scheme\":\"http://schemas.google.com/g/2005#kind\",\"term\":\"http://gdata.youtube.com/schemas/2007#video\"},{\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\",\"term\":\"Music\",\"label\":\"Music\"}],\"title\":{\"$t\":\"Cherry
|
54
|
+
Bloom - King Of The Knife\"},\"content\":{\"type\":\"application/x-shockwave-flash\",\"src\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\"},\"link\":[{\"rel\":\"alternate\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#video.related\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/related?v=2\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#mobile\",\"type\":\"text/html\",\"href\":\"http://m.youtube.com/details?v=mZqGqE0D0n4\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#uploader\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/users/zxQk-rZGowoqMBKxGD5jSA?v=2\"},{\"rel\":\"self\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?v=2\"}],\"author\":[{\"name\":{\"$t\":\"Cherry
|
55
|
+
Bloom\"},\"uri\":{\"$t\":\"http://gdata.youtube.com/feeds/api/users/cherrybloomband\"},\"yt$userId\":{\"$t\":\"zxQk-rZGowoqMBKxGD5jSA\"}}],\"yt$accessControl\":[{\"action\":\"comment\",\"permission\":\"allowed\"},{\"action\":\"commentVote\",\"permission\":\"allowed\"},{\"action\":\"videoRespond\",\"permission\":\"moderated\"},{\"action\":\"rate\",\"permission\":\"allowed\"},{\"action\":\"embed\",\"permission\":\"allowed\"},{\"action\":\"list\",\"permission\":\"allowed\"},{\"action\":\"autoPlay\",\"permission\":\"allowed\"},{\"action\":\"syndicate\",\"permission\":\"allowed\"}],\"gd$comments\":{\"gd$feedLink\":{\"rel\":\"http://gdata.youtube.com/schemas/2007#comments\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/comments?v=2\",\"countHint\":15}},\"media$group\":{\"media$category\":[{\"$t\":\"Music\",\"label\":\"Music\",\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\"}],\"media$content\":[{\"url\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\",\"type\":\"application/x-shockwave-flash\",\"medium\":\"video\",\"isDefault\":\"true\",\"expression\":\"full\",\"duration\":176,\"yt$format\":5},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":1},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":6}],\"media$credit\":[{\"$t\":\"cherrybloomband\",\"role\":\"uploader\",\"scheme\":\"urn:youtube\",\"yt$display\":\"Cherry
|
56
|
+
Bloom\"}],\"media$description\":{\"$t\":\"The first video from the upcoming
|
57
|
+
album Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net\",\"type\":\"plain\"},\"media$keywords\":{},\"media$license\":{\"$t\":\"youtube\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/t/terms\"},\"media$player\":{\"url\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata_player\"},\"media$thumbnail\":[{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/default.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"default\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/mqdefault.jpg\",\"height\":180,\"width\":320,\"yt$name\":\"mqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/hqdefault.jpg\",\"height\":360,\"width\":480,\"yt$name\":\"hqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/1.jpg\",\"height\":90,\"width\":120,\"time\":\"00:00:44\",\"yt$name\":\"start\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/2.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"middle\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/3.jpg\",\"height\":90,\"width\":120,\"time\":\"00:02:12\",\"yt$name\":\"end\"}],\"media$title\":{\"$t\":\"Cherry
|
58
|
+
Bloom - King Of The Knife\",\"type\":\"plain\"},\"yt$duration\":{\"seconds\":\"176\"},\"yt$uploaded\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"yt$uploaderId\":{\"$t\":\"UCzxQk-rZGowoqMBKxGD5jSA\"},\"yt$videoid\":{\"$t\":\"mZqGqE0D0n4\"}},\"gd$rating\":{\"average\":4.8297873,\"max\":5,\"min\":1,\"numRaters\":47,\"rel\":\"http://schemas.google.com/g/2005#overall\"},\"yt$statistics\":{\"favoriteCount\":\"0\",\"viewCount\":\"6390\"},\"yt$rating\":{\"numDislikes\":\"2\",\"numLikes\":\"45\"}}}"
|
61
59
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR 2.
|
60
|
+
recorded_at: Thu, 20 Feb 2014 12:43:26 GMT
|
61
|
+
recorded_with: VCR 2.8.0
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/description/.yml
CHANGED
@@ -8,36 +8,34 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.0.
|
11
|
+
- VideoInfo/2.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
15
|
-
-
|
15
|
+
- "*/*"
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
20
|
headers:
|
21
21
|
X-Gdata-User-Country:
|
22
|
-
-
|
22
|
+
- GB
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- '*'
|
27
25
|
Expires:
|
28
|
-
-
|
26
|
+
- Thu, 20 Feb 2014 11:37:56 GMT
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Thu, 20 Feb 2014 11:37:56 GMT
|
31
29
|
Cache-Control:
|
32
30
|
- private, max-age=300, no-transform
|
33
31
|
Vary:
|
34
|
-
-
|
32
|
+
- "*"
|
35
33
|
Gdata-Version:
|
36
34
|
- '2.1'
|
37
35
|
Etag:
|
38
|
-
- W/"
|
36
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
39
37
|
Last-Modified:
|
40
|
-
-
|
38
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
41
39
|
X-Content-Type-Options:
|
42
40
|
- nosniff
|
43
41
|
X-Frame-Options:
|
@@ -45,19 +43,19 @@ http_interactions:
|
|
45
43
|
X-Xss-Protection:
|
46
44
|
- 1; mode=block
|
47
45
|
Content-Length:
|
48
|
-
- '
|
46
|
+
- '4594'
|
49
47
|
Server:
|
50
48
|
- GSE
|
51
49
|
Alternate-Protocol:
|
52
50
|
- 80:quic
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string:
|
56
|
-
Bloom - King Of The Knife"}
|
57
|
-
Bloom"}
|
58
|
-
Bloom"}]
|
59
|
-
Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net"
|
60
|
-
Bloom - King Of The Knife"
|
53
|
+
string: "{\"version\":\"1.0\",\"encoding\":\"UTF-8\",\"entry\":{\"xmlns\":\"http://www.w3.org/2005/Atom\",\"xmlns$media\":\"http://search.yahoo.com/mrss/\",\"xmlns$gd\":\"http://schemas.google.com/g/2005\",\"xmlns$yt\":\"http://gdata.youtube.com/schemas/2007\",\"gd$etag\":\"W/\\\"CEQDQX47eCp7I2A9Wh9SF0U.\\\"\",\"id\":{\"$t\":\"tag:youtube.com,2008:video:mZqGqE0D0n4\"},\"published\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"updated\":{\"$t\":\"2014-02-07T14:12:50.000Z\"},\"category\":[{\"scheme\":\"http://schemas.google.com/g/2005#kind\",\"term\":\"http://gdata.youtube.com/schemas/2007#video\"},{\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\",\"term\":\"Music\",\"label\":\"Music\"}],\"title\":{\"$t\":\"Cherry
|
54
|
+
Bloom - King Of The Knife\"},\"content\":{\"type\":\"application/x-shockwave-flash\",\"src\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\"},\"link\":[{\"rel\":\"alternate\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#video.related\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/related?v=2\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#mobile\",\"type\":\"text/html\",\"href\":\"http://m.youtube.com/details?v=mZqGqE0D0n4\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#uploader\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/users/zxQk-rZGowoqMBKxGD5jSA?v=2\"},{\"rel\":\"self\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?v=2\"}],\"author\":[{\"name\":{\"$t\":\"Cherry
|
55
|
+
Bloom\"},\"uri\":{\"$t\":\"http://gdata.youtube.com/feeds/api/users/cherrybloomband\"},\"yt$userId\":{\"$t\":\"zxQk-rZGowoqMBKxGD5jSA\"}}],\"yt$accessControl\":[{\"action\":\"comment\",\"permission\":\"allowed\"},{\"action\":\"commentVote\",\"permission\":\"allowed\"},{\"action\":\"videoRespond\",\"permission\":\"moderated\"},{\"action\":\"rate\",\"permission\":\"allowed\"},{\"action\":\"embed\",\"permission\":\"allowed\"},{\"action\":\"list\",\"permission\":\"allowed\"},{\"action\":\"autoPlay\",\"permission\":\"allowed\"},{\"action\":\"syndicate\",\"permission\":\"allowed\"}],\"gd$comments\":{\"gd$feedLink\":{\"rel\":\"http://gdata.youtube.com/schemas/2007#comments\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/comments?v=2\",\"countHint\":15}},\"media$group\":{\"media$category\":[{\"$t\":\"Music\",\"label\":\"Music\",\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\"}],\"media$content\":[{\"url\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\",\"type\":\"application/x-shockwave-flash\",\"medium\":\"video\",\"isDefault\":\"true\",\"expression\":\"full\",\"duration\":176,\"yt$format\":5},{\"url\":\"rtsp://r5---sn-cg07luek.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":1},{\"url\":\"rtsp://r5---sn-cg07luek.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":6}],\"media$credit\":[{\"$t\":\"cherrybloomband\",\"role\":\"uploader\",\"scheme\":\"urn:youtube\",\"yt$display\":\"Cherry
|
56
|
+
Bloom\"}],\"media$description\":{\"$t\":\"The first video from the upcoming
|
57
|
+
album Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net\",\"type\":\"plain\"},\"media$keywords\":{},\"media$license\":{\"$t\":\"youtube\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/t/terms\"},\"media$player\":{\"url\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata_player\"},\"media$thumbnail\":[{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/default.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"default\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/mqdefault.jpg\",\"height\":180,\"width\":320,\"yt$name\":\"mqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/hqdefault.jpg\",\"height\":360,\"width\":480,\"yt$name\":\"hqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/1.jpg\",\"height\":90,\"width\":120,\"time\":\"00:00:44\",\"yt$name\":\"start\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/2.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"middle\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/3.jpg\",\"height\":90,\"width\":120,\"time\":\"00:02:12\",\"yt$name\":\"end\"}],\"media$title\":{\"$t\":\"Cherry
|
58
|
+
Bloom - King Of The Knife\",\"type\":\"plain\"},\"yt$duration\":{\"seconds\":\"176\"},\"yt$uploaded\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"yt$uploaderId\":{\"$t\":\"UCzxQk-rZGowoqMBKxGD5jSA\"},\"yt$videoid\":{\"$t\":\"mZqGqE0D0n4\"}},\"gd$rating\":{\"average\":4.8297873,\"max\":5,\"min\":1,\"numRaters\":47,\"rel\":\"http://schemas.google.com/g/2005#overall\"},\"yt$statistics\":{\"favoriteCount\":\"0\",\"viewCount\":\"6390\"},\"yt$rating\":{\"numDislikes\":\"2\",\"numLikes\":\"45\"}}}"
|
61
59
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR 2.
|
60
|
+
recorded_at: Thu, 20 Feb 2014 11:38:18 GMT
|
61
|
+
recorded_with: VCR 2.8.0
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/duration/.yml
CHANGED
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.0.
|
11
|
+
- VideoInfo/2.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
15
|
-
-
|
15
|
+
- "*/*"
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -22,22 +22,20 @@ http_interactions:
|
|
22
22
|
- CH
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- '*'
|
27
25
|
Expires:
|
28
|
-
-
|
26
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
31
29
|
Cache-Control:
|
32
30
|
- private, max-age=300, no-transform
|
33
31
|
Vary:
|
34
|
-
-
|
32
|
+
- "*"
|
35
33
|
Gdata-Version:
|
36
34
|
- '2.1'
|
37
35
|
Etag:
|
38
|
-
- W/"
|
36
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
39
37
|
Last-Modified:
|
40
|
-
-
|
38
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
41
39
|
X-Content-Type-Options:
|
42
40
|
- nosniff
|
43
41
|
X-Frame-Options:
|
@@ -45,19 +43,19 @@ http_interactions:
|
|
45
43
|
X-Xss-Protection:
|
46
44
|
- 1; mode=block
|
47
45
|
Content-Length:
|
48
|
-
- '
|
46
|
+
- '4594'
|
49
47
|
Server:
|
50
48
|
- GSE
|
51
49
|
Alternate-Protocol:
|
52
50
|
- 80:quic
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string:
|
56
|
-
Bloom - King Of The Knife"}
|
57
|
-
Bloom"}
|
58
|
-
Bloom"}]
|
59
|
-
Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net"
|
60
|
-
Bloom - King Of The Knife"
|
53
|
+
string: "{\"version\":\"1.0\",\"encoding\":\"UTF-8\",\"entry\":{\"xmlns\":\"http://www.w3.org/2005/Atom\",\"xmlns$media\":\"http://search.yahoo.com/mrss/\",\"xmlns$gd\":\"http://schemas.google.com/g/2005\",\"xmlns$yt\":\"http://gdata.youtube.com/schemas/2007\",\"gd$etag\":\"W/\\\"CEQDQX47eCp7I2A9Wh9SF0U.\\\"\",\"id\":{\"$t\":\"tag:youtube.com,2008:video:mZqGqE0D0n4\"},\"published\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"updated\":{\"$t\":\"2014-02-07T14:12:50.000Z\"},\"category\":[{\"scheme\":\"http://schemas.google.com/g/2005#kind\",\"term\":\"http://gdata.youtube.com/schemas/2007#video\"},{\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\",\"term\":\"Music\",\"label\":\"Music\"}],\"title\":{\"$t\":\"Cherry
|
54
|
+
Bloom - King Of The Knife\"},\"content\":{\"type\":\"application/x-shockwave-flash\",\"src\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\"},\"link\":[{\"rel\":\"alternate\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#video.related\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/related?v=2\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#mobile\",\"type\":\"text/html\",\"href\":\"http://m.youtube.com/details?v=mZqGqE0D0n4\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#uploader\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/users/zxQk-rZGowoqMBKxGD5jSA?v=2\"},{\"rel\":\"self\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?v=2\"}],\"author\":[{\"name\":{\"$t\":\"Cherry
|
55
|
+
Bloom\"},\"uri\":{\"$t\":\"http://gdata.youtube.com/feeds/api/users/cherrybloomband\"},\"yt$userId\":{\"$t\":\"zxQk-rZGowoqMBKxGD5jSA\"}}],\"yt$accessControl\":[{\"action\":\"comment\",\"permission\":\"allowed\"},{\"action\":\"commentVote\",\"permission\":\"allowed\"},{\"action\":\"videoRespond\",\"permission\":\"moderated\"},{\"action\":\"rate\",\"permission\":\"allowed\"},{\"action\":\"embed\",\"permission\":\"allowed\"},{\"action\":\"list\",\"permission\":\"allowed\"},{\"action\":\"autoPlay\",\"permission\":\"allowed\"},{\"action\":\"syndicate\",\"permission\":\"allowed\"}],\"gd$comments\":{\"gd$feedLink\":{\"rel\":\"http://gdata.youtube.com/schemas/2007#comments\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/comments?v=2\",\"countHint\":15}},\"media$group\":{\"media$category\":[{\"$t\":\"Music\",\"label\":\"Music\",\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\"}],\"media$content\":[{\"url\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\",\"type\":\"application/x-shockwave-flash\",\"medium\":\"video\",\"isDefault\":\"true\",\"expression\":\"full\",\"duration\":176,\"yt$format\":5},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":1},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":6}],\"media$credit\":[{\"$t\":\"cherrybloomband\",\"role\":\"uploader\",\"scheme\":\"urn:youtube\",\"yt$display\":\"Cherry
|
56
|
+
Bloom\"}],\"media$description\":{\"$t\":\"The first video from the upcoming
|
57
|
+
album Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net\",\"type\":\"plain\"},\"media$keywords\":{},\"media$license\":{\"$t\":\"youtube\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/t/terms\"},\"media$player\":{\"url\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata_player\"},\"media$thumbnail\":[{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/default.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"default\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/mqdefault.jpg\",\"height\":180,\"width\":320,\"yt$name\":\"mqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/hqdefault.jpg\",\"height\":360,\"width\":480,\"yt$name\":\"hqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/1.jpg\",\"height\":90,\"width\":120,\"time\":\"00:00:44\",\"yt$name\":\"start\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/2.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"middle\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/3.jpg\",\"height\":90,\"width\":120,\"time\":\"00:02:12\",\"yt$name\":\"end\"}],\"media$title\":{\"$t\":\"Cherry
|
58
|
+
Bloom - King Of The Knife\",\"type\":\"plain\"},\"yt$duration\":{\"seconds\":\"176\"},\"yt$uploaded\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"yt$uploaderId\":{\"$t\":\"UCzxQk-rZGowoqMBKxGD5jSA\"},\"yt$videoid\":{\"$t\":\"mZqGqE0D0n4\"}},\"gd$rating\":{\"average\":4.8297873,\"max\":5,\"min\":1,\"numRaters\":47,\"rel\":\"http://schemas.google.com/g/2005#overall\"},\"yt$statistics\":{\"favoriteCount\":\"0\",\"viewCount\":\"6390\"},\"yt$rating\":{\"numDislikes\":\"2\",\"numLikes\":\"45\"}}}"
|
61
59
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR 2.
|
60
|
+
recorded_at: Thu, 20 Feb 2014 12:43:26 GMT
|
61
|
+
recorded_with: VCR 2.8.0
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/keywords/.yml
CHANGED
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.0.
|
11
|
+
- VideoInfo/2.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
15
|
-
-
|
15
|
+
- "*/*"
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -21,43 +21,43 @@ http_interactions:
|
|
21
21
|
X-Gdata-User-Country:
|
22
22
|
- CH
|
23
23
|
Content-Type:
|
24
|
-
- application/json;charset=UTF-8
|
24
|
+
- application/json; charset=UTF-8
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- "*"
|
27
27
|
Expires:
|
28
|
-
-
|
28
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
31
31
|
Cache-Control:
|
32
32
|
- private, max-age=300, no-transform
|
33
33
|
Vary:
|
34
|
-
-
|
34
|
+
- "*"
|
35
35
|
Gdata-Version:
|
36
36
|
- '2.1'
|
37
37
|
Etag:
|
38
|
-
- W/"
|
38
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
39
39
|
Last-Modified:
|
40
|
-
-
|
40
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
41
43
|
X-Content-Type-Options:
|
42
44
|
- nosniff
|
43
45
|
X-Frame-Options:
|
44
46
|
- SAMEORIGIN
|
45
47
|
X-Xss-Protection:
|
46
48
|
- 1; mode=block
|
47
|
-
Content-Length:
|
48
|
-
- '4652'
|
49
49
|
Server:
|
50
50
|
- GSE
|
51
51
|
Alternate-Protocol:
|
52
52
|
- 80:quic
|
53
53
|
body:
|
54
54
|
encoding: UTF-8
|
55
|
-
string:
|
56
|
-
Bloom - King Of The Knife"}
|
57
|
-
Bloom"}
|
58
|
-
Bloom"}]
|
59
|
-
Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net"
|
60
|
-
Bloom - King Of The Knife"
|
55
|
+
string: "{\"version\":\"1.0\",\"encoding\":\"UTF-8\",\"entry\":{\"xmlns\":\"http://www.w3.org/2005/Atom\",\"xmlns$media\":\"http://search.yahoo.com/mrss/\",\"xmlns$gd\":\"http://schemas.google.com/g/2005\",\"xmlns$yt\":\"http://gdata.youtube.com/schemas/2007\",\"gd$etag\":\"W/\\\"CEQDQX47eCp7I2A9Wh9SF0U.\\\"\",\"id\":{\"$t\":\"tag:youtube.com,2008:video:mZqGqE0D0n4\"},\"published\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"updated\":{\"$t\":\"2014-02-07T14:12:50.000Z\"},\"category\":[{\"scheme\":\"http://schemas.google.com/g/2005#kind\",\"term\":\"http://gdata.youtube.com/schemas/2007#video\"},{\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\",\"term\":\"Music\",\"label\":\"Music\"}],\"title\":{\"$t\":\"Cherry
|
56
|
+
Bloom - King Of The Knife\"},\"content\":{\"type\":\"application/x-shockwave-flash\",\"src\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\"},\"link\":[{\"rel\":\"alternate\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#video.related\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/related?v=2\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#mobile\",\"type\":\"text/html\",\"href\":\"http://m.youtube.com/details?v=mZqGqE0D0n4\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#uploader\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/users/zxQk-rZGowoqMBKxGD5jSA?v=2\"},{\"rel\":\"self\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?v=2\"}],\"author\":[{\"name\":{\"$t\":\"Cherry
|
57
|
+
Bloom\"},\"uri\":{\"$t\":\"http://gdata.youtube.com/feeds/api/users/cherrybloomband\"},\"yt$userId\":{\"$t\":\"zxQk-rZGowoqMBKxGD5jSA\"}}],\"yt$accessControl\":[{\"action\":\"comment\",\"permission\":\"allowed\"},{\"action\":\"commentVote\",\"permission\":\"allowed\"},{\"action\":\"videoRespond\",\"permission\":\"moderated\"},{\"action\":\"rate\",\"permission\":\"allowed\"},{\"action\":\"embed\",\"permission\":\"allowed\"},{\"action\":\"list\",\"permission\":\"allowed\"},{\"action\":\"autoPlay\",\"permission\":\"allowed\"},{\"action\":\"syndicate\",\"permission\":\"allowed\"}],\"gd$comments\":{\"gd$feedLink\":{\"rel\":\"http://gdata.youtube.com/schemas/2007#comments\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/comments?v=2\",\"countHint\":15}},\"media$group\":{\"media$category\":[{\"$t\":\"Music\",\"label\":\"Music\",\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\"}],\"media$content\":[{\"url\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\",\"type\":\"application/x-shockwave-flash\",\"medium\":\"video\",\"isDefault\":\"true\",\"expression\":\"full\",\"duration\":176,\"yt$format\":5},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":1},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":6}],\"media$credit\":[{\"$t\":\"cherrybloomband\",\"role\":\"uploader\",\"scheme\":\"urn:youtube\",\"yt$display\":\"Cherry
|
58
|
+
Bloom\"}],\"media$description\":{\"$t\":\"The first video from the upcoming
|
59
|
+
album Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net\",\"type\":\"plain\"},\"media$keywords\":{},\"media$license\":{\"$t\":\"youtube\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/t/terms\"},\"media$player\":{\"url\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata_player\"},\"media$thumbnail\":[{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/default.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"default\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/mqdefault.jpg\",\"height\":180,\"width\":320,\"yt$name\":\"mqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/hqdefault.jpg\",\"height\":360,\"width\":480,\"yt$name\":\"hqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/1.jpg\",\"height\":90,\"width\":120,\"time\":\"00:00:44\",\"yt$name\":\"start\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/2.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"middle\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/3.jpg\",\"height\":90,\"width\":120,\"time\":\"00:02:12\",\"yt$name\":\"end\"}],\"media$title\":{\"$t\":\"Cherry
|
60
|
+
Bloom - King Of The Knife\",\"type\":\"plain\"},\"yt$duration\":{\"seconds\":\"176\"},\"yt$uploaded\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"yt$uploaderId\":{\"$t\":\"UCzxQk-rZGowoqMBKxGD5jSA\"},\"yt$videoid\":{\"$t\":\"mZqGqE0D0n4\"}},\"gd$rating\":{\"average\":4.8297873,\"max\":5,\"min\":1,\"numRaters\":47,\"rel\":\"http://schemas.google.com/g/2005#overall\"},\"yt$statistics\":{\"favoriteCount\":\"0\",\"viewCount\":\"6390\"},\"yt$rating\":{\"numDislikes\":\"2\",\"numLikes\":\"45\"}}}"
|
61
61
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR 2.
|
62
|
+
recorded_at: Thu, 20 Feb 2014 12:43:25 GMT
|
63
|
+
recorded_with: VCR 2.8.0
|
@@ -8,11 +8,11 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.0.
|
11
|
+
- VideoInfo/2.0.2
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
15
|
-
-
|
15
|
+
- "*/*"
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
@@ -22,22 +22,20 @@ http_interactions:
|
|
22
22
|
- CH
|
23
23
|
Content-Type:
|
24
24
|
- application/json;charset=UTF-8
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- '*'
|
27
25
|
Expires:
|
28
|
-
-
|
26
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Thu, 20 Feb 2014 12:43:26 GMT
|
31
29
|
Cache-Control:
|
32
30
|
- private, max-age=300, no-transform
|
33
31
|
Vary:
|
34
|
-
-
|
32
|
+
- "*"
|
35
33
|
Gdata-Version:
|
36
34
|
- '2.1'
|
37
35
|
Etag:
|
38
|
-
- W/"
|
36
|
+
- W/"CEQDQX47eCp7I2A9Wh9SF0U."
|
39
37
|
Last-Modified:
|
40
|
-
-
|
38
|
+
- Fri, 07 Feb 2014 14:12:50 GMT
|
41
39
|
X-Content-Type-Options:
|
42
40
|
- nosniff
|
43
41
|
X-Frame-Options:
|
@@ -45,19 +43,19 @@ http_interactions:
|
|
45
43
|
X-Xss-Protection:
|
46
44
|
- 1; mode=block
|
47
45
|
Content-Length:
|
48
|
-
- '
|
46
|
+
- '4594'
|
49
47
|
Server:
|
50
48
|
- GSE
|
51
49
|
Alternate-Protocol:
|
52
50
|
- 80:quic
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string:
|
56
|
-
Bloom - King Of The Knife"}
|
57
|
-
Bloom"}
|
58
|
-
Bloom"}]
|
59
|
-
Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net"
|
60
|
-
Bloom - King Of The Knife"
|
53
|
+
string: "{\"version\":\"1.0\",\"encoding\":\"UTF-8\",\"entry\":{\"xmlns\":\"http://www.w3.org/2005/Atom\",\"xmlns$media\":\"http://search.yahoo.com/mrss/\",\"xmlns$gd\":\"http://schemas.google.com/g/2005\",\"xmlns$yt\":\"http://gdata.youtube.com/schemas/2007\",\"gd$etag\":\"W/\\\"CEQDQX47eCp7I2A9Wh9SF0U.\\\"\",\"id\":{\"$t\":\"tag:youtube.com,2008:video:mZqGqE0D0n4\"},\"published\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"updated\":{\"$t\":\"2014-02-07T14:12:50.000Z\"},\"category\":[{\"scheme\":\"http://schemas.google.com/g/2005#kind\",\"term\":\"http://gdata.youtube.com/schemas/2007#video\"},{\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\",\"term\":\"Music\",\"label\":\"Music\"}],\"title\":{\"$t\":\"Cherry
|
54
|
+
Bloom - King Of The Knife\"},\"content\":{\"type\":\"application/x-shockwave-flash\",\"src\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\"},\"link\":[{\"rel\":\"alternate\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#video.related\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/related?v=2\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#mobile\",\"type\":\"text/html\",\"href\":\"http://m.youtube.com/details?v=mZqGqE0D0n4\"},{\"rel\":\"http://gdata.youtube.com/schemas/2007#uploader\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/users/zxQk-rZGowoqMBKxGD5jSA?v=2\"},{\"rel\":\"self\",\"type\":\"application/atom+xml\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4?v=2\"}],\"author\":[{\"name\":{\"$t\":\"Cherry
|
55
|
+
Bloom\"},\"uri\":{\"$t\":\"http://gdata.youtube.com/feeds/api/users/cherrybloomband\"},\"yt$userId\":{\"$t\":\"zxQk-rZGowoqMBKxGD5jSA\"}}],\"yt$accessControl\":[{\"action\":\"comment\",\"permission\":\"allowed\"},{\"action\":\"commentVote\",\"permission\":\"allowed\"},{\"action\":\"videoRespond\",\"permission\":\"moderated\"},{\"action\":\"rate\",\"permission\":\"allowed\"},{\"action\":\"embed\",\"permission\":\"allowed\"},{\"action\":\"list\",\"permission\":\"allowed\"},{\"action\":\"autoPlay\",\"permission\":\"allowed\"},{\"action\":\"syndicate\",\"permission\":\"allowed\"}],\"gd$comments\":{\"gd$feedLink\":{\"rel\":\"http://gdata.youtube.com/schemas/2007#comments\",\"href\":\"http://gdata.youtube.com/feeds/api/videos/mZqGqE0D0n4/comments?v=2\",\"countHint\":15}},\"media$group\":{\"media$category\":[{\"$t\":\"Music\",\"label\":\"Music\",\"scheme\":\"http://gdata.youtube.com/schemas/2007/categories.cat\"}],\"media$content\":[{\"url\":\"http://www.youtube.com/v/mZqGqE0D0n4?version=3&f=videos&app=youtube_gdata\",\"type\":\"application/x-shockwave-flash\",\"medium\":\"video\",\"isDefault\":\"true\",\"expression\":\"full\",\"duration\":176,\"yt$format\":5},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":1},{\"url\":\"rtsp://r5---sn-4g57kuez.c.youtube.com/CiILENy73wIaGQl-0gNNqIaamRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp\",\"type\":\"video/3gpp\",\"medium\":\"video\",\"expression\":\"full\",\"duration\":176,\"yt$format\":6}],\"media$credit\":[{\"$t\":\"cherrybloomband\",\"role\":\"uploader\",\"scheme\":\"urn:youtube\",\"yt$display\":\"Cherry
|
56
|
+
Bloom\"}],\"media$description\":{\"$t\":\"The first video from the upcoming
|
57
|
+
album Secret Sounds, to download in-stores April 14. Checkout http://www.cherrybloom.net\",\"type\":\"plain\"},\"media$keywords\":{},\"media$license\":{\"$t\":\"youtube\",\"type\":\"text/html\",\"href\":\"http://www.youtube.com/t/terms\"},\"media$player\":{\"url\":\"http://www.youtube.com/watch?v=mZqGqE0D0n4&feature=youtube_gdata_player\"},\"media$thumbnail\":[{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/default.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"default\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/mqdefault.jpg\",\"height\":180,\"width\":320,\"yt$name\":\"mqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/hqdefault.jpg\",\"height\":360,\"width\":480,\"yt$name\":\"hqdefault\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/1.jpg\",\"height\":90,\"width\":120,\"time\":\"00:00:44\",\"yt$name\":\"start\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/2.jpg\",\"height\":90,\"width\":120,\"time\":\"00:01:28\",\"yt$name\":\"middle\"},{\"url\":\"http://i1.ytimg.com/vi/mZqGqE0D0n4/3.jpg\",\"height\":90,\"width\":120,\"time\":\"00:02:12\",\"yt$name\":\"end\"}],\"media$title\":{\"$t\":\"Cherry
|
58
|
+
Bloom - King Of The Knife\",\"type\":\"plain\"},\"yt$duration\":{\"seconds\":\"176\"},\"yt$uploaded\":{\"$t\":\"2008-04-12T22:25:35.000Z\"},\"yt$uploaderId\":{\"$t\":\"UCzxQk-rZGowoqMBKxGD5jSA\"},\"yt$videoid\":{\"$t\":\"mZqGqE0D0n4\"}},\"gd$rating\":{\"average\":4.8297873,\"max\":5,\"min\":1,\"numRaters\":47,\"rel\":\"http://schemas.google.com/g/2005#overall\"},\"yt$statistics\":{\"favoriteCount\":\"0\",\"viewCount\":\"6390\"},\"yt$rating\":{\"numDislikes\":\"2\",\"numLikes\":\"45\"}}}"
|
61
59
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR 2.
|
60
|
+
recorded_at: Thu, 20 Feb 2014 12:43:26 GMT
|
61
|
+
recorded_with: VCR 2.8.0
|