video_info 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -0
  3. data/lib/video_info/providers/vimeo.rb +1 -1
  4. data/lib/video_info/version.rb +1 -1
  5. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_This_video_does_not_exist_or_has_been_deleted_/{available_ → _available_}/.yml +12 -19
  6. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/{available_ → _available_}/.yml +10 -15
  7. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{view_count → _date}/.yml +12 -17
  8. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{keywords → _description}/.yml +12 -17
  9. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{date → _duration}/.yml +12 -17
  10. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/{thumbnail_large → _keywords}/.yml +12 -17
  11. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/.yml +58 -0
  12. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/.yml +58 -0
  13. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/.yml +58 -0
  14. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/.yml +58 -0
  15. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/.yml +58 -0
  16. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/available_ → VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_}/.yml +28 -36
  17. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/{available_ → _available_}/.yml +11 -11
  18. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/{available_ → _available_}/.yml +13 -13
  19. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/.yml +73 -0
  20. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/.yml +73 -0
  21. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/.yml +73 -0
  22. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/.yml +73 -0
  23. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/.yml +73 -0
  24. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/.yml +73 -0
  25. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/.yml +73 -0
  26. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/.yml +73 -0
  27. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/.yml +73 -0
  28. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/.yml +73 -0
  29. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/.yml +73 -0
  30. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_Vimeo/_available_/with_password_required_video/available_ → VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/_available_}/.yml +12 -12
  31. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_valid_playlist/_available_/.yml +54 -0
  32. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_description/.yml +71 -0
  33. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_large/.yml +71 -0
  34. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_medium/.yml +71 -0
  35. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_thumbnail_small/.yml +71 -0
  36. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_title/.yml +71 -0
  37. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_1921098/_videos/.yml +104 -0
  38. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/_available_/.yml +46 -0
  39. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/_available_/.yml +1137 -0
  40. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/_title/.yml +1363 -0
  41. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_description/.yml +1137 -0
  42. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_duration/.yml +1137 -0
  43. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_code/.yml +1137 -0
  44. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_embed_url/.yml +1137 -0
  45. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_height/.yml +1137 -0
  46. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_keywords/.yml +1137 -0
  47. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_title/.yml +1137 -0
  48. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_view_count/.yml +1137 -0
  49. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/_width/.yml +1137 -0
  50. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/{available_ → _available_}/.yml +9 -9
  51. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_is_unavailable_video/{available_ → _available_}/.yml +6 -6
  52. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/{available_ → _available_}/.yml +6 -6
  53. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/.yml +61 -0
  54. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/.yml +61 -0
  55. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/.yml +61 -0
  56. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/.yml +61 -0
  57. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_large/.yml +61 -0
  58. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_medium/.yml +61 -0
  59. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_thumbnail_small/.yml +61 -0
  60. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/.yml +61 -0
  61. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/.yml +61 -0
  62. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/{available_ → _available_}/.yml +6 -6
  63. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/{available_ → _available_}/.yml +9 -9
  64. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/_videos/.yml +61 -0
  65. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/title → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description}/.yml +27 -95
  66. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_medium → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large}/.yml +31 -97
  67. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_small → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium}/.yml +31 -101
  68. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/.yml +98 -0
  69. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/.yml +98 -0
  70. data/spec/fixtures/vcr_cassettes/{VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/description → VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos}/.yml +27 -95
  71. data/spec/lib/video_info/providers/dailymotion_spec.rb +101 -23
  72. data/spec/lib/video_info/providers/vimeo_playlist_spec.rb +110 -32
  73. data/spec/lib/video_info/providers/vimeo_spec.rb +134 -29
  74. data/spec/lib/video_info/providers/vkontakte_spec.rb +95 -21
  75. data/spec/lib/video_info/providers/youtube_playlist_spec.rb +110 -25
  76. data/spec/lib/video_info/providers/youtube_spec.rb +206 -47
  77. data/spec/lib/video_info_spec.rb +20 -20
  78. data/spec/spec_helper.rb +1 -5
  79. data/video_info.gemspec +1 -0
  80. metadata +148 -178
  81. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_video_is_unavailable_video/available_/.yml +0 -46
  82. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_video_no_longer_available_due_to_a_copyright_claim_video/available_/.yml +0 -46
  83. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/description/.yml +0 -63
  84. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/duration/.yml +0 -63
  85. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/thumbnail_medium/.yml +0 -63
  86. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/thumbnail_small/.yml +0 -63
  87. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/title/.yml +0 -63
  88. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/date/.yml +0 -76
  89. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/description/.yml +0 -76
  90. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/duration/.yml +0 -76
  91. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/height/.yml +0 -76
  92. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/keywords/.yml +0 -76
  93. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_large/.yml +0 -76
  94. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_medium/.yml +0 -76
  95. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/thumbnail_small/.yml +0 -76
  96. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/title/.yml +0 -76
  97. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/view_count/.yml +0 -76
  98. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/width/.yml +0 -76
  99. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/_available_/with_invalid_playlist/available_/.yml +0 -152
  100. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/date/.yml +0 -75
  101. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/duration/.yml +0 -75
  102. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/height/.yml +0 -71
  103. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/keywords/.yml +0 -75
  104. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/thumbnail_large/.yml +0 -168
  105. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/videos/.yml +0 -202
  106. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/view_count/.yml +0 -71
  107. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_VimeoPlaylist/with_playlist_2755718/width/.yml +0 -71
  108. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/available_/.yml +0 -147
  109. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/available_/.yml +0 -1115
  110. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/description/.yml +0 -1139
  111. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/duration/.yml +0 -1139
  112. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_code/.yml +0 -1139
  113. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/embed_url/.yml +0 -1139
  114. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/height/.yml +0 -1139
  115. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/keywords/.yml +0 -1139
  116. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/title/.yml +0 -1139
  117. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/view_count/.yml +0 -1139
  118. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_39576223_108370515/width/.yml +0 -1139
  119. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/title/.yml +0 -1331
  120. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/description/.yml +0 -1125
  121. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/duration/.yml +0 -1125
  122. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_code/.yml +0 -1125
  123. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_url/.yml +0 -1125
  124. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/height/.yml +0 -1125
  125. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/keywords/.yml +0 -1125
  126. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/title/.yml +0 -1084
  127. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/view_count/.yml +0 -1125
  128. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/width/.yml +0 -1125
  129. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/date/.yml +0 -61
  130. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/description/.yml +0 -61
  131. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/duration/.yml +0 -61
  132. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/keywords/.yml +0 -63
  133. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_large/.yml +0 -61
  134. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_medium/.yml +0 -61
  135. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/thumbnail_small/.yml +0 -61
  136. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/title/.yml +0 -63
  137. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/view_count/.yml +0 -61
  138. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL0E8117603D70E10A_in_embed_path/videos/.yml +0 -61
  139. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/.yml +0 -98
  140. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/date/.yml +0 -98
  141. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/description/.yml +0 -98
  142. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/duration/.yml +0 -98
  143. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/keywords/.yml +0 -98
  144. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_large/.yml +0 -96
  145. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_medium/.yml +0 -96
  146. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/thumbnail_small/.yml +0 -98
  147. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/title/.yml +0 -98
  148. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/videos/.yml +0 -96
  149. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/view_count/.yml +0 -98
