video_info 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +24 -0
  3. data/.travis.yml +10 -0
  4. data/Gemfile +11 -0
  5. data/Guardfile +8 -0
  6. data/{LICENSE → LICENSE.txt} +2 -0
  7. data/README.md +42 -43
  8. data/Rakefile +5 -0
  9. data/lib/video_info/provider.rb +36 -26
  10. data/lib/video_info/providers/vimeo.rb +45 -27
  11. data/lib/video_info/providers/vkontakte.rb +114 -0
  12. data/lib/video_info/providers/youtube.rb +62 -23
  13. data/lib/video_info/version.rb +1 -1
  14. data/lib/video_info.rb +1 -1
  15. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/date/.yml +69 -0
  16. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/description/.yml +69 -0
  17. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/duration/.yml +69 -0
  18. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/embed_code/.yml +69 -0
  19. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/embed_url/.yml +69 -0
  20. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/height/.yml +69 -0
  21. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/keywords/.yml +69 -0
  22. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/provider/.yml +69 -0
  23. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_large/.yml +69 -0
  24. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_medium/.yml +69 -0
  25. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_small/.yml +69 -0
  26. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/title/.yml +69 -0
  27. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/url/.yml +69 -0
  28. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/video_id/.yml +69 -0
  29. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/view_count/.yml +69 -0
  30. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/width/.yml +69 -0
  31. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_and_iframe_attributes/.yml +69 -0
  32. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_and_url_attributes/.yml +69 -0
  33. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_in_/group/_url/provider/.yml +69 -0
  34. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_in_/group/_url/video_id/.yml +69 -0
  35. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_in_text/provider/.yml +69 -0
  36. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029_in_text/video_id/.yml +69 -0
  37. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/date/.yml +1410 -0
  38. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/description/.yml +1410 -0
  39. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/duration/.yml +1410 -0
  40. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_code/.yml +1410 -0
  41. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_url/.yml +1410 -0
  42. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/height/.yml +1410 -0
  43. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/provider/.yml +1410 -0
  44. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/title/.yml +1410 -0
  45. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/url/.yml +1410 -0
  46. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/video_id/.yml +1410 -0
  47. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/video_owner/.yml +1369 -0
  48. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/view_count/.yml +1410 -0
  49. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/width/.yml +1410 -0
  50. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_arbitrary_iframe_attributes/.yml +62 -0
  51. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_arbitrary_iframe_attributes/provider/.yml +62 -0
  52. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_iframe_attributes/.yml +62 -0
  53. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_iframe_attributes/provider/.yml +62 -0
  54. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_JM9NgvjjVng_in_youtu_be_url/provider/.yml +65 -0
  55. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_JM9NgvjjVng_in_youtu_be_url/video_id/.yml +65 -0
  56. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_after_params/provider/.yml +66 -0
  57. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_after_params/url/.yml +66 -0
  58. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_after_params/video_id/.yml +66 -0
  59. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_e_path/provider/.yml +66 -0
  60. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_e_path/video_id/.yml +66 -0
  61. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_embed_path/provider/.yml +66 -0
  62. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_embed_path/video_id/.yml +66 -0
  63. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_path/provider/.yml +66 -0
  64. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_path/video_id/.yml +66 -0
  65. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_user_url/provider/.yml +66 -0
  66. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_user_url/url/.yml +66 -0
  67. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_VeasFckfMHY_in_user_url/video_id/.yml +66 -0
  68. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_Xp6CXF-Cesg/provider/.yml +62 -0
  69. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_Xp6CXF-Cesg/video_id/.yml +62 -0
  70. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/date/.yml +62 -0
  71. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/description/.yml +62 -0
  72. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/duration/.yml +62 -0
  73. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/embed_code/.yml +62 -0
  74. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/embed_url/.yml +62 -0
  75. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/height/.yml +62 -0
  76. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/keywords/.yml +62 -0
  77. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/provider/.yml +62 -0
  78. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_large/.yml +62 -0
  79. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_medium/.yml +62 -0
  80. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_small/.yml +62 -0
  81. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/title/.yml +62 -0
  82. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/url/.yml +62 -0
  83. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/video_id/.yml +62 -0
  84. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/view_count/.yml +62 -0
  85. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/width/.yml +62 -0
  86. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_oQ49W_xKzKA/.yml +62 -0
  87. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_oQ49W_xKzKA/provider/.yml +62 -0
  88. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_oQ49W_xKzKA/video_id/.yml +62 -0
  89. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_url_in_text/provider/.yml +62 -0
  90. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_url_in_text/video_id/.yml +62 -0
  91. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/without_http_or_www/provider/.yml +65 -0
  92. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/without_http_or_www/video_id/.yml +65 -0
  93. data/spec/lib/video_info/provider_spec.rb +44 -0
  94. data/spec/lib/video_info/providers/vimeo_spec.rb +74 -0
  95. data/spec/lib/video_info/providers/vkontakte_spec.rb +38 -0
  96. data/spec/lib/video_info/providers/youtube_spec.rb +138 -0
  97. data/spec/lib/video_info_spec.rb +50 -0
  98. data/spec/spec_helper.rb +22 -0
  99. data/video_info.gemspec +29 -0
  100. metadata +219 -22
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:39 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:39 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:39 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,66 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/1.5.0
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
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - '*'
27
+ Expires:
28
+ - Mon, 07 Oct 2013 19:57:38 GMT
29
+ Date:
30
+ - Mon, 07 Oct 2013 19:57:38 GMT
31
+ Cache-Control:
32
+ - private, max-age=300, no-transform
33
+ Vary:
34
+ - '*'
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"D0YGQ347eCp7I2A9WhFbEE8."
39
+ Last-Modified:
40
+ - Sun, 01 Sep 2013 08:45:22 GMT
41
+ X-Content-Type-Options:
42
+ - nosniff
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Xss-Protection:
46
+ - 1; mode=block
47
+ Content-Length:
48
+ - '5228'
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","entry":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0YGQ347eCp7I2A9WhFbEE8.\"","id":{"$t":"tag:youtube.com,2008:video:VeasFckfMHY"},"published":{"$t":"2012-12-01T21:09:05.000Z"},"updated":{"$t":"2013-09-01T08:45:22.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Education","label":"Education"}],"title":{"$t":"Introduction
56
+ to Ruby"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=VeasFckfMHY"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/t73F73YFgh1jsggSdjbPVA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY?v=2"}],"author":[{"name":{"$t":"Educator.com"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/EducatorVids3"},"yt$userId":{"$t":"t73F73YFgh1jsggSdjbPVA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/VeasFckfMHY/comments?v=2","countHint":0}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Education","label":"Education","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/VeasFckfMHY?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":249,"yt$format":5},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":1},{"url":"rtsp://r8---sn-5hn7su7l.c.youtube.com/CiILENy73wIaGQl2MB_JFazmVRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":249,"yt$format":6}],"media$credit":[{"$t":"educatorvids3","role":"uploader","scheme":"urn:youtube","yt$display":"Educator.com"}],"media$description":{"$t":"Watch
57
+ more at http://www.educator.com/learn/computer-science/introduction-to-ruby/mui/
58
+ Other Computer Science subjects include PHP, Java, HTML 5, JavaScript, CSS,
59
+ WordPress, and XML, with more coming soon. We also offer math/science help
60
+ from middle school through high school all the way to college level courses.\n\n-All
61
+ lectures are broken down by individual topics\n-No more wasted time\n-Just
62
+ search and jump directly to the answer","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=VeasFckfMHY&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/default.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/1.jpg","height":90,"width":120,"time":"00:01:02.250","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/2.jpg","height":90,"width":120,"time":"00:02:04.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/VeasFckfMHY/3.jpg","height":90,"width":120,"time":"00:03:06.750","yt$name":"end"}],"media$title":{"$t":"Introduction
63
+ to Ruby","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"249"},"yt$uploaded":{"$t":"2012-12-01T21:09:05.000Z"},"yt$uploaderId":{"$t":"UCt73F73YFgh1jsggSdjbPVA"},"yt$videoid":{"$t":"VeasFckfMHY"}},"gd$rating":{"average":5.0,"max":5,"min":1,"numRaters":3,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1226"},"yt$rating":{"numDislikes":"0","numLikes":"3"}}}'
64
+ http_version:
65
+ recorded_at: Mon, 07 Oct 2013 19:57:40 GMT
66
+ recorded_with: VCR 2.5.0