video_info 2.3.3 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/video_info.rb +5 -1
- data/lib/video_info/provider.rb +16 -10
- data/lib/video_info/providers/dailymotion.rb +2 -4
- data/lib/video_info/providers/vimeo.rb +1 -3
- data/lib/video_info/providers/vimeoplaylist.rb +0 -2
- data/lib/video_info/providers/vkontakte.rb +10 -13
- data/lib/video_info/providers/wistia.rb +63 -0
- data/lib/video_info/providers/youtube.rb +6 -4
- data/lib/video_info/version.rb +1 -1
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_This_video_does_not_exist_or_has_been_deleted_/_available_/.yml +11 -7
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/_available_/.yml +9 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +12 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +11 -11
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +13 -13
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +13 -13
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +8 -8
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +27 -27
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/_available_/.yml +3 -3
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/_available_/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/_title/.yml +1383 -1272
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_description/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_duration/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_code/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_url/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_height/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_keywords/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml +1085 -1059
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml +1084 -1058
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml +65 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml +67 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +11 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/.yml +4 -4
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +5 -5
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/.yml +13 -15
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +10 -10
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos/.yml +11 -11
- data/spec/lib/video_info/providers/wistia_spec.rb +168 -0
- data/video_info.gemspec +1 -1
- metadata +37 -2
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-114.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:25 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.052346 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:25 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-163.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:24 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.065985 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:24 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-101.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:24 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.044581 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:25 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-062.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:24 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.048585 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:24 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-041.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:26 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.084192 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:26 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-141.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:25 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.063127 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:25 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-041.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:25 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.079422 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:25 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml
CHANGED
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- VideoInfo/2.
|
11
|
+
- VideoInfo/2.4.0
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
14
|
Accept:
|
@@ -21,18 +21,18 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- DMS/1.0.42
|
23
23
|
X-Dm-Backnode:
|
24
|
-
- web-
|
24
|
+
- web-041.adm.dailymotion.com:80
|
25
25
|
Vary:
|
26
26
|
- Authorization,Accept-Encoding
|
27
27
|
Cache-Control:
|
28
28
|
- private, max-age=900
|
29
29
|
Content-Type:
|
30
|
-
- application/json
|
30
|
+
- application/json; charset=UTF-8
|
31
31
|
P3p:
|
32
32
|
- policyref="http://www.dailymotion.com/w3c/p3p.xml", CP="IDC DSP CURa ADMa
|
33
33
|
DEVa TAIa OUR BUS IND UNI COM NAV INT"
|
34
34
|
Date:
|
35
|
-
-
|
35
|
+
- Tue, 09 Dec 2014 19:27:24 GMT
|
36
36
|
X-Dm-Lb:
|
37
37
|
- 195.8.215.129
|
38
38
|
Access-Control-Allow-Origin:
|
@@ -40,19 +40,23 @@ http_interactions:
|
|
40
40
|
Etag:
|
41
41
|
- W/"O1DJzTYSf9K1Wvn1OkaB4Q"
|
42
42
|
X-Response-Time:
|
43
|
-
- 0.
|
43
|
+
- 0.079645 seconds
|
44
44
|
Last-Modified:
|
45
45
|
- Sat, 06 Jul 2013 19:32:30 GMT
|
46
|
+
Access-Control-Allow-Headers:
|
47
|
+
- Authorization
|
48
|
+
Access-Control-Allow-Methods:
|
49
|
+
- GET, POST, DELETE
|
46
50
|
X-Dm-Page:
|
47
51
|
- ch-fr.rest.rest_api
|
48
52
|
Content-Length:
|
49
|
-
- '
|
53
|
+
- '439'
|
50
54
|
body:
|
51
55
|
encoding: UTF-8
|
52
56
|
string: '{"id":"x7lni3","title":"Mario Kart (R\u00e9mi Gaillard)","description":"Super
|
53
57
|
R\u00e9mi Kart est un jeu vid\u00e9o de course d\u00e9velopp\u00e9 et \u00e9dit\u00e9
|
54
58
|
par N''Importe Quoi TV. Sa principale originalit\u00e9 vient de sa r\u00e9alit\u00e9...<br
|
55
|
-
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":
|
59
|
+
\/>L''aventure continue sur www.nimportequi.com","duration":136,"created_time":1228321771,"url":"http:\/\/www.dailymotion.com\/video\/x7lni3_mario-kart-remi-gaillard_fun","views_total":10253281,"tags":["r\u00e9mi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"],"thumbnail_url":"http:\/\/s2.dmcdn.net\/BgWxI.jpg","thumbnail_720_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x720-YcV.jpg","thumbnail_240_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x240-b83.jpg","thumbnail_60_url":"http:\/\/s2.dmcdn.net\/BgWxI\/x60-kbf.jpg"}'
|
56
60
|
http_version:
|
57
|
-
recorded_at:
|
61
|
+
recorded_at: Tue, 09 Dec 2014 19:27:24 GMT
|
58
62
|
recorded_with: VCR 2.9.3
|