@@ -0,0 +1,98 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?alt=json&v=2
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.3.1
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ X-Gdata-User-Country:
22
+ - CH
23
+ Content-Type:
24
+ - application/json; charset=UTF-8
25
+ Access-Control-Allow-Origin:
26
+ - "*"
27
+ Expires:
28
+ - Wed, 29 Oct 2014 20:41:14 GMT
29
+ Date:
30
+ - Wed, 29 Oct 2014 20:36:14 GMT
31
+ Cache-Control:
32
+ - public, max-age=300, no-transform
33
+ Vary:
34
+ - Accept, X-GData-Authorization, GData-Version
35
+ Gdata-Version:
36
+ - '2.1'
37
+ Etag:
38
+ - W/"Ck4CRH47eCp7I2A9XRZXEkk."
39
+ Last-Modified:
40
+ - Tue, 01 Jul 2014 18:56:05 GMT
41
+ Transfer-Encoding:
42
+ - chunked
43
+ X-Content-Type-Options:
44
+ - nosniff
45
+ X-Frame-Options:
46
+ - SAMEORIGIN
47
+ X-Xss-Protection:
48
+ - 1; mode=block
49
+ Server:
50
+ - GSE
51
+ Alternate-Protocol:
52
+ - 80:quic,p=0.01
53
+ body:
54
+ encoding: UTF-8
55
+ string: '{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$media":"http://search.yahoo.com/mrss/","gd$etag":"W/\"Ck4CRH47eCp7I2A9XRZXEkk.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"updated":{"$t":"2014-07-01T18:56:05.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#playlist"}],"title":{"$t":"YouTube
56
+ Policy and Copyright"},"subtitle":{"$t":"Learn more about copyright basics,
57
+ flagging, and the YouTube community."},"logo":{"$t":"http://www.gstatic.com/youtube/img/logo.png"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/playlist?list=PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?v=2"},{"rel":"http://schemas.google.com/g/2005#batch","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/batch?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?alt=json&start-index=1&max-results=25&v=2"},{"rel":"service","type":"application/atomsvc+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?alt=atom-service&v=2"}],"author":[{"name":{"$t":"YouTube
58
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"generator":{"$t":"YouTube
59
+ data API","version":"2.1","uri":"http://gdata.youtube.com"},"openSearch$totalResults":{"$t":5},"openSearch$startIndex":{"$t":1},"openSearch$itemsPerPage":{"$t":25},"media$group":{"media$content":[{"url":"http://www.youtube.com/p/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr","type":"application/x-shockwave-flash","yt$format":5}],"media$description":{"$t":"Learn
60
+ more about copyright basics, flagging, and the YouTube community.","type":"plain"},"media$thumbnail":[{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"yt$name":"default"},{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"}],"media$title":{"$t":"YouTube
61
+ Policy and Copyright","type":"plain"}},"yt$playlistId":{"$t":"PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"entry":[{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxvzeL5__87gFCq75gAaFE6gY"},"published":{"$t":"2013-09-13T16:49:50.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Howto","label":"Howto
62
+ & Style"}],"title":{"$t":"Buying YouTube views through third-party services"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/_Bt3-WsHfB0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=_Bt3-WsHfB0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/_Bt3-WsHfB0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=_Bt3-WsHfB0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/_Bt3-WsHfB0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxvzeL5__87gFCq75gAaFE6gY?v=2"}],"author":[{"name":{"$t":"YouTube
63
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
64
+ & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/_Bt3-WsHfB0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":62,"yt$format":5},{"url":"rtsp://r6---sn-4g57kued.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":1},{"url":"rtsp://r6---sn-4g57kued.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
65
+ Help"}],"media$description":{"$t":"Viewcounts serve as a way to recognize
66
+ and surface great content. Since views are so important, it''s no surprise
67
+ that an ecosystem of businesses has evolved around artificially helping creators
68
+ get and create YouTube views, likes, and subscribers.\n\nHowever, paying for
69
+ views obtained through some of these companies could be a violation of our
70
+ terms, which exist, in part, to make sure the views on any YouTube video come
71
+ from real, genuine people.\n\nPlease visit our Help Center article for more
72
+ info!\n\nhttps://support.google.com/youtube/answer/3399767","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=_Bt3-WsHfB0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/default.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"default"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/1.jpg","height":90,"width":120,"time":"00:00:15.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/2.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/3.jpg","height":90,"width":120,"time":"00:00:46.500","yt$name":"end"}],"media$title":{"$t":"Buying
73
+ YouTube views through third-party services","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"62"},"yt$uploaded":{"$t":"2013-09-13T16:48:55.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"_Bt3-WsHfB0"}},"yt$position":{"$t":1}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5JvZLgV8BItvSbpyhS9_p8"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"YouTube
74
+ Content ID"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=9g2U12SsRns&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/9g2U12SsRns/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=9g2U12SsRns"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/9g2U12SsRns?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5JvZLgV8BItvSbpyhS9_p8?v=2"}],"author":[{"name":{"$t":"YouTube
75
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":132,"yt$format":5},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":1},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
76
+ Help"}],"media$description":{"$t":"Learn more about YouTube''s Content ID
77
+ system.","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=9g2U12SsRns&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/9g2U12SsRns/default.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"default"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/1.jpg","height":90,"width":120,"time":"00:00:33","yt$name":"start"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/2.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/3.jpg","height":90,"width":120,"time":"00:01:39","yt$name":"end"}],"media$title":{"$t":"YouTube
78
+ Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"726751"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Determining
79
+ What Happened to Your Video"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=8b0aEoxqqC0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE?v=2"}],"author":[{"name":{"$t":"YouTube
80
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":191,"yt$format":5},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":1},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
81
+ Help"}],"media$description":{"$t":"This video will show you how to determine
82
+ what happened to your video if it was removed from YouTube.\n\nTo learn more
83
+ about copyright on YouTube, please visit our Copyright Center at http://www.youtube.com/yt/copyright/","type":"plain"},"media$keywords":{},"media$license":{"$t":"cc","type":"text/html","href":"http://creativecommons.org/licenses/by/3.0/"},"media$player":{"url":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/1.jpg","height":90,"width":120,"time":"00:00:47.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/2.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/3.jpg","height":90,"width":120,"time":"00:02:23.250","yt$name":"end"}],"media$title":{"$t":"Determining
84
+ What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"38340"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
85
+ and Policy Enforcement on YouTube"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=6c3mHikRz0I"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs?v=2"}],"author":[{"name":{"$t":"YouTube
86
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"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/6c3mHikRz0I/comments?v=2","countHint":143}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
87
+ Help"}],"media$description":{"$t":"This video explains the basics of reporting
88
+ on YouTube. \n\nTo learn more about reporting, policies and safety please
89
+ visit our Policy and Safety hub, http://www.youtube.com/yt/policyandsafety/","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=6c3mHikRz0I&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/default.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"default"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/1.jpg","height":90,"width":120,"time":"00:00:23.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/2.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/3.jpg","height":90,"width":120,"time":"00:01:10.500","yt$name":"end"}],"media$title":{"$t":"Reporting
90
+ and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.317817,"max":5,"min":1,"numRaters":623,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"206482"},"yt$rating":{"numDislikes":"262","numLikes":"361"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Howto","label":"Howto
91
+ & Style"}],"title":{"$t":"YouTube Copyright Basics (Global)"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=OQVHWsTHcoc"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4?v=2"}],"author":[{"name":{"$t":"YouTube
92
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
93
+ & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":342,"yt$format":5},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":1},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
94
+ Help"}],"media$description":{"$t":"","type":"plain"},"media$keywords":{"$t":"yt:cc=on"},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/default.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"default"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/1.jpg","height":90,"width":120,"time":"00:01:25.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/2.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/3.jpg","height":90,"width":120,"time":"00:04:16.500","yt$name":"end"}],"media$title":{"$t":"YouTube
95
+ Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"747990"},"yt$position":{"$t":5}}]}}'
96
+ http_version:
97
+ recorded_at: Wed, 29 Oct 2014 20:36:14 GMT
98
+ recorded_with: VCR 2.9.3
@@ -8,24 +8,24 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - VideoInfo/2.2.2
11
+ - VideoInfo/2.3.1
12
12
  Accept-Encoding:
