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,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/pxonqr42is
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - 68e7d6112647a0256263fc3ddec01818
39
- X-Runtime:
40
- - '0.053576'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '727'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:53 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1231-FRA
58
- X-Cache:
59
- - HIT, HIT
60
- X-Cache-Hits:
61
- - 1, 1
62
- X-Timer:
63
- - S1425910013.131532,VS0,VE0
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/pxonqr42is\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"568\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":568,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Understanding Analytics","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":250.0}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:53 GMT
78
- recorded_with: VCR 2.9.3
@@ -1,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/pxonqr42is
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - 68e7d6112647a0256263fc3ddec01818
39
- X-Runtime:
40
- - '0.053576'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '727'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:52 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1229-FRA
58
- X-Cache:
59
- - HIT, MISS
60
- X-Cache-Hits:
61
- - 1, 0
62
- X-Timer:
63
- - S1425910012.751928,VS0,VE109
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/pxonqr42is\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"568\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":568,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Understanding Analytics","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":250.0}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:52 GMT
78
- recorded_with: VCR 2.9.3
@@ -1,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/pxonqr42is
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - 68e7d6112647a0256263fc3ddec01818
39
- X-Runtime:
40
- - '0.053576'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '727'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:53 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1241-FRA
58
- X-Cache:
59
- - HIT, HIT
60
- X-Cache-Hits:
61
- - 1, 1
62
- X-Timer:
63
- - S1425910013.008882,VS0,VE0
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/pxonqr42is\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"568\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":568,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Understanding Analytics","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/0fccbdc60ade35723f79f1c002bc61b135b610fa.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":250.0}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:53 GMT
78
- recorded_with: VCR 2.9.3
@@ -1,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - a5a7a40b003248b2537d520bec74cd23
39
- X-Runtime:
40
- - '0.044548'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '733'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:52 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1248-FRA
58
- X-Cache:
59
- - HIT, HIT
60
- X-Cache-Hits:
61
- - 1, 1
62
- X-Timer:
63
- - S1425910012.321703,VS0,VE0
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:52 GMT
78
- recorded_with: VCR 2.9.3
@@ -1,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - a5a7a40b003248b2537d520bec74cd23
39
- X-Runtime:
40
- - '0.044548'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '733'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:52 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1223-FRA
58
- X-Cache:
59
- - HIT, HIT
60
- X-Cache-Hits:
61
- - 1, 1
62
- X-Timer:
63
- - S1425910012.492113,VS0,VE0
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:52 GMT
78
- recorded_with: VCR 2.9.3
@@ -1,78 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
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/1.4.6 (Ubuntu)
23
- Content-Type:
24
- - application/json; charset=utf-8
25
- Status:
26
- - 200 OK
27
- X-Content-Type-Options:
28
- - nosniff
29
- Access-Control-Allow-Origin:
30
- - "*"
31
- Cache-Control:
32
- - public, no-cache
33
- X-Ua-Compatible:
34
- - IE=Edge,chrome=1
35
- P3p:
36
- - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
- X-Request-Id:
38
- - a5a7a40b003248b2537d520bec74cd23
39
- X-Runtime:
40
- - '0.044548'
41
- X-Rack-Cache:
42
- - miss
43
- Via:
44
- - 1.1 varnish
45
- - 1.1 varnish
46
- Content-Length:
47
- - '733'
48
- Accept-Ranges:
49
- - bytes
50
- Date:
51
- - Mon, 09 Mar 2015 14:06:52 GMT
52
- Age:
53
- - '70317'
54
- Connection:
55
- - keep-alive
56
- X-Served-By:
57
- - cache-ord1720-ORD, cache-fra1239-FRA
58
- X-Cache:
59
- - HIT, HIT
60
- X-Cache-Hits:
61
- - 1, 1
62
- X-Timer:
63
- - S1425910012.683401,VS0,VE0
64
- Vary:
65
- - X-Forwarded-Proto
66
- Strict-Transport-Security:
67
- - max-age=0
68
- body:
69
- encoding: UTF-8
70
- string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
71
- allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
72
- name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
73
- oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe><script
74
- src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
75
- Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
76
- http_version:
77
- recorded_at: Mon, 09 Mar 2015 14:06:52 GMT
78
- recorded_with: VCR 2.9.3