video_info 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/lib/video_info/providers/vimeo.rb +1 -1
- 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_ → _available_}/.yml +12 -19
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/{available_ → _available_}/.yml +10 -15
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{view_count → _date}/.yml +12 -17
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{keywords → _description}/.yml +12 -17
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{date → _duration}/.yml +12 -17
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{thumbnail_large → _keywords}/.yml +12 -17
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +58 -0
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/available_ → VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_}/.yml +28 -36
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/{available_ → _available_}/.yml +11 -11
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/{available_ → _available_}/.yml +13 -13
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +73 -0
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_Vimeo/_available_/with_password_required_video/available_ → VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_}/.yml +12 -12
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +54 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +71 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +71 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +71 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +71 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +71 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +104 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/_available_/.yml +46 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/_available_/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/_title/.yml +1363 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_description/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_duration/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_code/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_url/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_height/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_keywords/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml +1137 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/{available_ → _available_}/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/{available_ → _available_}/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/{available_ → _available_}/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/{available_ → _available_}/.yml +6 -6
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/{available_ → _available_}/.yml +9 -9
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +61 -0
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/title → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description}/.yml +27 -95
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_medium → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large}/.yml +31 -97
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_small → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium}/.yml +31 -101
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +98 -0
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +98 -0
- data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/description → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos}/.yml +27 -95
- data/spec/lib/video_info/providers/dailymotion_spec.rb +101 -23
- data/spec/lib/video_info/providers/vimeo_playlist_spec.rb +110 -32
- data/spec/lib/video_info/providers/vimeo_spec.rb +134 -29
- data/spec/lib/video_info/providers/vkontakte_spec.rb +95 -21
- data/spec/lib/video_info/providers/youtube_playlist_spec.rb +110 -25
- data/spec/lib/video_info/providers/youtube_spec.rb +206 -47
- data/spec/lib/video_info_spec.rb +20 -20
- data/spec/spec_helper.rb +1 -5
- data/video_info.gemspec +1 -0
- metadata +148 -178
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_video_is_unavailable_video/available_/.yml +0 -46
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/available_/.yml +0 -46
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/description/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/duration/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/thumbnail_medium/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/thumbnail_small/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/title/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/date/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/description/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/duration/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/height/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/keywords/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_large/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_medium/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_small/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/title/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/view_count/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/width/.yml +0 -76
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/available_/.yml +0 -152
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/date/.yml +0 -75
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/duration/.yml +0 -75
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/height/.yml +0 -71
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/keywords/.yml +0 -75
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_large/.yml +0 -168
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/videos/.yml +0 -202
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/view_count/.yml +0 -71
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/width/.yml +0 -71
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/available_/.yml +0 -147
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/available_/.yml +0 -1115
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/description/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/duration/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_code/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_url/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/height/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/keywords/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/title/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/view_count/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/width/.yml +0 -1139
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/title/.yml +0 -1331
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/description/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/duration/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_code/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_url/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/height/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/keywords/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/title/.yml +0 -1084
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/view_count/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/width/.yml +0 -1125
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/date/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/description/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/duration/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/keywords/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_large/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_medium/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_small/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/title/.yml +0 -63
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/view_count/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/videos/.yml +0 -61
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/date/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/description/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/duration/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/keywords/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_large/.yml +0 -96
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_medium/.yml +0 -96
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_small/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/title/.yml +0 -98
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/videos/.yml +0 -96
- data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/view_count/.yml +0 -98
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3594'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:10 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- 3887660556 3887659565
|
53
|
+
Age:
|
54
|
+
- '1'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '1'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy1
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:10 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3594'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:09 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- '3887659565'
|
53
|
+
Age:
|
54
|
+
- '0'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '0'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy1
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:09 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3593'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:09 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- '1374878104'
|
53
|
+
Age:
|
54
|
+
- '0'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '0'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy5
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:10 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3592'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:10 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:10 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- '833492955'
|
53
|
+
Age:
|
54
|
+
- '0'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '0'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy3
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:10 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3595'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:09 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- 1891081850 1891081475
|
53
|
+
Age:
|
54
|
+
- '0'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '1'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy4
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:09 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3593'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:11 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- 1374879120 1374878104
|
53
|
+
Age:
|
54
|
+
- '1'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '1'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy5
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:11 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|
data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://vimeo.com/api/v2/video/898029.json
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- VideoInfo/2.3.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- Apache
|
23
|
+
Access-Control-Allow-Origin:
|
24
|
+
- "*"
|
25
|
+
X-Content-Type-Options:
|
26
|
+
- nosniff
|
27
|
+
X-Frame-Options:
|
28
|
+
- deny
|
29
|
+
X-Ratelimit-Limit:
|
30
|
+
- '3600'
|
31
|
+
X-Ratelimit-Remaining:
|
32
|
+
- '3595'
|
33
|
+
X-Ratelimit-Reset:
|
34
|
+
- '1414618567'
|
35
|
+
Expires:
|
36
|
+
- Wed, 29 Oct 2014 20:37:09 GMT
|
37
|
+
Last-Modified:
|
38
|
+
- Tue, 28 Oct 2014 02:13:21 GMT
|
39
|
+
Etag:
|
40
|
+
- '"8db210f5efb6e322cf534f2afca5eb46"'
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Content-Type:
|
44
|
+
- application/json
|
45
|
+
Content-Length:
|
46
|
+
- '505'
|
47
|
+
Accept-Ranges:
|
48
|
+
- bytes
|
49
|
+
Date:
|
50
|
+
- Wed, 29 Oct 2014 20:36:11 GMT
|
51
|
+
X-Varnish:
|
52
|
+
- 1891082846 1891081475
|
53
|
+
Age:
|
54
|
+
- '2'
|
55
|
+
Via:
|
56
|
+
- 1.1 varnish
|
57
|
+
X-Varnish-Cache:
|
58
|
+
- '1'
|
59
|
+
Connection:
|
60
|
+
- close
|
61
|
+
X-Vserver:
|
62
|
+
- dfvimeowebproxy4
|
63
|
+
body:
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
|
66
|
+
first video from the upcoming album Secret Sounds, to download in-stores April
|
67
|
+
14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
|
68
|
+
13:10:39","thumbnail_small":"http:\/\/i.vimeocdn.com\/video\/34373130_100x75.jpg","thumbnail_medium":"http:\/\/i.vimeocdn.com\/video\/34373130_200x150.jpg","thumbnail_large":"http:\/\/i.vimeocdn.com\/video\/34373130_640.jpg","user_id":206215,"user_name":"Octave
|
69
|
+
Zangs","user_url":"http:\/\/vimeo.com\/octave","user_portrait_small":"http:\/\/i.vimeocdn.com\/portrait\/2577152_30x30.jpg","user_portrait_medium":"http:\/\/i.vimeocdn.com\/portrait\/2577152_75x75.jpg","user_portrait_large":"http:\/\/i.vimeocdn.com\/portrait\/2577152_100x100.jpg","user_portrait_huge":"http:\/\/i.vimeocdn.com\/portrait\/2577152_300x300.jpg","stats_number_of_likes":11,"stats_number_of_plays":4630,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
|
70
|
+
bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
|
71
|
+
http_version:
|
72
|
+
recorded_at: Wed, 29 Oct 2014 20:36:11 GMT
|
73
|
+
recorded_with: VCR 2.9.3
|