13
13
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
14
  Accept:
15
- - '*/*'
15
+ - "*/*"
16
16
  response:
17
17
  status:
18
18
  code: 200
19
19
  message: OK
20
20
  headers:
21
21
  X-Gdata-User-Country:
22
- - GB
22
+ - CH
23
23
  Content-Type:
24
24
  - application/json;charset=UTF-8
25
25
  Expires:
26
- - Sat, 01 Mar 2014 00:14:54 GMT
26
+ - Wed, 29 Oct 2014 20:41:16 GMT
27
27
  Date:
28
- - Sat, 01 Mar 2014 00:09:54 GMT
28
+ - Wed, 29 Oct 2014 20:36:16 GMT
29
29
  Cache-Control:
30
30
  - public, max-age=300, no-transform
31
31
  Vary:
@@ -33,9 +33,9 @@ http_interactions:
33
33
  Gdata-Version:
34
34
  - '2.1'
35
35
  Etag:
36
- - W/"D0QFSX47eCp7I2A9Wh9QE0U."
36
+ - W/"Ck4CRH47eCp7I2A9XRZXEkk."
37
37
  Last-Modified:
38
- - Wed, 26 Feb 2014 03:28:38 GMT
38
+ - Tue, 01 Jul 2014 18:56:05 GMT
39
39
  X-Content-Type-Options:
40
40
  - nosniff
41
41
  X-Frame-Options:
@@ -43,23 +43,23 @@ http_interactions:
43
43
  X-Xss-Protection:
44
44
  - 1; mode=block
45
45
  Content-Length:
46
- - '25710'
46
+ - '25678'
47
47
  Server:
48
48
  - GSE
49
49
  Alternate-Protocol:
50
- - 80:quic
50
+ - 80:quic,p=0.01
51
51
  body:
52
52
  encoding: UTF-8
53
- string: '{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"D0QFSX47eCp7I2A9Wh9QE0U.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"updated":{"$t":"2014-02-26T03:28:38.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#playlist"}],"title":{"$t":"YouTube
53
+ string: '{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$media":"http://search.yahoo.com/mrss/","gd$etag":"W/\"Ck4CRH47eCp7I2A9XRZXEkk.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"updated":{"$t":"2014-07-01T18:56:05.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#playlist"}],"title":{"$t":"YouTube
54
54
  Policy and Copyright"},"subtitle":{"$t":"Learn more about copyright basics,
55
55
  flagging, and the YouTube community."},"logo":{"$t":"http://www.gstatic.com/youtube/img/logo.png"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/playlist?list=PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?v=2"},{"rel":"http://schemas.google.com/g/2005#batch","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/batch?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?alt=json&start-index=1&max-results=25&v=2"},{"rel":"service","type":"application/atomsvc+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr?alt=atom-service&v=2"}],"author":[{"name":{"$t":"YouTube
