video_info 2.4.2 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -3
  4. data/README.md +33 -2
  5. data/lib/video_info.rb +44 -2
  6. data/lib/video_info/provider.rb +21 -4
  7. data/lib/video_info/providers/vimeo.rb +81 -9
  8. data/lib/video_info/providers/vimeoplaylist.rb +14 -13
  9. data/lib/video_info/providers/vkontakte.rb +1 -1
  10. data/lib/video_info/providers/youtube.rb +20 -51
  11. data/lib/video_info/providers/youtube_api.rb +72 -0
  12. data/lib/video_info/providers/youtube_scraper.rb +99 -0
  13. data/lib/video_info/providers/youtubeplaylist.rb +28 -29
  14. data/lib/video_info/providers/youtubeplaylist_api.rb +57 -0
  15. data/lib/video_info/providers/youtubeplaylist_scraper.rb +47 -0
  16. data/lib/video_info/version.rb +1 -1
  17. data/spec/lib/video_info/providers/vimeo_playlist_spec.rb +19 -18
  18. data/spec/lib/video_info/providers/vimeo_spec.rb +45 -21
  19. data/spec/lib/video_info/providers/vkontakte_spec.rb +2 -2
  20. data/spec/lib/video_info/providers/youtube_api_spec.rb +392 -0
  21. data/spec/lib/video_info/providers/youtube_playlist_api_spec.rb +173 -0
  22. data/spec/lib/video_info/providers/youtube_playlist_spec.rb +6 -2
  23. data/spec/lib/video_info/providers/youtube_spec.rb +83 -6
  24. data/spec/lib/video_info_spec.rb +30 -0
  25. data/spec/spec_helper.rb +2 -0
  26. data/video_info.gemspec +4 -1
  27. metadata +55 -196
  28. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_This_video_does_not_exist_or_has_been_deleted_/_available_/.yml +0 -60
  29. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/_available_/.yml +0 -59
  30. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/.yml +0 -62
  31. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/.yml +0 -62
  32. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/.yml +0 -62
  33. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/.yml +0 -62
  34. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +0 -62
  35. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +0 -62
  36. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +0 -62
  37. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +0 -62
  38. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +0 -62
  39. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/.yml +0 -119
  40. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/.yml +0 -72
  41. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/.yml +0 -76
  42. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +0 -83
  43. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +0 -83
  44. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +0 -83
  45. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +0 -83
  46. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +0 -83
  47. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +0 -83
  48. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +0 -83
  49. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +0 -83
  50. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +0 -83
  51. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +0 -83
  52. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +0 -83
  53. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_/.yml +0 -72
  54. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +0 -76
  55. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +0 -81
  56. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +0 -81
  57. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +0 -81
  58. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +0 -81
  59. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +0 -81
  60. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +0 -114
  61. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_hashes/available_/.yml +0 -2255
  62. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/available_/.yml +0 -46
  63. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_private_video/available_/.yml +0 -382
  64. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_redirect/available_/.yml +0 -210
  65. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_redirect_to_main_page_for_auth/available_/.yml +0 -46
  66. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/available_/.yml +0 -1657
  67. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/description/.yml +0 -730
  68. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/duration/.yml +0 -731
  69. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/embed_code/.yml +0 -732
  70. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/embed_url/.yml +0 -732
  71. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/height/.yml +0 -732
  72. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/keywords/.yml +0 -732
  73. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/title/.yml +0 -731
  74. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/view_count/.yml +0 -731
  75. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/width/.yml +0 -728
  76. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/title/.yml +0 -1226
  77. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/description/.yml +0 -997
  78. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/duration/.yml +0 -997
  79. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_code/.yml +0 -997
  80. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_url/.yml +0 -998
  81. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/height/.yml +0 -998
  82. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/keywords/.yml +0 -997
  83. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/title/.yml +0 -997
  84. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/view_count/.yml +0 -997
  85. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/width/.yml +0 -998
  86. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_videos43640822_/video43640822_168790809/title/.yml +0 -597
  87. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/.yml +0 -69
  88. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/.yml +0 -71
  89. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/.yml +0 -78
  90. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/.yml +0 -78
  91. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/.yml +0 -78
  92. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/.yml +0 -78
  93. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/.yml +0 -78
  94. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/.yml +0 -78
  95. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/.yml +0 -78
  96. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/.yml +0 -78
  97. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/.yml +0 -78
  98. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/.yml +0 -78
  99. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/.yml +0 -78
  100. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/.yml +0 -78
  101. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/.yml +0 -78
  102. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/.yml +0 -78
  103. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/.yml +0 -56
  104. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/_available_/.yml +0 -46
  105. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/_available_/.yml +0 -46
  106. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +0 -61
  107. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +0 -63
  108. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +0 -63
  109. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +0 -63
  110. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +0 -61
  111. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +0 -61
  112. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +0 -61
  113. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +0 -63
  114. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +0 -61
  115. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/.yml +0 -46
  116. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/.yml +0 -56
  117. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +0 -61
  118. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/.yml +0 -96
  119. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/.yml +0 -96
  120. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/.yml +0 -96
  121. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +0 -96
  122. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +0 -98
  123. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos/.yml +0 -96
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3587'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:50 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:50 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1244-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910010.733856,VS0,VE108
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:50 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3592'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:49 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:49 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1237-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910009.840023,VS0,VE112
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:49 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3590'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:50 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:50 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1225-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910010.217373,VS0,VE111
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:50 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3588'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:50 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:50 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1245-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910010.563404,VS0,VE106
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:50 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3591'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:50 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:50 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1221-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910010.012476,VS0,VE113
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:50 GMT
83
- recorded_with: VCR 2.9.3
@@ -1,83 +0,0 @@
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.4.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
- - nginx
23
- Content-Type:
24
- - application/json
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- X-Content-Type-Options:
28
- - nosniff
29
- X-Frame-Options:
30
- - sameorigin
31
- X-Ratelimit-Limit:
32
- - '3600'
33
- X-Ratelimit-Remaining:
34
- - '3584'
35
- X-Ratelimit-Reset:
36
- - '1425913607'
37
- Content-Disposition:
38
- - attachment; filename=vimeo.json
39
- Cache-Control:
40
- - max-age=60
41
- Expires:
42
- - Mon, 09 Mar 2015 14:07:51 GMT
43
- Last-Modified:
44
- - Thu, 05 Mar 2015 13:09:21 GMT
45
- Etag:
46
- - '"00627f5a99f323827788392678b6c4e2"'
47
- X-Xss-Protection:
48
- - 1; mode=block
49
- X-Ua-Compatible:
50
- - IE=edge
51
- Content-Length:
52
- - '505'
53
- Accept-Ranges:
54
- - bytes
55
- Date:
56
- - Mon, 09 Mar 2015 14:06:51 GMT
57
- Via:
58
- - 1.1 varnish
59
- Age:
60
- - '0'
61
- Connection:
62
- - keep-alive
63
- X-Served-By:
64
- - cache-fra1229-FRA
65
- X-Cache:
66
- - MISS
67
- X-Cache-Hits:
68
- - '0'
69
- X-Timer:
70
- - S1425910011.234639,VS0,VE106
71
- Vary:
72
- - User-Agent,Accept-Encoding
73
- body:
74
- encoding: ASCII-8BIT
75
- string: '[{"id":898029,"title":"Cherry Bloom - King Of The Knife","description":"The
76
- first video from the upcoming album Secret Sounds, to download in-stores April
77
- 14. Checkout http:\/\/www.cherrybloom.net","url":"http:\/\/vimeo.com\/898029","upload_date":"2008-04-14
78
- 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
79
- 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":4650,"stats_number_of_comments":4,"duration":175,"width":640,"height":360,"tags":"cherry
80
- bloom, secret sounds, king of the knife, rock, alternative","embed_privacy":"anywhere"}]'
81
- http_version:
82
- recorded_at: Mon, 09 Mar 2015 14:06:51 GMT
83
- recorded_with: VCR 2.9.3