56
56
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"generator":{"$t":"YouTube
57
57
  data API","version":"2.1","uri":"http://gdata.youtube.com"},"openSearch$totalResults":{"$t":5},"openSearch$startIndex":{"$t":1},"openSearch$itemsPerPage":{"$t":25},"media$group":{"media$content":[{"url":"http://www.youtube.com/p/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr","type":"application/x-shockwave-flash","yt$format":5}],"media$description":{"$t":"Learn
58
- more about copyright basics, flagging, and the YouTube community.","type":"plain"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"yt$name":"default"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"}],"media$title":{"$t":"YouTube
58
+ more about copyright basics, flagging, and the YouTube community.","type":"plain"},"media$thumbnail":[{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"yt$name":"default"},{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"https://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"}],"media$title":{"$t":"YouTube
59
59
  Policy and Copyright","type":"plain"}},"yt$playlistId":{"$t":"PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr"},"entry":[{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxvzeL5__87gFCq75gAaFE6gY"},"published":{"$t":"2013-09-13T16:49:50.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Howto","label":"Howto
60
60
  & Style"}],"title":{"$t":"Buying YouTube views through third-party services"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/_Bt3-WsHfB0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=_Bt3-WsHfB0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/_Bt3-WsHfB0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=_Bt3-WsHfB0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/_Bt3-WsHfB0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxvzeL5__87gFCq75gAaFE6gY?v=2"}],"author":[{"name":{"$t":"YouTube
61
61
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
62
- & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/_Bt3-WsHfB0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":62,"yt$format":5},{"url":"rtsp://r6---sn-cg07lues.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":1},{"url":"rtsp://r6---sn-cg07lues.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
62
+ & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/_Bt3-WsHfB0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":62,"yt$format":5},{"url":"rtsp://r6---sn-4g57kued.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":1},{"url":"rtsp://r6---sn-4g57kued.c.youtube.com/CiULENy73wIaHAkdfAdr-Xcb_BMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":62,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
63
63
  Help"}],"media$description":{"$t":"Viewcounts serve as a way to recognize
64
64
  and surface great content. Since views are so important, it''s no surprise
65
65
  that an ecosystem of businesses has evolved around artificially helping creators
@@ -67,98 +67,30 @@ http_interactions:
67
67
  views obtained through some of these companies could be a violation of our
68
68
  terms, which exist, in part, to make sure the views on any YouTube video come
69
69
  from real, genuine people.\n\nPlease visit our Help Center article for more
70
- info!\n\nhttps://support.google.com/youtube/answer/3399767","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=_Bt3-WsHfB0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/default.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/1.jpg","height":90,"width":120,"time":"00:00:15.500","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/2.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/_Bt3-WsHfB0/3.jpg","height":90,"width":120,"time":"00:00:46.500","yt$name":"end"}],"media$title":{"$t":"Buying
70
+ info!\n\nhttps://support.google.com/youtube/answer/3399767","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=_Bt3-WsHfB0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/default.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"default"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/1.jpg","height":90,"width":120,"time":"00:00:15.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/2.jpg","height":90,"width":120,"time":"00:00:31","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/_Bt3-WsHfB0/3.jpg","height":90,"width":120,"time":"00:00:46.500","yt$name":"end"}],"media$title":{"$t":"Buying
71
71
  YouTube views through third-party services","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"62"},"yt$uploaded":{"$t":"2013-09-13T16:48:55.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"_Bt3-WsHfB0"}},"yt$position":{"$t":1}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5JvZLgV8BItvSbpyhS9_p8"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"YouTube
72
72
  Content ID"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=9g2U12SsRns&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/9g2U12SsRns/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=9g2U12SsRns"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/9g2U12SsRns?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5JvZLgV8BItvSbpyhS9_p8?v=2"}],"author":[{"name":{"$t":"YouTube
73
- Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":132,"yt$format":5},{"url":"rtsp://r7---sn-cg07lues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":1},{"url":"rtsp://r7---sn-cg07lues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
73
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/9g2U12SsRns?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":132,"yt$format":5},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":1},{"url":"rtsp://r7---sn-4g57kues.c.youtube.com/CiULENy73wIaHAl7Rqxk15QN9hMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":132,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
74
74
  Help"}],"media$description":{"$t":"Learn more about YouTube''s Content ID
75
- system.","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=9g2U12SsRns&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/default.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/1.jpg","height":90,"width":120,"time":"00:00:33","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/2.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/9g2U12SsRns/3.jpg","height":90,"width":120,"time":"00:01:39","yt$name":"end"}],"media$title":{"$t":"YouTube
76
- Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"606467"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Determining
75
+ system.","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=9g2U12SsRns&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/9g2U12SsRns/default.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"default"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/1.jpg","height":90,"width":120,"time":"00:00:33","yt$name":"start"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/2.jpg","height":90,"width":120,"time":"00:01:06","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/9g2U12SsRns/3.jpg","height":90,"width":120,"time":"00:01:39","yt$name":"end"}],"media$title":{"$t":"YouTube
76
+ Content ID","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"132"},"yt$uploaded":{"$t":"2010-09-28T18:21:56.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"9g2U12SsRns"}},"yt$statistics":{"favoriteCount":"0","viewCount":"726751"},"yt$position":{"$t":2}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Determining
77
77
  What Happened to Your Video"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=8b0aEoxqqC0"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/8b0aEoxqqC0?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv5thSi6AaU9r_9hUpT_DLZE?v=2"}],"author":[{"name":{"$t":"YouTube
78
- Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":191,"yt$format":5},{"url":"rtsp://r2---sn-cg07luee.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":1},{"url":"rtsp://r2---sn-cg07luee.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
78
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"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/8b0aEoxqqC0?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":191,"yt$format":5},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":1},{"url":"rtsp://r2---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAktqGqMEhq98RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":191,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
79
79
  Help"}],"media$description":{"$t":"This video will show you how to determine
80
80
  what happened to your video if it was removed from YouTube.\n\nTo learn more
81
- about copyright on YouTube, please visit our Copyright Center at http://www.youtube.com/yt/copyright/","type":"plain"},"media$keywords":{},"media$license":{"$t":"cc","type":"text/html","href":"http://creativecommons.org/licenses/by/3.0/"},"media$player":{"url":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/1.jpg","height":90,"width":120,"time":"00:00:47.750","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/2.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/8b0aEoxqqC0/3.jpg","height":90,"width":120,"time":"00:02:23.250","yt$name":"end"}],"media$title":{"$t":"Determining
82
- What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"19514"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
81
+ about copyright on YouTube, please visit our Copyright Center at http://www.youtube.com/yt/copyright/","type":"plain"},"media$keywords":{},"media$license":{"$t":"cc","type":"text/html","href":"http://creativecommons.org/licenses/by/3.0/"},"media$player":{"url":"http://www.youtube.com/watch?v=8b0aEoxqqC0&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/default.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/1.jpg","height":90,"width":120,"time":"00:00:47.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/2.jpg","height":90,"width":120,"time":"00:01:35.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/8b0aEoxqqC0/3.jpg","height":90,"width":120,"time":"00:02:23.250","yt$name":"end"}],"media$title":{"$t":"Determining
82
+ What Happened to Your Video","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"191"},"yt$uploaded":{"$t":"2013-04-11T23:44:36.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"8b0aEoxqqC0"}},"yt$statistics":{"favoriteCount":"0","viewCount":"38340"},"yt$position":{"$t":3}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs"},"published":{"$t":"2013-08-09T05:09:51.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Entertainment","label":"Entertainment"}],"title":{"$t":"Reporting
83
83
  and Policy Enforcement on YouTube"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=6c3mHikRz0I&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=6c3mHikRz0I"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/6c3mHikRz0I?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv4Zz231WHvzzM2lBS3jjPZs?v=2"}],"author":[{"name":{"$t":"YouTube
84
- Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"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/6c3mHikRz0I/comments?v=2","countHint":127}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-cg07lues.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-cg07lues.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
84
+ Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"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/6c3mHikRz0I/comments?v=2","countHint":143}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Entertainment","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/6c3mHikRz0I?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":94,"yt$format":5},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":1},{"url":"rtsp://r1---sn-4g57kued.c.youtube.com/CiULENy73wIaHAlCzxEpHubN6RMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":94,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
85
85
  Help"}],"media$description":{"$t":"This video explains the basics of reporting
86
86
  on YouTube. \n\nTo learn more about reporting, policies and safety please
87
- visit our Policy and Safety hub, http://www.youtube.com/yt/policyandsafety/","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=6c3mHikRz0I&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/default.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/1.jpg","height":90,"width":120,"time":"00:00:23.500","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/2.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/6c3mHikRz0I/3.jpg","height":90,"width":120,"time":"00:01:10.500","yt$name":"end"}],"media$title":{"$t":"Reporting
88
- and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.3506744,"max":5,"min":1,"numRaters":519,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"189331"},"yt$rating":{"numDislikes":"214","numLikes":"305"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Howto","label":"Howto
87
+ visit our Policy and Safety hub, http://www.youtube.com/yt/policyandsafety/","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=6c3mHikRz0I&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/default.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"default"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/1.jpg","height":90,"width":120,"time":"00:00:23.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/2.jpg","height":90,"width":120,"time":"00:00:47","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/6c3mHikRz0I/3.jpg","height":90,"width":120,"time":"00:01:10.500","yt$name":"end"}],"media$title":{"$t":"Reporting
88
+ and Policy Enforcement on YouTube","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"94"},"yt$uploaded":{"$t":"2013-04-04T23:31:32.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"6c3mHikRz0I"}},"gd$rating":{"average":3.317817,"max":5,"min":1,"numRaters":623,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"206482"},"yt$rating":{"numDislikes":"262","numLikes":"361"},"yt$position":{"$t":4}},{"gd$etag":"W/\"YDwqeyM.\"","id":{"$t":"tag:youtube.com,2008:playlist:PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr:PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4"},"published":{"$t":"2013-12-17T23:45:41.000Z"},"updated":{"$t":"1970-01-01T00:00:00.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":"Howto","label":"Howto
89
89
  & Style"}],"title":{"$t":"YouTube Copyright Basics (Global)"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=OQVHWsTHcoc"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/MDQxm7cUx3yXkfeHa5zJIQ?v=2"},{"rel":"related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/OQVHWsTHcoc?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/playlists/PL9hW1uS6HUftLdHI6RIsaf-iXTm09qnEr/PLa0L99Uc4VSCXhwLjoLzxv1hmeWhxMppADNQi_wSyGm4?v=2"}],"author":[{"name":{"$t":"YouTube
90
90
  Help"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/YouTubeHelp"},"yt$userId":{"$t":"MDQxm7cUx3yXkfeHa5zJIQ"}}],"yt$accessControl":[{"action":"comment","permission":"denied"},{"action":"commentVote","permission":"denied"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"denied"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"yt$hd":{},"media$group":{"media$category":[{"$t":"Howto","label":"Howto
91
- & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":342,"yt$format":5},{"url":"rtsp://r7---sn-cg07luel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":1},{"url":"rtsp://r7---sn-cg07luel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
92
- Help"}],"media$description":{"$t":"","type":"plain"},"media$keywords":{"$t":"yt:cc=on"},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/default.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"default"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/1.jpg","height":90,"width":120,"time":"00:01:25.500","yt$name":"start"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/2.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"middle"},{"url":"http://i1.ytimg.com/vi/OQVHWsTHcoc/3.jpg","height":90,"width":120,"time":"00:04:16.500","yt$name":"end"}],"media$title":{"$t":"YouTube
93
- Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"226558"},"yt$position":{"$t":5}}]}}'
91
+ & Style","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/OQVHWsTHcoc?version=3&f=playlists&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":342,"yt$format":5},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYDSANFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":1},{"url":"rtsp://r7---sn-4g57kuel.c.youtube.com/CiULENy73wIaHAmHcsfEWkcFORMYESARFEgGUglwbGF5bGlzdHMM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":342,"yt$format":6}],"media$credit":[{"$t":"youtubehelp","role":"uploader","scheme":"urn:youtube","yt$display":"YouTube
92
+ Help"}],"media$description":{"$t":"","type":"plain"},"media$keywords":{"$t":"yt:cc=on"},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=OQVHWsTHcoc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/default.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"default"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/1.jpg","height":90,"width":120,"time":"00:01:25.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/2.jpg","height":90,"width":120,"time":"00:02:51","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/OQVHWsTHcoc/3.jpg","height":90,"width":120,"time":"00:04:16.500","yt$name":"end"}],"media$title":{"$t":"YouTube
93
+ Copyright Basics (Global)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"342"},"yt$uploaded":{"$t":"2013-12-02T23:22:20.000Z"},"yt$uploaderId":{"$t":"UCMDQxm7cUx3yXkfeHa5zJIQ"},"yt$videoid":{"$t":"OQVHWsTHcoc"}},"yt$statistics":{"favoriteCount":"0","viewCount":"747990"},"yt$position":{"$t":5}}]}}'
94
94
  http_version:
95
- recorded_at: Sat, 01 Mar 2014 00:09:57 GMT
96
- - request:
97
- method: get
98
- uri: http://vimeo.com/api/v2/album/2755718/info.json
99
- body:
100
- encoding: US-ASCII
101
- string: ''
102
- headers:
103
- User-Agent:
104
- - VideoInfo/2.2.2
105
- Accept-Encoding:
106
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
107
- Accept:
108
- - '*/*'
109
- response:
110
- status:
111
- code: 200
112
- message: OK
113
- headers:
114
- Age:
115
- - '1'
116
- Date:
117
- - Sat, 01 Mar 2014 00:10:31 GMT
118
- Expires:
119
- - Sat, 01 Mar 2014 00:11:31 GMT
120
- Content-Length:
121
- - '641'
122
- Connection:
123
- - Keep-Alive
124
- Via:
125
- - 1.1 varnish
126
- - dnet-dca
127
- Etag:
128
- - '"f9075c16b5f1158ce5ea0e7c4f82dad0"'
129
- Server:
130
- - Apache
131
- Access-Control-Allow-Origin:
132
- - '*'
133
- X-Ratelimit-Limit:
134
- - '3600'
135
- X-Ratelimit-Remaining:
136
- - '3583'
137
- X-Ratelimit-Reset:
138
- - '1393635073'
139
- Last-Modified:
140
- - Sat, 01 Mar 2014 00:07:48 GMT
141
- X-Ua-Compatible:
142
- - IE=edge
143
- X-Dns-Prefetch-Control:
144
- - 'on'
145
- Vary:
146
- - Accept-Encoding
147
- Content-Type:
148
- - application/json
149
- X-Varnish:
150
- - '1775290544'
151
- X-Varnish-Cache:
152
- - '0'
153
- X-Vserver:
154
- - 10.90.128.196
155
- body:
156
- encoding: UTF-8
157
- string: '{"id":2755718,"created_on":"2014-02-28 18:18:21","last_modified":"2014-02-28
158
- 19:07:48","title":"The Century Of Self","description":"The Century of the
159
- Self is an award-winning British television documentary series by Adam Curtis,
160
- released in 2002.","url":"http:\/\/vimeo.com\/album\/2755718","thumbnail_small":"http:\/\/b.vimeocdn.com\/ts\/443\/595\/443595474_100.jpg","thumbnail_medium":"http:\/\/b.vimeocdn.com\/ts\/443\/595\/443595474_200.jpg","thumbnail_large":"http:\/\/b.vimeocdn.com\/ts\/443\/595\/443595474_640.jpg","total_videos":4,"user_id":2618747,"user_display_name":"Karl
161
- Entwistle","user_url":"http:\/\/vimeo.com\/user2618747"}'
162
- http_version:
163
- recorded_at: Sat, 01 Mar 2014 00:10:34 GMT
164
- recorded_with: VCR 2.8.0
95
+ recorded_at: Wed, 29 Oct 2014 20:36:16 GMT
96
+ recorded_with: VCR 2.9.3
@@ -8,51 +8,122 @@ describe VideoInfo::Providers::Dailymotion do
8
8
 
9
9
  context "with dailymotion url" do
10
10
  let(:url) { 'http://www.dailymotion.com/video/x7lni3' }
11
- it { should be_true }
11
+ it { is_expected.to be_truthy }
12
12
  end
13
13
 
14
14
  context "with dai.ly url" do
15
15
  let(:url) { 'http://dai.ly/video/x7lni3' }
16
- it { should be_true }
16
+ it { is_expected.to be_truthy }
17
17
  end
18
18
 
19
19
  context "with other url" do
20
20
  let(:url) { 'http://www.youtube.com/x7lni3' }
21
- it { should be_false }
21
+ it { is_expected.to be_falsey }
22
22
  end
23
23
  end
24
24
 
25
25
  describe "#available?" do
26
26
  context "with valid video", :vcr do
27
27
  subject { VideoInfo.new('http://www.dailymotion.com/video/x7lni3') }
28
- its(:available?) { should be_true }
28
+
29
+ describe '#available?' do
30
+ subject { super().available? }
31
+ it { is_expected.to be_truthy }
32
+ end
29
33
  end
30
34
 
31
35
  context "with 'This video does not exist or has been deleted.", :vcr do
32
36
  subject { VideoInfo.new('http://www.dailymotion.com/video/inValIdiD') }
33
- its(:available?) { should be_false }
37
+
38
+ describe '#available?' do
39
+ subject { super().available? }
40
+ it { is_expected.to be_falsey }
41
+ end
34
42
  end
35
43
  end
36
44
 
37
45
  context "with video x7lni3", :vcr do
38
46
  subject { VideoInfo.new('http://www.dailymotion.com/video/x7lni3') }
39
47
 
40
- its(:provider) { should eq 'Dailymotion' }
41
- its(:video_id) { should eq 'x7lni3' }
42
- its(:url) { should eq 'http://www.dailymotion.com/video/x7lni3' }
43
- its(:embed_url) { should eq '//www.dailymotion.com/embed/video/x7lni3' }
44
- its(:embed_code) { should eq '<iframe src="//www.dailymotion.com/embed/video/x7lni3?autoplay=0" frameborder="0"></iframe>' }
45
- its(:title) { should eq 'Mario Kart (Rémi Gaillard)' }
46
- its(:description) { should eq 'Super Rémi Kart est un jeu vidéo de course développé et édité par N\'Importe Quoi TV. Sa principale originalité vient de sa réalité...<br />L\'aventure continue sur www.nimportequi.com' }
47
- its(:keywords) { should eq ["rémi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"] }
48
- its(:duration) { should eq 136}
49
- its(:width) { should be_nil }
50
- its(:height) { should be_nil }
51
- its(:date) { should eq Time.parse('2008-12-03 16:29:31 UTC', Time.now.utc) }
52
- its(:thumbnail_small) { should eq 'http://s2.dmcdn.net/BgWxI/x60-kbf.jpg' }
53
- its(:thumbnail_medium) { should eq 'http://s2.dmcdn.net/BgWxI/x240-b83.jpg' }
54
- its(:thumbnail_large) { should eq 'http://s2.dmcdn.net/BgWxI/x720-YcV.jpg' }
55
- its(:view_count) { should be > 10000000 }
48
+ describe '#provider' do
49
+ subject { super().provider }
50
+ it { is_expected.to eq 'Dailymotion' }
51
+ end
52
+
53
+ describe '#video_id' do
54
+ subject { super().video_id }
55
+ it { is_expected.to eq 'x7lni3' }
56
+ end
57
+
58
+ describe '#url' do
59
+ subject { super().url }
60
+ it { is_expected.to eq 'http://www.dailymotion.com/video/x7lni3' }
61
+ end
62
+
63
+ describe '#embed_url' do
64
+ subject { super().embed_url }
65
+ it { is_expected.to eq '//www.dailymotion.com/embed/video/x7lni3' }
66
+ end
67
+
68
+ describe '#embed_code' do
69
+ subject { super().embed_code }
70
+ it { is_expected.to eq '<iframe src="//www.dailymotion.com/embed/video/x7lni3?autoplay=0" frameborder="0"></iframe>' }
71
+ end
72
+
73
+ describe '#title' do
74
+ subject { super().title }
75
+ it { is_expected.to eq 'Mario Kart (Rémi Gaillard)' }
76
+ end
77
+
78
+ describe '#description' do
79
+ subject { super().description }
80
+ it { is_expected.to eq 'Super Rémi Kart est un jeu vidéo de course développé et édité par N\'Importe Quoi TV. Sa principale originalité vient de sa réalité...<br />L\'aventure continue sur www.nimportequi.com' }
81
+ end
82
+
83
+ describe '#keywords' do
84
+ subject { super().keywords }
85
+ it { is_expected.to eq ["rémi","remi","gaillard","imposteur","imposture","mario","bros","kart","nintendo","jeux"] }
86
+ end
87
+
88
+ describe '#duration' do
89
+ subject { super().duration }
90
+ it { is_expected.to eq 136}
91
+ end
92
+
93
+ describe '#width' do
94
+ subject { super().width }
95
+ it { is_expected.to be_nil }
96
+ end
97
+
98
+ describe '#height' do
99
+ subject { super().height }
100
+ it { is_expected.to be_nil }
101
+ end
102
+
103
+ describe '#date' do
104
+ subject { super().date }
105
+ it { is_expected.to eq Time.parse('2008-12-03 16:29:31 UTC', Time.now.utc) }
106
+ end
107
+
108
+ describe '#thumbnail_small' do
109
+ subject { super().thumbnail_small }
110
+ it { is_expected.to eq 'http://s2.dmcdn.net/BgWxI/x60-kbf.jpg' }
111
+ end
112
+
113
+ describe '#thumbnail_medium' do
114
+ subject { super().thumbnail_medium }
115
+ it { is_expected.to eq 'http://s2.dmcdn.net/BgWxI/x240-b83.jpg' }
116
+ end
117
+
118
+ describe '#thumbnail_large' do
119
+ subject { super().thumbnail_large }
120
+ it { is_expected.to eq 'http://s2.dmcdn.net/BgWxI/x720-YcV.jpg' }
121
+ end
122
+
123
+ describe '#view_count' do
124
+ subject { super().view_count }
125
+ it { is_expected.to be > 10000000 }
126
+ end
56
127
  end
57
128
 
58
129
  context "with video x7lni3 and url_attributes", :vcr do
@@ -71,8 +142,15 @@ describe VideoInfo::Providers::Dailymotion do
71
142
  context "with video x7lni3 in text", :vcr do
72
143
  subject { VideoInfo.new('<a href="http://www.dailymotion.com/video/x7lni3">http://www.dailymotion.com/video/x7lni3</a>') }
73
144
 
74
- its(:provider) { should eq 'Dailymotion' }
75
- its(:video_id) { should eq 'x7lni3' }
145
+ describe '#provider' do
146
+ subject { super().provider }
147
+ it { is_expected.to eq 'Dailymotion' }
148
+ end
149
+
150
+ describe '#video_id' do
151
+ subject { super().video_id }
152
+ it { is_expected.to eq 'x7lni3' }
153
+ end
76
154
  end
77
155
 
78
156
  end
@@ -7,72 +7,150 @@ describe VideoInfo::Providers::VimeoPlaylist do
7
7
 
8
8
  context "with vimeo album url" do
9
9
  let(:url) { 'http://vimeo.com/album/2755718' }
10
- it { should be_true }
10
+ it { is_expected.to be_truthy }
11
11
  end
12
12
 
13
13
  context "with vimeo hubnub embed url" do
14
14
  let(:url) { 'http://player.vimeo.com/hubnut/album/2755718' }
15
- it { should be_true }
15
+ it { is_expected.to be_truthy }
16
16
  end
17
17
 
18
18
  context "with vimeo url" do
19
19
  let(:url) { 'http://www.vimeo.com/898029' }
20
- it { should be_false }
20
+ it { is_expected.to be_falsey }
21
21
  end
22
22
 
23
23
  context "with other url" do
24
24
  let(:url) { 'http://www.youtube.com/898029' }
25
- it { should be_false }
25
+ it { is_expected.to be_falsey }
26
26
  end
27
27
  end
28
28
 
29
29
  describe "#available?" do
30
30
  context "with valid playlist", :vcr do
31
31
  subject { VideoInfo.new('http://vimeo.com/album/2755718') }
32
- its(:available?) { should be_true }
32
+
33
+ describe '#available?' do
34
+ subject { super().available? }
35
+ it { is_expected.to be_truthy }
36
+ end
33
37
  end
34
38
 
35
39
  context "with invalid playlist", :vcr do
36
40
  subject { VideoInfo.new('http://vimeo.com/album/2') }
37
- its(:available?) { should be_false }
41
+
42
+ describe '#available?' do
43
+ subject { super().available? }
44
+ it { is_expected.to be_falsey }
45
+ end
38
46
  end
39
47
  end
40
48
 
41
49
 
42
- context "with playlist 2755718", :vcr do
50
+ context "with playlist 1921098", :vcr do
43
51
  let(:videos) {
44
52
  [
45
- VideoInfo.new('http://vimeo.com/67977038'),
46
- VideoInfo.new('http://vimeo.com/68843810'),
47
- VideoInfo.new('http://vimeo.com/69949597'),
48
- VideoInfo.new('http://vimeo.com/70388245')
49
- ]
53
+ 39837353, 40170418, 38809325, 38445453,
54
+ 38445381, 38445243, 38394965, 42647970
55
+ ].map do |video_id|
56
+ VideoInfo.new("http://vimeo.com/#{video_id}")
57
+ end
50
58
  }
51
- subject { VideoInfo.new('http://vimeo.com/album/2755718') }
52
-
53
- its(:provider) { should eq 'Vimeo' }
54
- its(:playlist_id) { should eq '2755718' }
55
- its(:url) { should eq 'http://vimeo.com/album/2755718' }
56
- its(:embed_url) { should eq '//player.vimeo.com/hubnut/album/2755718' }
57
- its(:embed_code) { should eq '<iframe src="//player.vimeo.com/hubnut/album/2755718?autoplay=0&byline=0&portrait=0&title=0" frameborder="0"></iframe>' }
58
- its(:title) { should eq 'The Century Of Self' }
59
- its(:description) { should eq 'The Century of the Self is an award-winning British television documentary series by Adam Curtis, released in 2002.' }
60
- its(:keywords) { should be_nil }
61
- its(:duration) { should be_nil }
62
- its(:width) { should be_nil }
63
- its(:height) { should be_nil }
64
- its(:date) { should be_nil }
65
- its(:thumbnail_small) { should eq 'http://b.vimeocdn.com/ts/443/595/443595474_100.jpg' }
66
- its(:thumbnail_medium) { should eq 'http://b.vimeocdn.com/ts/443/595/443595474_200.jpg' }
67
- its(:thumbnail_large) { should eq 'http://b.vimeocdn.com/ts/443/595/443595474_640.jpg' }
68
- its(:videos) { should match_array(videos) }
69
- its(:view_count) { should be_nil }
59
+ subject { VideoInfo.new('http://vimeo.com/album/1921098') }
60
+
61
+ describe '#provider' do
62
+ subject { super().provider }
63
+ it { is_expected.to eq 'Vimeo' }
64
+ end
65
+
66
+ describe '#playlist_id' do
67
+ subject { super().playlist_id }
68
+ it { is_expected.to eq '1921098' }
69
+ end
70
+
71
+ describe '#url' do
72
+ subject { super().url }
73
+ it { is_expected.to eq 'http://vimeo.com/album/1921098' }
74
+ end
75
+
76
+ describe '#embed_url' do
77
+ subject { super().embed_url }
78
+ it { is_expected.to eq '//player.vimeo.com/hubnut/album/1921098' }
79
+ end
80
+
81
+ describe '#embed_code' do
82
+ subject { super().embed_code }
83
+ it { is_expected.to eq "<iframe src=\"//player.vimeo.com/hubnut/album/1921098?autoplay=0&byline=0&portrait=0&title=0\" frameborder=\"0\"></iframe>" }
84
+ end
85
+
86
+ describe '#title' do
87
+ subject { super().title }
88
+ it { is_expected.to eq 'Get To Know The New Vimeo' }
89
+ end
90
+
91
+ describe '#description' do
92
+ subject { super().description }
93
+ it { is_expected.to eq 'Tutorials to get you started in the brand new Vimeo!' }
94
+ end
95
+
96
+ describe '#keywords' do
97
+ subject { super().keywords }
98
+ it { is_expected.to be_nil }
99
+ end
100
+
101
+ describe '#duration' do
102
+ subject { super().duration }
103
+ it { is_expected.to be_nil }
104
+ end
105
+
106
+ describe '#width' do
107
+ subject { super().width }
108
+ it { is_expected.to be_nil }
109
+ end
110
+
111
+ describe '#height' do
112
+ subject { super().height }
113
+ it { is_expected.to be_nil }
114
+ end
115
+
116
+ describe '#date' do
117
+ subject { super().date }
118
+ it { is_expected.to be_nil }
119
+ end
120
+
121
+ describe '#thumbnail_small' do
122
+ subject { super().thumbnail_small }
123
+ it { is_expected.to eq 'http://i.vimeocdn.com/video/299773432_100x75.jpg' }
124
+ end
125
+
126
+ describe '#thumbnail_medium' do
127
+ subject { super().thumbnail_medium }
128
+ it { is_expected.to eq 'http://i.vimeocdn.com/video/299773432_200x150.jpg' }
129
+ end
130
+
131
+ describe '#thumbnail_large' do
132
+ subject { super().thumbnail_large }
133
+ it { is_expected.to eq 'http://i.vimeocdn.com/video/299773432_640.jpg' }
134
+ end
135
+
136
+ describe '#videos' do
137
+ subject { super().videos }
138
+ it { is_expected.to match_array(videos) }
139
+ end
140
+
141
+ describe '#view_count' do
142
+ subject { super().view_count }
143
+ it { is_expected.to be_nil }
144
+ end
70
145
  end
71
146
 
72
147
  context "with playlist 2755718 in embed path", :vcr do
73
148
  subject { VideoInfo.new('http://player.vimeo.com/hubnut/album/2755718') }
74
149
 
75
- its(:playlist_id) { should eq '2755718' }
150
+ describe '#playlist_id' do
151
+ subject { super().playlist_id }
152
+ it { is_expected.to eq '2755718' }
153
+ end
76
154
  end
77
155
 
78
156
  end