video_info 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -1
  3. data/.rubocop.yml +242 -1
  4. data/.travis.yml +9 -8
  5. data/CONTRIBUTING.md +11 -0
  6. data/Gemfile +1 -1
  7. data/Guardfile +1 -1
  8. data/README.md +34 -1
  9. data/lib/video_info.rb +22 -26
  10. data/lib/video_info/provider.rb +8 -10
  11. data/lib/video_info/providers/dailymotion.rb +6 -3
  12. data/lib/video_info/providers/vimeo.rb +3 -3
  13. data/lib/video_info/providers/vimeo_api.rb +13 -4
  14. data/lib/video_info/providers/vimeo_scraper.rb +33 -13
  15. data/lib/video_info/providers/vkontakte.rb +38 -14
  16. data/lib/video_info/providers/wistia.rb +2 -1
  17. data/lib/video_info/providers/youtube.rb +4 -2
  18. data/lib/video_info/providers/youtube_api.rb +38 -3
  19. data/lib/video_info/providers/youtube_scraper.rb +26 -12
  20. data/lib/video_info/providers/youtubeplaylist.rb +5 -2
  21. data/lib/video_info/providers/youtubeplaylist_api.rb +8 -1
  22. data/lib/video_info/providers/youtubeplaylist_scraper.rb +16 -3
  23. data/lib/video_info/version.rb +1 -1
  24. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_invalid_video_url/_available_/1_2_2_1_1.yml +89 -0
  25. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/_available_/with_valid_video/_available_/1_2_1_1_1.yml +92 -0
  26. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_date/should_show_correct_date.yml +95 -0
  27. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_description/1_3_7_1.yml +95 -0
  28. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_duration/1_3_9_1.yml +95 -0
  29. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_keywords/1_3_8_1.yml +95 -0
  30. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_large/1_3_15_1.yml +95 -0
  31. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_medium/1_3_14_1.yml +95 -0
  32. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_thumbnail_small/1_3_13_1.yml +95 -0
  33. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_title/1_3_6_1.yml +95 -0
  34. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Dailymotion/with_video_x7lni3/_view_count/1_3_16_1.yml +95 -0
  35. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/1_2_3_1_1.yml +964 -0
  36. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_password_required_video/_available_/2_2_3_1_1.yml +59 -0
  37. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/1_2_2_1_1.yml +936 -0
  38. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_this_video_does_not_exist_video/_available_/2_2_2_1_1.yml +61 -0
  39. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/1_2_1_1_1.yml +2692 -0
  40. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/_available_/with_valid_video/_available_/2_2_1_1_1.yml +119 -0
  41. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author/1_3_17_1.yml +1530 -0
  42. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author/2_3_17_1.yml +68 -0
  43. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author_thumbnail/1_3_16_1.yml +1530 -0
  44. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author_thumbnail/2_3_16_1.yml +68 -0
  45. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author_url/1_3_18_1.yml +1529 -0
  46. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_author_url/2_3_18_1.yml +68 -0
  47. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_date/should_have_correct_upload_date.yml +1595 -0
  48. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_description/1_3_7_1.yml +1602 -0
  49. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_description/2_3_7_1.yml +68 -0
  50. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_duration/1_3_9_1.yml +1530 -0
  51. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_duration/2_3_9_1.yml +68 -0
  52. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_height/1_3_11_1.yml +1529 -0
  53. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_height/2_3_11_1.yml +68 -0
  54. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_keywords/should_return_a_string_list_of_keywords.yml +1595 -0
  55. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_large/1_3_15_1.yml +1530 -0
  56. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_large/2_3_15_1.yml +68 -0
  57. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_medium/1_3_14_1.yml +1530 -0
  58. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_medium/2_3_14_1.yml +68 -0
  59. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_small/1_3_13_1.yml +1530 -0
  60. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_thumbnail_small/2_3_13_1.yml +68 -0
  61. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_title/1_3_6_1.yml +1602 -0
  62. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_title/2_3_6_1.yml +68 -0
  63. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_view_count/1_3_19_1.yml +1530 -0
  64. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_view_count/2_3_19_1.yml +68 -0
  65. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_width/1_3_10_1.yml +1530 -0
  66. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_136971428/_width/2_3_10_1.yml +68 -0
  67. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author/1_3_17_1.yml +2559 -0
  68. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author/2_3_17_1.yml +159 -0
  69. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author_thumbnail/1_3_16_1.yml +2559 -0
  70. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author_thumbnail/2_3_16_1.yml +159 -0
  71. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author_url/1_3_18_1.yml +2559 -0
  72. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_author_url/2_3_18_1.yml +159 -0
  73. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_date/should_have_correct_upload_date.yml +2714 -0
  74. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/1_3_7_1.yml +2692 -0
  75. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_description/2_3_7_1.yml +159 -0
  76. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/1_3_9_1.yml +2829 -0
  77. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_duration/2_3_9_1.yml +159 -0
  78. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/1_3_11_1.yml +2828 -0
  79. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_height/2_3_11_1.yml +159 -0
  80. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_keywords/should_return_a_string_list_of_keywords.yml +2716 -0
  81. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/1_3_15_1.yml +2560 -0
  82. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_large/2_3_15_1.yml +159 -0
  83. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/1_3_14_1.yml +2558 -0
  84. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_medium/2_3_14_1.yml +159 -0
  85. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/1_3_13_1.yml +2558 -0
  86. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_thumbnail_small/2_3_13_1.yml +159 -0
  87. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/1_3_6_1.yml +2961 -0
  88. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_title/2_3_6_1.yml +159 -0
  89. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/1_3_19_1.yml +2560 -0
  90. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_view_count/2_3_19_1.yml +159 -0
  91. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/1_3_10_1.yml +2560 -0
  92. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vimeo/with_video_898029/_width/2_3_10_1.yml +159 -0
  93. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_hashes/available_/1_2_6_1_1.yml +2996 -0
  94. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_invalid_video/available_/1_2_2_1_1.yml +46 -0
  95. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_private_video/available_/1_2_3_1_1.yml +865 -0
  96. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_redirect/available_/1_2_4_1_1.yml +666 -0
  97. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_redirect_to_main_page_for_auth/available_/1_2_5_1_1.yml +46 -0
  98. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/_available_/with_valid_video/available_/1_2_1_1_1.yml +2118 -0
  99. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/author/1_5_14_1.yml +518 -0
  100. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/author_thumbnail/1_5_15_1.yml +519 -0
  101. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/author_url/1_5_16_1.yml +520 -0
  102. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/description/1_5_8_1.yml +518 -0
  103. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/duration/1_5_10_1.yml +517 -0
  104. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/embed_code/1_5_6_1.yml +517 -0
  105. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/embed_url/1_5_5_1.yml +519 -0
  106. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/height/1_5_12_1.yml +517 -0
  107. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/title/1_5_7_1.yml +517 -0
  108. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/view_count/1_5_13_1.yml +521 -0
  109. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_from_kirill_lyanoi_z_video2152699_168591741_2F56fd229a9dfe2dcdbe/width/1_5_11_1.yml +517 -0
  110. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_https_/vk_com/id44052340_z_video61291456_159590018_2F2521d92730a272a9ea/author/1_3_7_1.yml +399 -0
  111. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_https_/vk_com/id44052340_z_video61291456_159590018_2F2521d92730a272a9ea/embed_code/1_3_6_1.yml +399 -0
  112. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_https_/vk_com/id44052340_z_video61291456_159590018_2F2521d92730a272a9ea/embed_url/1_3_5_1.yml +399 -0
  113. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_https_/vk_com/id44052340_z_video61291456_159590018_2F2521d92730a272a9ea/title/1_3_4_1.yml +399 -0
  114. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video-54799401_165822734/title/1_7_4_1.yml +682 -0
  115. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video3552522_171340713/embed_url/1_10_1_1.yml +501 -0
  116. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/description/1_6_8_1.yml +449 -0
  117. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/duration/1_6_10_1.yml +449 -0
  118. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_code/1_6_6_1.yml +449 -0
  119. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/embed_url/1_6_5_1.yml +449 -0
  120. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/height/1_6_12_1.yml +449 -0
  121. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/title/1_6_7_1.yml +449 -0
  122. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/view_count/1_6_13_1.yml +449 -0
  123. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_video39576223_108370515/width/1_6_11_1.yml +449 -0
  124. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_videos43640822_/video43640822_168790809/author/1_4_5_1.yml +527 -0
  125. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_videos43640822_/video43640822_168790809/author_thumbnail/1_4_6_1.yml +527 -0
  126. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_videos43640822_/video43640822_168790809/author_url/1_4_7_1.yml +527 -0
  127. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Vkontakte/with_video_videos43640822_/video43640822_168790809/title/1_4_4_1.yml +527 -0
  128. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_invalid_video/_available_/1_2_2_1_1.yml +71 -0
  129. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/_available_/with_valid_video/_available_/1_2_1_1_1.yml +73 -0
  130. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_duration/1_4_7_1.yml +80 -0
  131. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_height/1_4_9_1.yml +80 -0
  132. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_large/1_4_12_1.yml +80 -0
  133. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_medium/1_4_11_1.yml +80 -0
  134. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_thumbnail_small/1_4_10_1.yml +80 -0
  135. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_title/1_4_6_1.yml +80 -0
  136. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_pxonqr42is/_width/1_4_8_1.yml +80 -0
  137. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_duration/1_3_7_1.yml +80 -0
  138. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_height/1_3_9_1.yml +80 -0
  139. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_large/1_3_12_1.yml +80 -0
  140. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_medium/1_3_11_1.yml +80 -0
  141. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_thumbnail_small/1_3_10_1.yml +80 -0
  142. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_title/1_3_6_1.yml +80 -0
  143. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Wistia/with_video_rs1me54mpw/_width/1_3_8_1.yml +80 -0
  144. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_available_/1_2_2_1_1.yml +516 -0
  145. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_available_/2_2_2_1_1.yml +56 -0
  146. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_date/1_2_2_11_1.yml +519 -0
  147. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_date/2_2_2_11_1.yml +56 -0
  148. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_description/1_2_2_8_1.yml +521 -0
  149. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_description/2_2_2_8_1.yml +56 -0
  150. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_duration/1_2_2_10_1.yml +519 -0
  151. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_duration/2_2_2_10_1.yml +56 -0
  152. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_keywords/1_2_2_9_1.yml +519 -0
  153. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_keywords/2_2_2_9_1.yml +56 -0
  154. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_title/1_2_2_7_1.yml +519 -0
  155. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_title/2_2_2_7_1.yml +56 -0
  156. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_view_count/1_2_2_15_1.yml +516 -0
  157. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_unavailable_video/_view_count/2_2_2_15_1.yml +56 -0
  158. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/1_2_1_1_1.yml +3930 -0
  159. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_valid_video/_available_/2_2_1_1_1.yml +127 -0
  160. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_removed_because_of_copyright_claim/_available_/1_2_3_1_1.yml +578 -0
  161. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/_available_/with_video_removed_because_of_copyright_claim/_available_/2_2_3_1_1.yml +117 -0
  162. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_date/should_return_date_video_was_posted.yml +3912 -0
  163. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_description/1_17_7_1.yml +4007 -0
  164. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_description/2_17_7_1.yml +127 -0
  165. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_duration/1_17_9_1.yml +3982 -0
  166. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_duration/2_17_9_1.yml +127 -0
  167. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_keywords/1_17_8_1.yml +3984 -0
  168. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_keywords/2_17_8_1.yml +127 -0
  169. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_title/1_17_6_1.yml +3946 -0
  170. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_title/2_17_6_1.yml +127 -0
  171. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_view_count/1_17_16_1.yml +3948 -0
  172. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_full_screen_video_URLs/_view_count/2_17_16_1.yml +127 -0
  173. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author/1_3_6_1.yml +4006 -0
  174. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author/2_3_6_1.yml +127 -0
  175. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author_thumbnail/1_3_7_1.yml +4027 -0
  176. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author_thumbnail/2_3_7_1.yml +212 -0
  177. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author_url/1_3_8_1.yml +4080 -0
  178. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_author_url/2_3_8_1.yml +212 -0
  179. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_date/should_return_date_video_was_posted.yml +3982 -0
  180. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/1_3_10_1.yml +3992 -0
  181. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_description/2_3_10_1.yml +127 -0
  182. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/1_3_12_1.yml +3961 -0
  183. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_duration/2_3_12_1.yml +127 -0
  184. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/1_3_11_1.yml +3928 -0
  185. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_keywords/2_3_11_1.yml +127 -0
  186. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/1_3_9_1.yml +3974 -0
  187. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_title/2_3_9_1.yml +127 -0
  188. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/1_3_19_1.yml +3950 -0
  189. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_Youtube/with_video_mZqGqE0D0n4/_view_count/2_3_19_1.yml +127 -0
  190. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/1_2_2_1_1.yml +62 -0
  191. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_invalid_playlist/_available_/2_2_2_1_1.yml +62 -0
  192. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_list_url/_available_/1_2_3_1_1.yml +96 -0
  193. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_list_url/_available_/2_2_3_1_1.yml +96 -0
  194. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/1_2_1_1_1.yml +96 -0
  195. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/_available_/with_valid_playlist/_available_/2_2_1_1_1.yml +96 -0
  196. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author/1_3_18_1.yml +107 -0
  197. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author/2_3_18_1.yml +107 -0
  198. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author_thumbnail/1_3_19_1.yml +193 -0
  199. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author_thumbnail/2_3_19_1.yml +193 -0
  200. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author_url/1_3_20_1.yml +193 -0
  201. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_author_url/2_3_20_1.yml +193 -0
  202. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/1_3_7_1.yml +107 -0
  203. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_description/2_3_7_1.yml +107 -0
  204. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_keywords/1_3_8_1.yml +107 -0
  205. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_keywords/2_3_8_1.yml +107 -0
  206. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/1_3_15_1.yml +107 -0
  207. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_large/2_3_15_1.yml +107 -0
  208. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/1_3_14_1.yml +107 -0
  209. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_medium/2_3_14_1.yml +107 -0
  210. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/1_3_13_1.yml +107 -0
  211. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_thumbnail_small/2_3_13_1.yml +107 -0
  212. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/1_3_6_1.yml +107 -0
  213. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_title/2_3_6_1.yml +107 -0
  214. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_PL9hW1uS6HUftLdHI6RIsaf/_videos/returns_list_of_videos_in_playlist.yml +267 -0
  215. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_that_does_not_exist_in_embed_path/_videos/1_4_2_1.yml +56 -0
  216. data/spec/fixtures/vcr_cassettes/VideoInfo_Providers_YoutubePlaylist/with_playlist_that_does_not_exist_in_embed_path/_videos/2_4_2_1.yml +56 -0
  217. data/spec/lib/video_info/provider_spec.rb +42 -22
  218. data/spec/lib/video_info/providers/dailymotion_spec.rb +41 -23
  219. data/spec/lib/video_info/providers/vimeo_spec.rb +212 -177
  220. data/spec/lib/video_info/providers/vkontakte_spec.rb +132 -63
  221. data/spec/lib/video_info/providers/wistia_spec.rb +34 -13
  222. data/spec/lib/video_info/providers/youtube_playlist_spec.rb +185 -139
  223. data/spec/lib/video_info/providers/youtube_spec.rb +400 -385
  224. data/spec/lib/video_info_spec.rb +27 -21
  225. data/video_info.gemspec +7 -10
  226. metadata +424 -87
  227. data/foo.txt +0 -33
  228. data/spec/lib/video_info/providers/vimeo_api_spec.rb +0 -242
  229. data/spec/lib/video_info/providers/youtube_api_spec.rb +0 -476
  230. data/spec/lib/video_info/providers/youtube_playlist_api_spec.rb +0 -187
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.6.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.8.1
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Status:
26
+ - 200 OK
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Access-Control-Allow-Origin:
30
+ - "*"
31
+ Cache-Control:
32
+ - public, no-cache
33
+ X-Ua-Compatible:
34
+ - IE=Edge,chrome=1
35
+ P3p:
36
+ - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
+ X-Request-Id:
38
+ - 62ffd6c49ad811e0622350f7ab37b142
39
+ X-Runtime:
40
+ - '0.031830'
41
+ X-Rack-Cache:
42
+ - miss
43
+ Via:
44
+ - 1.1 varnish
45
+ - 1.1 varnish
46
+ Fastly-Debug-Digest:
47
+ - 0cb2dce10e342c18e932e8428741b0b03e8678383f77a7e425ccd2c0cd233ec0
48
+ Content-Length:
49
+ - '434'
50
+ Accept-Ranges:
51
+ - bytes
52
+ Date:
53
+ - Thu, 05 May 2016 01:01:53 GMT
54
+ Age:
55
+ - '76241'
56
+ Connection:
57
+ - keep-alive
58
+ X-Served-By:
59
+ - cache-ord1726-ORD, cache-sjc3132-SJC
60
+ X-Cache:
61
+ - HIT, HIT
62
+ X-Cache-Hits:
63
+ - 1, 2
64
+ X-Timer:
65
+ - S1462410113.410091,VS0,VE0
66
+ Vary:
67
+ - Accept-Encoding,X-Forwarded-Proto
68
+ Strict-Transport-Security:
69
+ - max-age=0
70
+ body:
71
+ encoding: ASCII-8BIT
72
+ string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
73
+ allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
74
+ name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
75
+ oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>\n<script
76
+ src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
77
+ Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
78
+ http_version:
79
+ recorded_at: Thu, 05 May 2016 01:01:53 GMT
80
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.6.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.8.1
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Status:
26
+ - 200 OK
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Access-Control-Allow-Origin:
30
+ - "*"
31
+ Cache-Control:
32
+ - public, no-cache
33
+ X-Ua-Compatible:
34
+ - IE=Edge,chrome=1
35
+ P3p:
36
+ - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
+ X-Request-Id:
38
+ - 62ffd6c49ad811e0622350f7ab37b142
39
+ X-Runtime:
40
+ - '0.031830'
41
+ X-Rack-Cache:
42
+ - miss
43
+ Via:
44
+ - 1.1 varnish
45
+ - 1.1 varnish
46
+ Fastly-Debug-Digest:
47
+ - 0cb2dce10e342c18e932e8428741b0b03e8678383f77a7e425ccd2c0cd233ec0
48
+ Content-Length:
49
+ - '434'
50
+ Accept-Ranges:
51
+ - bytes
52
+ Date:
53
+ - Thu, 05 May 2016 01:01:53 GMT
54
+ Age:
55
+ - '76242'
56
+ Connection:
57
+ - keep-alive
58
+ X-Served-By:
59
+ - cache-ord1726-ORD, cache-sjc3133-SJC
60
+ X-Cache:
61
+ - HIT, HIT
62
+ X-Cache-Hits:
63
+ - 1, 1
64
+ X-Timer:
65
+ - S1462410113.348981,VS0,VE0
66
+ Vary:
67
+ - Accept-Encoding,X-Forwarded-Proto
68
+ Strict-Transport-Security:
69
+ - max-age=0
70
+ body:
71
+ encoding: ASCII-8BIT
72
+ string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
73
+ allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
74
+ name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
75
+ oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>\n<script
76
+ src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
77
+ Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
78
+ http_version:
79
+ recorded_at: Thu, 05 May 2016 01:01:53 GMT
80
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.6.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.8.1
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Status:
26
+ - 200 OK
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Access-Control-Allow-Origin:
30
+ - "*"
31
+ Cache-Control:
32
+ - public, no-cache
33
+ X-Ua-Compatible:
34
+ - IE=Edge,chrome=1
35
+ P3p:
36
+ - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
+ X-Request-Id:
38
+ - 62ffd6c49ad811e0622350f7ab37b142
39
+ X-Runtime:
40
+ - '0.031830'
41
+ X-Rack-Cache:
42
+ - miss
43
+ Via:
44
+ - 1.1 varnish
45
+ - 1.1 varnish
46
+ Fastly-Debug-Digest:
47
+ - 0cb2dce10e342c18e932e8428741b0b03e8678383f77a7e425ccd2c0cd233ec0
48
+ Content-Length:
49
+ - '434'
50
+ Accept-Ranges:
51
+ - bytes
52
+ Date:
53
+ - Thu, 05 May 2016 01:01:53 GMT
54
+ Age:
55
+ - '76241'
56
+ Connection:
57
+ - keep-alive
58
+ X-Served-By:
59
+ - cache-ord1726-ORD, cache-sjc3135-SJC
60
+ X-Cache:
61
+ - HIT, HIT
62
+ X-Cache-Hits:
63
+ - 1, 2
64
+ X-Timer:
65
+ - S1462410113.104066,VS0,VE0
66
+ Vary:
67
+ - Accept-Encoding,X-Forwarded-Proto
68
+ Strict-Transport-Security:
69
+ - max-age=0
70
+ body:
71
+ encoding: ASCII-8BIT
72
+ string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
73
+ allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
74
+ name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
75
+ oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>\n<script
76
+ src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
77
+ Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
78
+ http_version:
79
+ recorded_at: Thu, 05 May 2016 01:01:52 GMT
80
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://fast.wistia.com/oembed?url=http://home.wistia.com/medias/rs1me54mpw
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.6.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx/1.8.1
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Status:
26
+ - 200 OK
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Access-Control-Allow-Origin:
30
+ - "*"
31
+ Cache-Control:
32
+ - public, no-cache
33
+ X-Ua-Compatible:
34
+ - IE=Edge,chrome=1
35
+ P3p:
36
+ - CP="CURi ADMa DEVa IVAa IVDa CONi OUR IND DSP CAO COR"
37
+ X-Request-Id:
38
+ - 62ffd6c49ad811e0622350f7ab37b142
39
+ X-Runtime:
40
+ - '0.031830'
41
+ X-Rack-Cache:
42
+ - miss
43
+ Via:
44
+ - 1.1 varnish
45
+ - 1.1 varnish
46
+ Fastly-Debug-Digest:
47
+ - 0cb2dce10e342c18e932e8428741b0b03e8678383f77a7e425ccd2c0cd233ec0
48
+ Content-Length:
49
+ - '434'
50
+ Accept-Ranges:
51
+ - bytes
52
+ Date:
53
+ - Thu, 05 May 2016 01:01:53 GMT
54
+ Age:
55
+ - '76241'
56
+ Connection:
57
+ - keep-alive
58
+ X-Served-By:
59
+ - cache-ord1726-ORD, cache-sjc3129-SJC
60
+ X-Cache:
61
+ - HIT, HIT
62
+ X-Cache-Hits:
63
+ - 1, 1
64
+ X-Timer:
65
+ - S1462410113.224911,VS0,VE0
66
+ Vary:
67
+ - Accept-Encoding,X-Forwarded-Proto
68
+ Strict-Transport-Security:
69
+ - max-age=0
70
+ body:
71
+ encoding: ASCII-8BIT
72
+ string: '{"version":"1.0","type":"video","html":"<iframe src=\"//fast.wistia.net/embed/iframe/rs1me54mpw\"
73
+ allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\"
74
+ name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen
75
+ oallowfullscreen msallowfullscreen width=\"960\" height=\"540\"></iframe>\n<script
76
+ src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>","width":960,"height":540,"provider_name":"Wistia,
77
+ Inc.","provider_url":"http://wistia.com","title":"Lance Kalish - Yes To Group","thumbnail_url":"https://embed-ssl.wistia.com/deliveries/dc005e6a7583a25c4b7c284c08afc42fb67fdb95.jpg?image_crop_resized=960x540","thumbnail_width":960,"thumbnail_height":540,"duration":1214.83}'
78
+ http_version:
79
+ recorded_at: Thu, 05 May 2016 01:01:52 GMT
80
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,516 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://www.googleapis.com/youtube/v3/videos?fields=items(id,snippet,statistics,status,contentDetails)&id=SUkXvWn1m7Q&key=AIzaSyA6PYwSr1EnLFUFy1cZDk3Ifb0rxeJaeZ0&part=snippet,statistics,status,contentDetails
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - VideoInfo/2.6.0
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
15
+ - "*/*"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Expires:
22
+ - Tue, 12 Apr 2016 00:27:21 GMT
23
+ Date:
24
+ - Tue, 12 Apr 2016 00:27:21 GMT
25
+ Cache-Control:
26
+ - private, max-age=0, must-revalidate, no-transform
27
+ Etag:
28
+ - '"dcqYJX7VLF4yxRrCehaDvw0InzY/KeOik9Ri5nMPZgjDLHtO3tGN6Pc"'
29
+ Vary:
30
+ - Origin
31
+ - X-Origin
32
+ Content-Type:
33
+ - application/json; charset=UTF-8
34
+ X-Content-Type-Options:
35
+ - nosniff
36
+ X-Frame-Options:
37
+ - SAMEORIGIN
38
+ X-Xss-Protection:
39
+ - 1; mode=block
40
+ Content-Length:
41
+ - '17'
42
+ Server:
43
+ - GSE
44
+ Alternate-Protocol:
45
+ - 443:quic
46
+ Alt-Svc:
47
+ - quic=":443"; ma=2592000; v="32,31,30,29,28,27,26,25"
48
+ body:
49
+ encoding: UTF-8
50
+ string: |
51
+ {
52
+ "items": []
53
+ }
54
+ http_version:
55
+ recorded_at: Tue, 12 Apr 2016 00:27:21 GMT
56
+ - request:
57
+ method: get
58
+ uri: https://www.youtube.com/watch?v=SUkXvWn1m7Q
59
+ body:
60
+ encoding: US-ASCII
61
+ string: ''
62
+ headers:
63
+ Accept-Encoding:
64
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
65
+ Accept:
66
+ - "*/*"
67
+ User-Agent:
68
+ - Ruby
69
+ response:
70
+ status:
71
+ code: 200
72
+ message: OK
73
+ headers:
74
+ X-Frame-Options:
75
+ - SAMEORIGIN
76
+ Strict-Transport-Security:
77
+ - max-age=604800
78
+ X-Content-Type-Options:
79
+ - nosniff
80
+ Expires:
81
+ - Tue, 27 Apr 1971 19:44:06 EST
82
+ P3p:
83
+ - CP="This is not a P3P policy! See http://support.google.com/accounts/answer/151657?hl=en
84
+ for more info."
85
+ X-Xss-Protection:
86
+ - 1; mode=block; report=https://www.google.com/appserve/security-bugs/log/youtube
87
+ Cache-Control:
88
+ - no-cache
89
+ Content-Type:
90
+ - text/html; charset=utf-8
91
+ Date:
92
+ - Thu, 05 May 2016 01:15:35 GMT
93
+ Server:
94
+ - Ytfe_Worker
95
+ Set-Cookie:
96
+ - VISITOR_INFO1_LIVE=EaYHikp5JvY; path=/; domain=.youtube.com; expires=Tue,
97
+ 03-Jan-2017 13:08:35 GMT; httponly
98
+ - YSC=2HFM0z_DFgo; path=/; domain=.youtube.com; httponly
99
+ Alternate-Protocol:
100
+ - 443:quic
101
+ Alt-Svc:
102
+ - quic=":443"; ma=2592000; v="33,32,31,30,29,28,27,26,25"
103
+ Transfer-Encoding:
104
+ - chunked
105
+ body:
106
+ encoding: ASCII-8BIT
107
+ string: "<!DOCTYPE html><html lang=\"en\" data-cast-api-enabled=\"true\"><head><style
108
+ name=\"www-roboto\">@font-face{font-family:'Roboto';font-style:italic;font-weight:500;src:local('Roboto
109
+ Medium Italic'),local('Roboto-MediumItalic'),url(//fonts.gstatic.com/s/roboto/v15/OLffGBTaF0XFOW1gnuHF0Z0EAVxt0G0biEntp43Qt6E.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:italic;font-weight:400;src:local('Roboto
110
+ Italic'),local('Roboto-Italic'),url(//fonts.gstatic.com/s/roboto/v15/W4wDsBUluyw0tK3tykhXEfesZW2xOQ-xsNqO47m55DA.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto
111
+ Regular'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v15/zN7GBFwfMP4uA6AR0HCoLQ.ttf)format('truetype');}@font-face{font-family:'Roboto';font-style:normal;font-weight:500;src:local('Roboto
112
+ Medium'),local('Roboto-Medium'),url(//fonts.gstatic.com/s/roboto/v15/RxZJdnzeo3R5zSexge8UUaCWcynf_cDxXwCLxiixG1c.ttf)format('truetype');}</style><script
113
+ name=\"www-roboto\">if (document.fonts && document.fonts.load) {document.fonts.load(\"400
114
+ 10pt Roboto\", \"E\");document.fonts.load(\"500 10pt Roboto\", \"E\");}</script><script>__yt_experimental_now
115
+ = __spf_experimental_now = true;</script><script>var ytcsi = {gt: function(n)
116
+ {n = (n || '') + 'data_';return ytcsi[n] || (ytcsi[n] = {tick: {},span: {},info:
117
+ {}});},now: window.performance && window.performance.timing &&window.performance.now
118
+ && window['__yt_experimental_now'] ? function() {return window.performance.timing.navigationStart
119
+ + window.performance.now();} : function() {return (new Date()).getTime();},tick:
120
+ function(l, t, n) {ytcsi.gt(n).tick[l] = t || ytcsi.now();},span: function(l,
121
+ s, e, n) {ytcsi.gt(n).span[l] = (e ? e : ytcsi.now()) - ytcsi.gt(n).tick[s];},setSpan:
122
+ function(l, s, n) {ytcsi.gt(n).span[l] = s;},info: function(k, v, n) {ytcsi.gt(n).info[k]
123
+ = v;},setStart: function(s, t, n) {ytcsi.info('yt_sts', s, n);ytcsi.tick('_start',
124
+ t, n);}};(function(w, d) {ytcsi.setStart('dhs', w.performance ? w.performance.timing.responseStart
125
+ : null);var isPrerender = (d.visibilityState || d.webkitVisibilityState) ==
126
+ 'prerender';var vName = d.webkitVisibilityState ? 'webkitvisibilitychange'
127
+ : 'visibilitychange';if (isPrerender) {ytcsi.info('prerender', 1);var startTick
128
+ = function() {ytcsi.setStart('dhs');d.removeEventListener(vName, startTick);};d.addEventListener(vName,
129
+ startTick, false);}if (d.addEventListener) {d.addEventListener(vName, function()
130
+ {ytcsi.tick('vc');}, false);}})(window, document);</script><script>var ytcfg
131
+ = {d: function() {return (window.yt && yt.config_) || ytcfg.data_ || (ytcfg.data_
132
+ = {});},get: function(k, o) {return (k in ytcfg.d()) ? ytcfg.d()[k] : o;},set:
133
+ function() {var a = arguments;if (a.length > 1) {ytcfg.d()[a[0]] = a[1];}
134
+ else {for (var k in a[0]) {ytcfg.d()[k] = a[0][k];}}}};</script> <script>\n
135
+ \ ytcfg.set(\"ST_SHORT\", true);\n ytcfg.set(\"ST_BASE36\", true);\n
136
+ \ </script>\n <script>ytcfg.set(\"EXP_QUICK_FETCH_BISCOTTI\", false);ytcfg.set(\"LACT\",
137
+ null);</script>\n \n\n\n\n\n <script>\n (function(){var b={c:\"content-snap-width-1\",f:\"content-snap-width-2\",h:\"content-snap-width-3\"};function
138
+ f(){var a=[],c;for(c in b)a.push(b[c]);return a}\nfunction g(a){var c=f().concat([\"guide-pinned\",\"show-guide\"]),d=c.length,e=[];a.replace(/\\S+/g,function(a){for(var
139
+ k=0;k<d;k++)if(a==c[k])return;e.push(a)});\nreturn e}\n;function l(a,c,d){var
140
+ e=document.getElementsByTagName(\"html\")[0],h=g(e.className);a&&1251<=(window.innerWidth||document.documentElement.clientWidth)&&(h.push(\"guide-pinned\"),c&&h.push(\"show-guide\"));d&&(d=(window.innerWidth||document.documentElement.clientWidth)-21-50,1251<=(window.innerWidth||document.documentElement.clientWidth)&&a&&c&&(d-=230),h.push(1262<=d?\"content-snap-width-3\":1056<=d?\"content-snap-width-2\":\"content-snap-width-1\"));e.className=h.join(\"
141
+ \")}\nvar m=[\"yt\",\"www\",\"masthead\",\"sizing\",\"runBeforeBodyIsReady\"],n=this;m[0]in
142
+ n||!n.execScript||n.execScript(\"var \"+m[0]);for(var p;m.length&&(p=m.shift());)m.length||void
143
+ 0===l?n[p]?n=n[p]:n=n[p]={}:n[p]=l;})();\n\n try {window.ytbuffer = {};ytbuffer.handleClick
144
+ = function(e) {var element = e.target || e.srcElement;while (element.parentElement)
145
+ {if (/(^| )yt-can-buffer( |$)/.test(element.className)) {window.ytbuffer =
146
+ {bufferedClick: e};element.className += ' yt-is-buffered';break;}element =
147
+ element.parentElement;}};if (document.addEventListener) {document.addEventListener('click',
148
+ ytbuffer.handleClick);} else {document.attachEvent('onclick', ytbuffer.handleClick);}}
149
+ catch(e) {}\n\n yt.www.masthead.sizing.runBeforeBodyIsReady(false,false,true);\n
150
+ \ </script>\n\n <script src=\"//s.ytimg.com/yts/jsbin/scheduler-vfl2Ljsz3/scheduler.js\"
151
+ type=\"text/javascript\" name=\"scheduler/scheduler\"></script>\n\n\n <script>var
152
+ ytimg = {};ytimg.count = 1;ytimg.preload = function(src) {var img = new Image();var
153
+ count = ++ytimg.count;ytimg[count] = img;img.onload = img.onerror = function()
154
+ {delete ytimg[count];};img.src = src;};</script>\n\n\n <script src=\"//s.ytimg.com/yts/jsbin/player-en_US-vflL5aRF-/base.js\"
155
+ name=\"player/base\"></script>\n\n\n\n <link rel=\"stylesheet\" href=\"//s.ytimg.com/yts/cssbin/www-core-vfl4u2NTB.css\"
156
+ name=\"www-core\">\n <link rel=\"stylesheet\" href=\"//s.ytimg.com/yts/cssbin/www-player-vflf7adVd.css\"
157
+ name=\"www-player\">\n\n <link rel=\"stylesheet\" href=\"//s.ytimg.com/yts/cssbin/www-pageframe-vflNP8pTX.css\"
158
+ name=\"www-pageframe\">\n \n\n<title>YouTube</title><link rel=\"search\"
159
+ type=\"application/opensearchdescription+xml\" href=\"https://www.youtube.com/opensearch?locale=en_US\"
160
+ title=\"YouTube Video Search\"><link rel=\"shortcut icon\" href=\"https://s.ytimg.com/yts/img/favicon-vflz7uhzw.ico\"
161
+ type=\"image/x-icon\"> <link rel=\"icon\" href=\"//s.ytimg.com/yts/img/favicon_32-vfl8NGn4k.png\"
162
+ sizes=\"32x32\"><link rel=\"icon\" href=\"//s.ytimg.com/yts/img/favicon_48-vfl1s0rGh.png\"
163
+ sizes=\"48x48\"><link rel=\"icon\" href=\"//s.ytimg.com/yts/img/favicon_96-vfldSA3ca.png\"
164
+ sizes=\"96x96\"><link rel=\"icon\" href=\"//s.ytimg.com/yts/img/favicon_144-vflWmzoXw.png\"
165
+ sizes=\"144x144\"><meta name=\"theme-color\" content=\"#e62117\"><meta name=\"robots\"
166
+ content=\"noindex\"><meta name=\"referrer\" content=\"origin\"> <meta
167
+ name=\"title\" content=\"\">\n\n <meta name=\"description\" content=\"\">\n\n
168
+ \ <meta name=\"keywords\" content=\"\">\n\n \n</head> <body dir=\"ltr\"
169
+ id=\"body\" class=\" ltr exp-responsive exp-scrollable-guide site-center-aligned
170
+ site-as-giant-card appbar-hidden visibility-logging-enabled not-nirvana-dogfood
171
+ \ not-yt-legacy-css flex-width-enabled flex-width-enabled-snap delayed-frame-styles-not-in
172
+ \ \" data-spf-name=\"watch\">\n<div id=\"early-body\"></div><div id=\"body-container\"><div
173
+ id=\"a11y-announcements-container\" role=\"alert\"><div id=\"a11y-announcements-message\"></div></div><form
174
+ name=\"logoutForm\" method=\"POST\" action=\"/logout\"><input type=\"hidden\"
175
+ name=\"action_logout\" value=\"1\"></form><div id=\"masthead-positioner\">
176
+ \ \n <div id=\"yt-masthead-container\" class=\"clearfix yt-base-gutter\">
177
+ \ <button id=\"a11y-skip-nav\" class=\"skip-nav\" data-target-id=\"main\"
178
+ tabindex=\"3\">\nSkip navigation\n </button>\n<div id=\"yt-masthead\"><div
179
+ class=\"yt-masthead-logo-container \"> <button class=\"yt-uix-button yt-uix-button-size-default
180
+ yt-uix-button-text yt-uix-button-empty yt-uix-button-has-icon appbar-guide-toggle
181
+ appbar-guide-clickable-ancestor\" type=\"button\" onclick=\";return false;\"
182
+ aria-controls=\"appbar-guide-menu\" aria-label=\"Guide\" id=\"appbar-guide-button\"><span
183
+ class=\"yt-uix-button-icon-wrapper\"><span class=\"yt-uix-button-icon yt-uix-button-icon-appbar-guide
184
+ yt-sprite\"></span></span></button>\n <div id=\"appbar-main-guide-notification-container\"></div>\n<span
185
+ id=\"yt-masthead-logo-fragment\"><a href=\"/\" class=\"yt-uix-sessionlink
186
+ masthead-logo-renderer spf-link \" data-sessionlink=\"itct=CAUQsV4iEwjAicKi4cHMAhVOu34KHUA1Aggo-B0\"
187
+ id=\"logo-container\" title=\"YouTube Home\"> <span title=\"YouTube Home\"
188
+ class=\"logo masthead-logo-renderer-logo yt-sprite\"></span>\n</a></span></div><div
189
+ id=\"yt-masthead-signin\"><a href=\"//www.youtube.com/upload\" class=\"yt-uix-button
190
+ \ yt-uix-sessionlink yt-uix-button-default yt-uix-button-size-default\" data-sessionlink=\"ei=t54qV4DSEs72-gPA6ohA&amp;feature=mhsb\"
191
+ id=\"upload-btn\"><span class=\"yt-uix-button-content\">Upload</span></a><div
192
+ class=\"signin-container \"><button class=\"yt-uix-button yt-uix-button-size-default
193
+ yt-uix-button-primary\" type=\"button\" onclick=\";window.location.href=this.getAttribute(&#39;href&#39;);return
194
+ false;\" href=\"https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fnext%3D%252Fwatch%253Fv%253DSUkXvWn1m7Q%26feature%3Dsign_in_button%26action_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den&amp;passive=true&amp;uilel=3&amp;hl=en&amp;service=youtube\"
195
+ role=\"link\"><span class=\"yt-uix-button-content\">Sign in</span></button></div></div><div
196
+ id=\"yt-masthead-content\"><form id=\"masthead-search\" class=\" search-form
197
+ consolidated-form vve-check\" action=\"/results\" onsubmit=\"if (document.getElementById(&#39;masthead-search-term&#39;).value
198
+ == &#39;&#39;) return false;\" data-clicktracking=\"CAEQ7VAiEwjAicKi4cHMAhVOu34KHUA1Aggo-B0\"
199
+ data-visibility-tracking=\"CAEQ7VAiEwjAicKi4cHMAhVOu34KHUA1Aggo-B0\"><button
200
+ class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-default search-btn-component
201
+ search-button\" type=\"submit\" onclick=\"if (document.getElementById(&#39;masthead-search-term&#39;).value
202
+ == &#39;&#39;) return false; document.getElementById(&#39;masthead-search&#39;).submit();
203
+ return false;;return true;\" tabindex=\"2\" id=\"search-btn\" dir=\"ltr\"><span
204
+ class=\"yt-uix-button-content\">Search</span></button><div id=\"masthead-search-terms\"
205
+ class=\"masthead-search-terms-border\" dir=\"ltr\"><input id=\"masthead-search-term\"
206
+ autocomplete=\"off\" onkeydown=\"if (!this.value &amp;&amp; (event.keyCode
207
+ == 40 || event.keyCode == 32 || event.keyCode == 34)) {this.onkeydown = null;
208
+ this.blur();}\" class=\"search-term masthead-search-renderer-input yt-uix-form-input-bidi\"
209
+ name=\"search_query\" value=\"\" type=\"text\" tabindex=\"1\" placeholder=\"Search\"
210
+ title=\"Search\" aria-label=\"Search\"></div></form></div></div></div>\n <div
211
+ id=\"masthead-appbar-container\" class=\"clearfix\"><div id=\"masthead-appbar\"><div
212
+ id=\"appbar-content\" class=\"\"></div></div></div>\n\n</div><div id=\"masthead-positioner-height-offset\"></div><div
213
+ id=\"page-container\"><div id=\"page\" class=\" watch video- clearfix\"><div
214
+ id=\"guide\" class=\"yt-scrollbar\"> <div id=\"appbar-guide-menu\" class=\"appbar-menu
215
+ appbar-guide-menu-layout appbar-guide-clickable-ancestor\">\n <div id=\"guide-container\">\n
216
+ \ <div class=\"guide-module-content guide-module-loading\">\n <p
217
+ class=\"yt-spinner \">\n <span title=\"Loading icon\" class=\"yt-spinner-img
218
+ \ yt-sprite\"></span>\n\n <span class=\"yt-spinner-message\">\nLoading...\n
219
+ \ </span>\n </p>\n\n </div>\n </div>\n </div>\n\n</div><div class=\"alerts-wrapper\"><div
220
+ id=\"alerts\" class=\"content-alignment\"> \n <div id=\"editor-progress-alert-container\"></div>\n
221
+ \ <div class=\"yt-alert yt-alert-default yt-alert-warn hid \" id=\"editor-progress-alert-template\">
222
+ \ <div class=\"yt-alert-icon\">\n <span class=\"icon master-sprite yt-sprite\"></span>\n
223
+ \ </div>\n<div class=\"yt-alert-content\" role=\"alert\"></div><div class=\"yt-alert-buttons\"><button
224
+ class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-close close
225
+ yt-uix-close\" type=\"button\" onclick=\";return false;\" aria-label=\"Close\"
226
+ data-close-parent-class=\"yt-alert\"><span class=\"yt-uix-button-content\">Close</span></button></div></div>\n\n
227
+ \ <div id=\"edit-confirmation-alert\"></div>\n <div class=\"yt-alert yt-alert-actionable
228
+ yt-alert-info hid \" id=\"edit-confirmation-alert-template\"> <div class=\"yt-alert-icon\">\n
229
+ \ <span class=\"icon master-sprite yt-sprite\"></span>\n </div>\n<div class=\"yt-alert-content\"
230
+ role=\"alert\"> <div class=\"yt-alert-message\">\n </div>\n</div><div
231
+ class=\"yt-alert-buttons\"> <button class=\"yt-uix-button yt-uix-button-size-default
232
+ yt-uix-button-alert-info yt-uix-button-has-icon edit-confirmation-yes\" type=\"button\"
233
+ onclick=\";return false;\"><span class=\"yt-uix-button-icon-wrapper\"><span
234
+ class=\"yt-uix-button-icon yt-uix-button-icon-watch-like-invert yt-sprite\"></span></span><span
235
+ class=\"yt-uix-button-content\">Yeah, keep it</span></button>\n <button class=\"yt-uix-button
236
+ yt-uix-button-size-default yt-uix-button-alert-info yt-uix-button-has-icon
237
+ edit-confirmation-no\" type=\"button\" onclick=\";return false;\"><span class=\"yt-uix-button-icon-wrapper\"><span
238
+ class=\"yt-uix-button-icon yt-uix-button-icon-watch-unlike-invert yt-sprite\"></span></span><span
239
+ class=\"yt-uix-button-content\">Undo</span></button>\n<button class=\"yt-uix-button
240
+ yt-uix-button-size-default yt-uix-button-close close yt-uix-close\" type=\"button\"
241
+ onclick=\";return false;\" aria-label=\"Close\" data-close-parent-class=\"yt-alert\"><span
242
+ class=\"yt-uix-button-content\">Close</span></button></div></div>\n\n\n\n</div></div><div
243
+ id=\"header\"></div><div id=\"player\" class=\" content-alignment watch-small
244
+ \ off-screen-trigger \" role=\"complementary\"><div id=\"theater-background\"
245
+ class=\"player-height\"></div> <div id=\"player-mole-container\">\n <div
246
+ id=\"player-unavailable\" class=\" player-width player-height player-unavailable
247
+ \">\n <div class=\"icon meh\"></div>\n <div class=\"content\">\n
248
+ \ <h1 id=\"unavailable-message\" class=\"message\">\n This
249
+ video is unavailable.\n\n </h1>\n <div id=\"unavailable-submessage\"
250
+ class=\"submessage\">\nSorry about that.\n </div>\n </div>\n\n\n </div>\n\n
251
+ \ <div id=\"player-api\" class=\"player-width player-height off-screen-target
252
+ player-api\" tabIndex=\"-1\"></div>\n \n\n <div id=\"watch-queue-mole\"
253
+ class=\"video-mole mole-collapsed hid\"><div id=\"watch-queue\" class=\"watch-playlist
254
+ player-height\"><div class=\"main-content\"><div class=\"watch-queue-header\"><div
255
+ class=\"watch-queue-info\"><div class=\"watch-queue-info-icon\"><span class=\"tv-queue-list-icon
256
+ yt-sprite\"></span></div><h3 class=\"watch-queue-title\">Watch Queue</h3><h3
257
+ class=\"tv-queue-title\">Queue</h3><span class=\"tv-queue-details\"></span></div><div
258
+ class=\"watch-queue-control-bar control-bar-button\"><div class=\"watch-queue-mole-info\"><div
259
+ class=\"watch-queue-control-bar-icon\"><span class=\"watch-queue-icon yt-sprite\"></span></div><div
260
+ class=\"watch-queue-title-container\"><span class=\"watch-queue-count\"></span><span
261
+ class=\"watch-queue-title\">Watch Queue</span><span class=\"tv-queue-title\">Queue</span></div></div>
262
+ \ <span class=\"dark-overflow-action-menu\">\n \n \n <button onclick=\";return
263
+ false;\" aria-haspopup=\"true\" type=\"button\" aria-label=\"Actions for the
264
+ queue\" aria-expanded=\"false\" class=\"flip control-bar-button yt-uix-button
265
+ yt-uix-button-dark-overflow-action-menu yt-uix-button-size-default yt-uix-button-has-icon
266
+ no-icon-markup yt-uix-button-empty\" ><span class=\"yt-uix-button-arrow yt-sprite\"></span><ul
267
+ class=\"watch-queue-menu yt-uix-button-menu yt-uix-button-menu-dark-overflow-action-menu
268
+ hid\" role=\"menu\" aria-haspopup=\"true\"><li role=\"menuitem\"><span data-action=\"remove-all\"
269
+ onclick=\";return false;\" class=\"watch-queue-menu-choice overflow-menu-choice
270
+ yt-uix-button-menu-item\" >Remove all</span></li><li role=\"menuitem\"><span
271
+ data-action=\"disconnect\" onclick=\";return false;\" class=\"watch-queue-menu-choice
272
+ overflow-menu-choice yt-uix-button-menu-item\" >Disconnect</span></li></ul></button>\n
273
+ \ </span>\n <div class=\"watch-queue-controls\">\n <button class=\"yt-uix-button
274
+ yt-uix-button-size-default yt-uix-button-empty yt-uix-button-has-icon control-bar-button
275
+ prev-watch-queue-button yt-uix-button-opacity yt-uix-tooltip yt-uix-tooltip\"
276
+ type=\"button\" onclick=\";return false;\" title=\"Previous video\"><span
277
+ class=\"yt-uix-button-icon-wrapper\"><span class=\"yt-uix-button-icon yt-uix-button-icon-watch-queue-prev
278
+ yt-sprite\"></span></span></button>\n\n <button class=\"yt-uix-button yt-uix-button-size-default
279
+ yt-uix-button-empty yt-uix-button-has-icon control-bar-button play-watch-queue-button
280
+ yt-uix-button-opacity yt-uix-tooltip yt-uix-tooltip\" type=\"button\" onclick=\";return
281
+ false;\" title=\"Play\"><span class=\"yt-uix-button-icon-wrapper\"><span class=\"yt-uix-button-icon
282
+ yt-uix-button-icon-watch-queue-play yt-sprite\"></span></span></button>\n\n
283
+ \ <button class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-empty
284
+ yt-uix-button-has-icon control-bar-button pause-watch-queue-button yt-uix-button-opacity
285
+ yt-uix-tooltip hid yt-uix-tooltip\" type=\"button\" onclick=\";return false;\"
286
+ title=\"Pause\"><span class=\"yt-uix-button-icon-wrapper\"><span class=\"yt-uix-button-icon
287
+ yt-uix-button-icon-watch-queue-pause yt-sprite\"></span></span></button>\n\n
288
+ \ <button class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-empty
289
+ yt-uix-button-has-icon control-bar-button next-watch-queue-button yt-uix-button-opacity
290
+ yt-uix-tooltip yt-uix-tooltip\" type=\"button\" onclick=\";return false;\"
291
+ title=\"Next video\"><span class=\"yt-uix-button-icon-wrapper\"><span class=\"yt-uix-button-icon
292
+ yt-uix-button-icon-watch-queue-next yt-sprite\"></span></span></button>\n
293
+ \ </div>\n</div></div><div class=\"watch-queue-items-container yt-scrollbar-dark
294
+ yt-scrollbar\"><ol class=\"watch-queue-items-list playlist-videos-list yt-uix-scroller\"
295
+ data-scroll-action=\"yt.www.watchqueue.loadThumbnails\"> <p class=\"yt-spinner
296
+ \">\n <span title=\"Loading icon\" class=\"yt-spinner-img yt-sprite\"></span>\n\n
297
+ \ <span class=\"yt-spinner-message\">\nLoading...\n </span>\n </p>\n</ol></div></div>
298
+ \ <div class=\"hid\">\n <div id=\"watch-queue-title-msg\">\nWatch Queue\n
299
+ \ </div>\n\n <div id=\"tv-queue-title-msg\">Queue</div>\n\n <div id=\"watch-queue-count-msg\">\n__count__/__total__\n
300
+ \ </div>\n\n <div id=\"watch-queue-loading-template\">\n <!--\n
301
+ \ <p class=\"yt-spinner \">\n <span title=\"Loading icon\"
302
+ class=\"yt-spinner-img yt-sprite\"></span>\n\n <span class=\"yt-spinner-message\">\nLoading...\n
303
+ \ </span>\n </p>\n\n -->\n </div>\n </div>\n</div></div>\n <div
304
+ id=\"player-playlist\" class=\" content-alignment watch-player-playlist
305
+ \ \">\n \n </div>\n\n </div>\n\n <div class=\"clear\"></div>\n</div><div
306
+ id=\"content\" class=\" content-alignment\" role=\"main\"> <div id=\"placeholder-player\">\n
307
+ \ <div class=\"player-api player-width player-height\"></div>\n </div>\n\n
308
+ \ <div id=\"watch7-container\" class=\"\">\n <div id=\"watch7-main-container\">\n
309
+ \ <div id=\"watch7-main\" class=\"clearfix\">\n <div id=\"watch7-preview\"
310
+ class=\"player-width player-height hid\">\n </div>\n <div id=\"watch7-content\"
311
+ class=\"watch-main-col \" itemscope itemid=\"\" itemtype=\"http://schema.org/VideoObject\"\n
312
+ \ >\n \n </div>\n <div id=\"watch7-sidebar\" class=\"watch-sidebar\">\n
313
+ \ </div>\n </div>\n </div>\n <div id=\"player-messages\">\n </div>\n
314
+ \ <div id=\"watch7-hidden-extras\">\n <div style=\"visibility: hidden;
315
+ height: 0px; padding: 0px; overflow: hidden;\">\n </div>\n\n </div>\n\n\n
316
+ \ </div>\n\n</div></div></div></div> <div id=\"footer-container\" class=\"yt-base-gutter
317
+ force-layer\"><div id=\"footer\"><div id=\"footer-main\"><div id=\"footer-logo\"><a
318
+ href=\"/\" id=\"footer-logo-link\" title=\"YouTube home\" data-sessionlink=\"ei=t54qV4DSEs72-gPA6ohA&amp;ved=CAIQpmEiEwjAicKi4cHMAhVOu34KHUA1Aggo-B0\"
319
+ class=\"yt-uix-sessionlink\"><span class=\"footer-logo-icon yt-sprite\"></span></a></div>
320
+ \ <ul class=\"pickers yt-uix-button-group\" data-button-toggle-group=\"optional\">\n
321
+ \ <li>\n <button class=\"yt-uix-button yt-uix-button-size-default
322
+ yt-uix-button-default yt-uix-button-has-icon\" type=\"button\" onclick=\";return
323
+ false;\" id=\"yt-picker-language-button\" data-picker-position=\"footer\"
324
+ data-picker-key=\"language\" data-button-action=\"yt.www.picker.load\" data-button-menu-id=\"arrow-display\"
325
+ data-button-toggle=\"true\"><span class=\"yt-uix-button-icon-wrapper\"><span
326
+ class=\"yt-uix-button-icon yt-uix-button-icon-footer-language yt-sprite\"></span></span><span
327
+ class=\"yt-uix-button-content\"> <span class=\"yt-picker-button-label\">\nLanguage:\n
328
+ \ </span>\n English\n</span><span class=\"yt-uix-button-arrow yt-sprite\"></span></button>\n\n\n
329
+ \ </li>\n <li>\n <button class=\"yt-uix-button yt-uix-button-size-default
330
+ yt-uix-button-default\" type=\"button\" onclick=\";return false;\" id=\"yt-picker-country-button\"
331
+ data-picker-position=\"footer\" data-picker-key=\"country\" data-button-action=\"yt.www.picker.load\"
332
+ data-button-menu-id=\"arrow-display\" data-button-toggle=\"true\"><span class=\"yt-uix-button-content\">
333
+ \ <span class=\"yt-picker-button-label\">\nCountry:\n </span>\n Worldwide\n</span><span
334
+ class=\"yt-uix-button-arrow yt-sprite\"></span></button>\n\n\n </li>\n
335
+ \ <li>\n <button class=\"yt-uix-button yt-uix-button-size-default
336
+ yt-uix-button-default\" type=\"button\" onclick=\";return false;\" id=\"yt-picker-safetymode-button\"
337
+ data-picker-position=\"footer\" data-picker-key=\"safetymode\" data-button-action=\"yt.www.picker.load\"
338
+ data-button-menu-id=\"arrow-display\" data-button-toggle=\"true\"><span class=\"yt-uix-button-content\">
339
+ \ <span class=\"yt-picker-button-label\">\nRestricted Mode:\n </span>\nOff\n</span><span
340
+ class=\"yt-uix-button-arrow yt-sprite\"></span></button>\n\n\n </li>\n
341
+ \ </ul>\n<a href=\"/feed/history\" class=\"yt-uix-button footer-history yt-uix-sessionlink
342
+ yt-uix-button-default yt-uix-button-size-default yt-uix-button-has-icon\"
343
+ data-sessionlink=\"ei=t54qV4DSEs72-gPA6ohA\"><span class=\"yt-uix-button-icon-wrapper\"><span
344
+ class=\"yt-uix-button-icon yt-uix-button-icon-footer-history yt-sprite\"></span></span><span
345
+ class=\"yt-uix-button-content\">History</span></a> <button class=\"yt-uix-button
346
+ yt-uix-button-size-default yt-uix-button-default yt-uix-button-has-icon yt-uix-button-reverse
347
+ yt-google-help-link inq-no-click \" type=\"button\" onclick=\";return false;\"
348
+ data-ghelp-anchor=\"google-help\" data-ghelp-tracking-param=\"\" id=\"google-help\"
349
+ data-load-chat-support=\"\" data-feedback-product-id=\"59\"><span class=\"yt-uix-button-icon-wrapper\"><span
350
+ class=\"yt-uix-button-icon yt-uix-button-icon-questionmark yt-sprite\"></span></span><span
351
+ class=\"yt-uix-button-content\">Help\n</span></button>\n <div id=\"yt-picker-language-footer\"
352
+ class=\"yt-picker\" style=\"display: none\">\n <p class=\"yt-spinner
353
+ \">\n <span title=\"Loading icon\" class=\"yt-spinner-img yt-sprite\"></span>\n\n
354
+ \ <span class=\"yt-spinner-message\">\nLoading...\n </span>\n </p>\n\n
355
+ \ </div>\n\n <div id=\"yt-picker-country-footer\" class=\"yt-picker\"
356
+ style=\"display: none\">\n <p class=\"yt-spinner \">\n <span title=\"Loading
357
+ icon\" class=\"yt-spinner-img yt-sprite\"></span>\n\n <span class=\"yt-spinner-message\">\nLoading...\n
358
+ \ </span>\n </p>\n\n </div>\n\n <div id=\"yt-picker-safetymode-footer\"
359
+ class=\"yt-picker\" style=\"display: none\">\n <p class=\"yt-spinner
360
+ \">\n <span title=\"Loading icon\" class=\"yt-spinner-img yt-sprite\"></span>\n\n
361
+ \ <span class=\"yt-spinner-message\">\nLoading...\n </span>\n </p>\n\n
362
+ \ </div>\n\n</div><div id=\"footer-links\"><ul id=\"footer-links-primary\">
363
+ \ <li><a href=\"//www.youtube.com/yt/about/\">About</a></li>\n <li><a href=\"//www.youtube.com/yt/press/\">\nPress\n
364
+ \ </a></li>\n <li><a href=\"//www.youtube.com/yt/copyright/\">Copyright</a></li>\n
365
+ \ <li><a href=\"//www.youtube.com/yt/creators/\">\nCreators\n </a></li>\n
366
+ \ <li><a href=\"//www.youtube.com/yt/advertise/\">\nAdvertise\n </a></li>\n
367
+ \ <li><a href=\"//www.youtube.com/yt/dev/\">Developers</a></li>\n <li><a
368
+ href=\"https://plus.google.com/+youtube\" dir=\"ltr\">+YouTube</a></li>\n</ul><ul
369
+ id=\"footer-links-secondary\"> <li><a href=\"/t/terms\">Terms</a></li>\n
370
+ \ <li><a href=\"https://www.google.com/intl/en/policies/privacy/\">Privacy</a></li>\n
371
+ \ <li><a href=\"//www.youtube.com/yt/policyandsafety/\">\nPolicy &amp; Safety\n
372
+ \ </a></li>\n <li><a href=\"//support.google.com/youtube/?hl=en\" onclick=\"return
373
+ yt.www.feedback.start(59);\" class=\"reportbug\">Send feedback</a></li>\n
374
+ \ <li><a href=\"/testtube\">Try something new!</a></li>\n <li></li>\n</ul></div></div></div>\n\n\n
375
+ \ <div class=\"yt-dialog hid \" id=\"feed-privacy-lb\">\n <div class=\"yt-dialog-base\">\n
376
+ \ <span class=\"yt-dialog-align\"></span>\n <div class=\"yt-dialog-fg\"
377
+ role=\"dialog\">\n <div class=\"yt-dialog-fg-content\">\n <div
378
+ class=\"yt-dialog-loading\">\n <div class=\"yt-dialog-waiting-content\">\n
379
+ \ <p class=\"yt-spinner \">\n <span title=\"Loading icon\" class=\"yt-spinner-img
380
+ \ yt-sprite\"></span>\n\n <span class=\"yt-spinner-message\">\nLoading...\n
381
+ \ </span>\n </p>\n\n </div>\n\n </div>\n <div class=\"yt-dialog-content\">\n
382
+ \ <div id=\"feed-privacy-dialog\">\n </div>\n\n </div>\n
383
+ \ <div class=\"yt-dialog-working\">\n <div class=\"yt-dialog-working-overlay\"></div>\n
384
+ \ <div class=\"yt-dialog-working-bubble\">\n <div class=\"yt-dialog-waiting-content\">\n
385
+ \ <p class=\"yt-spinner \">\n <span title=\"Loading icon\" class=\"yt-spinner-img
386
+ \ yt-sprite\"></span>\n\n <span class=\"yt-spinner-message\">\n Working...\n
387
+ \ </span>\n </p>\n\n </div>\n </div>\n\n </div>\n </div>\n
388
+ \ <div class=\"yt-dialog-focus-trap\" tabindex=\"0\"></div>\n </div>\n
389
+ \ </div>\n </div>\n\n\n<div id=\"hidden-component-template-wrapper\" class=\"hid\">
390
+ \ <div id=\"shared-addto-watch-later-login\" class=\"hid\">\n <a href=\"https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fnext%3D%252Fwatch%253Fv%253DSUkXvWn1m7Q%26feature%3Dplaylist%26action_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den&amp;passive=true&amp;uilel=3&amp;hl=en&amp;service=youtube\"
391
+ class=\"sign-in-link\">Sign in</a> to add this to Watch Later\n\n </div>\n
392
+ \ <div id=\"yt-uix-videoactionmenu-menu\" class=\"yt-ui-menu-content\">\n
393
+ \ <div class=\"hide-on-create-pl-panel\">\n <h3>\nAdd to\n </h3>\n
394
+ \ </div>\n <div class=\"add-to-widget\">\n <p class=\"yt-spinner \">\n
395
+ \ <span title=\"Loading icon\" class=\"yt-spinner-img yt-sprite\"></span>\n\n
396
+ \ <span class=\"yt-spinner-message\">\n Loading playlists...\n </span>\n
397
+ \ </p>\n\n </div>\n\n </div>\n</div> <script>var ytspf = ytspf || {};ytspf.enabled
398
+ = true;ytspf.config = {'reload-identifier': 'spfreload'};ytspf.config['experimental-request-headers']
399
+ = {'X-YouTube-Identity-Token': null};ytspf.config['cache-max'] = 50;ytspf.config['navigate-limit']
400
+ = 50;ytspf.config['navigate-lifetime'] = 64800000;ytspf.config['animation-duration']
401
+ = 0;</script>\n <script src=\"//s.ytimg.com/yts/jsbin/spf-vfldNIm25/spf.js\"
402
+ type=\"text/javascript\" name=\"spf/spf\"></script>\n <script src=\"//s.ytimg.com/yts/jsbin/www-en_US-vfl9Xbf5J/base.js\"
403
+ name=\"www/base\"></script>\n<script>spf.script.path({'www/': '//s.ytimg.com/yts/jsbin/www-en_US-vfl9Xbf5J/'});var
404
+ ytdepmap = {\"www/base\": null, \"www/common\": \"www/base\", \"www/angular_base\":
405
+ \"www/common\", \"www/channels_accountupload\": \"www/common\", \"www/channels\":
406
+ \"www/common\", \"www/dashboard\": \"www/common\", \"www/debugpolymer\": \"www/common\",
407
+ \"www/downloadreports\": \"www/common\", \"www/experiments\": \"www/common\",
408
+ \"www/feed\": \"www/common\", \"www/innertube\": \"www/common\", \"www/instant\":
409
+ \"www/common\", \"www/legomap\": \"www/common\", \"www/live_chat\": \"www/common\",
410
+ \"www/live_chat_moderation\": \"www/common\", \"www/promo_join_network\":
411
+ \"www/common\", \"www/results_harlemshake\": \"www/common\", \"www/results\":
412
+ \"www/common\", \"www/results_starwars\": \"www/common\", \"www/subscriptionmanager\":
413
+ \"www/common\", \"www/unlimited\": \"www/common\", \"www/watch\": \"www/common\",
414
+ \"www/ypc_bootstrap\": \"www/common\", \"www/ypc_core\": \"www/common\", \"www/ytstyles\":
415
+ \"www/common\", \"www/channels_edit\": \"www/channels\", \"www/innertube_watchnext\":
416
+ \"www/innertube\", \"www/live_broadcasts\": \"www/angular_base\", \"www/live_dashboard\":
417
+ \"www/angular_base\", \"www/videomanager\": \"www/angular_base\", \"www/watch_autoplayrenderer\":
418
+ \"www/watch\", \"www/watch_edit\": \"www/watch\", \"www/watch_editor\": \"www/watch\",
419
+ \"www/watch_live\": \"www/watch\", \"www/watch_missilecommand\": \"www/watch\",
420
+ \"www/watch_promos\": \"www/watch\", \"www/watch_speedyg\": \"www/watch\",
421
+ \"www/watch_transcript\": \"www/watch\", \"www/watch_videoshelf\": \"www/watch\",
422
+ \"www/ct_advancedsearch\": \"www/videomanager\", \"www/my_videos\": \"www/videomanager\"};spf.script.declare(ytdepmap);</script><script>if
423
+ (window.ytcsi) {window.ytcsi.tick(\"je\", null, '');}</script><script>yt.setConfig({INNERTUBE_CONTEXT_CLIENT_VERSION:
424
+ \"1.20160502\",INNERTUBE_API_KEY: \"AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8\",APIARY_HOST_FIRSTPARTY:
425
+ \"\",INNERTUBE_API_VERSION: \"v1\",APIARY_HOST: \"\",GAPI_HINT_PARAMS: \"m;\\/_\\/scs\\/abc-static\\/_\\/js\\/k=gapi.gapi.en.CqFrPIKIxF4.O\\/m=__features__\\/rt=j\\/d=1\\/rs=AHpOoo_SqGYjlKSpzsbc2UGyTC5n3Z0ZtQ\",'VISITOR_DATA':
426
+ \"CgtFYVlIaWtwNUp2WQ%3D%3D\",'GAPI_HOST': \"https:\\/\\/apis.google.com\",'GAPI_LOCALE':
427
+ \"en_US\",'INNERTUBE_CONTEXT_HL': \"en\",'INNERTUBE_CONTEXT_GL': \"US\"});yt.setConfig({'EVENT_ID':
428
+ \"t54qV4DSEs72-gPA6ohA\",'PAGE_NAME': \"watch\",'LOGGED_IN': false,'SESSION_INDEX':
429
+ null,'VALID_SESSION_TEMPDATA_DOMAINS': [\"www.youtube.com\",\"gaming.youtube.com\"],'PARENT_TRACKING_PARAMS':
430
+ \"\",'FORMATS_FILE_SIZE_JS': [\"%s B\",\"%s KB\",\"%s MB\",\"%s GB\",\"%s
431
+ TB\"],'DELEGATED_SESSION_ID': null,'ONE_PICK_URL': \"\",'UNIVERSAL_HOVERCARDS':
432
+ true,'GOOGLEPLUS_HOST': \"https:\\/\\/plus.google.com\",'PAGEFRAME_JS': \"\\/\\/s.ytimg.com\\/yts\\/jsbin\\/www-pageframe-vflV9VDr5\\/www-pageframe.js\",'JS_COMMON_MODULE':
433
+ \"\\/\\/s.ytimg.com\\/yts\\/jsbin\\/www-en_US-vfl9Xbf5J\\/common.js\",'PAGE_FRAME_DELAYLOADED_CSS':
434
+ \"\\/\\/s.ytimg.com\\/yts\\/cssbin\\/www-pageframedelayloaded-vfl93QsDL.css\",'EXPERIMENT_FLAGS':
435
+ {\"consent_url_override\":\"\",\"legacy_cast\":true,\"player_swfcfg_cleanup\":true,\"log_window_onerror_fraction\":0.1,\"gfeedback_for_signed_out_users_enabled\":true},'GUIDE_DELAY_LOAD':
436
+ true,'GUIDE_DELAYLOADED_CSS': \"\\/\\/s.ytimg.com\\/yts\\/cssbin\\/www-guide-vflmYVKfq.css\",'HIGH_CONTRAST_MODE_CSS':
437
+ \"\\/\\/s.ytimg.com\\/yts\\/cssbin\\/www-highcontrastmode-vflgtzGEz.css\",'PREFETCH_LINKS':
438
+ false,'PREFETCH_LINKS_MAX': 1,'PREFETCH_AUTOPLAY': false,'PREFETCH_AUTOPLAY_TIME':
439
+ 0,'PREFETCH_AUTONAV': false,'PREBUFFER_MAX': 1,'PREBUFFER_LINKS': false,'PREBUFFER_AUTOPLAY':
440
+ false,'PREBUFFER_AUTONAV': false,'WATCH_LATER_BUTTON': \"\\n\\n \\u003cbutton
441
+ class=\\\"yt-uix-button yt-uix-button-size-small yt-uix-button-default yt-uix-button-empty
442
+ yt-uix-button-has-icon no-icon-markup addto-button video-actions spf-nolink
443
+ hide-until-delayloaded addto-watch-later-button-sign-in yt-uix-tooltip\\\"
444
+ type=\\\"button\\\" onclick=\\\";return false;\\\" title=\\\"Watch Later\\\"
445
+ role=\\\"button\\\" data-video-ids=\\\"__VIDEO_ID__\\\" data-button-menu-id=\\\"shared-addto-watch-later-login\\\"\\u003e\\u003cspan
446
+ class=\\\"yt-uix-button-arrow yt-sprite\\\"\\u003e\\u003c\\/span\\u003e\\u003c\\/button\\u003e\\n\",'WATCH_QUEUE_BUTTON':
447
+ \" \\u003cbutton class=\\\"yt-uix-button yt-uix-button-size-small yt-uix-button-default
448
+ yt-uix-button-empty yt-uix-button-has-icon no-icon-markup addto-button addto-queue-button
449
+ video-actions spf-nolink hide-until-delayloaded addto-tv-queue-button yt-uix-tooltip\\\"
450
+ type=\\\"button\\\" onclick=\\\";return false;\\\" title=\\\"Queue\\\" data-video-ids=\\\"__VIDEO_ID__\\\"
451
+ data-style=\\\"tv-queue\\\"\\u003e\\u003c\\/button\\u003e\\n\",'WATCH_QUEUE_MENU':
452
+ \" \\u003cspan class=\\\"thumb-menu dark-overflow-action-menu video-actions\\\"\\u003e\\n
453
+ \ \\u003cbutton aria-expanded=\\\"false\\\" onclick=\\\";return false;\\\"
454
+ class=\\\"yt-uix-button-reverse flip addto-watch-queue-menu spf-nolink hide-until-delayloaded
455
+ yt-uix-button yt-uix-button-dark-overflow-action-menu yt-uix-button-size-default
456
+ yt-uix-button-has-icon no-icon-markup yt-uix-button-empty\\\" aria-haspopup=\\\"true\\\"
457
+ type=\\\"button\\\" \\u003e\\u003cspan class=\\\"yt-uix-button-arrow yt-sprite\\\"\\u003e\\u003c\\/span\\u003e\\u003cul
458
+ class=\\\"watch-queue-thumb-menu yt-uix-button-menu yt-uix-button-menu-dark-overflow-action-menu
459
+ hid\\\"\\u003e\\u003cli role=\\\"menuitem\\\" class=\\\"overflow-menu-choice
460
+ addto-watch-queue-menu-choice addto-watch-queue-play-next yt-uix-button-menu-item\\\"
461
+ data-action=\\\"play-next\\\" onclick=\\\";return false;\\\" data-video-ids=\\\"__VIDEO_ID__\\\"\\u003e\\u003cspan
462
+ class=\\\"addto-watch-queue-menu-text\\\"\\u003ePlay next\\u003c\\/span\\u003e\\u003c\\/li\\u003e\\u003cli
463
+ role=\\\"menuitem\\\" class=\\\"overflow-menu-choice addto-watch-queue-menu-choice
464
+ addto-watch-queue-play-now yt-uix-button-menu-item\\\" data-action=\\\"play-now\\\"
465
+ onclick=\\\";return false;\\\" data-video-ids=\\\"__VIDEO_ID__\\\"\\u003e\\u003cspan
466
+ class=\\\"addto-watch-queue-menu-text\\\"\\u003ePlay now\\u003c\\/span\\u003e\\u003c\\/li\\u003e\\u003c\\/ul\\u003e\\u003c\\/button\\u003e\\n
467
+ \ \\u003c\\/span\\u003e\\n\",'SAFETY_MODE_PENDING': false,'LOCAL_DATE_TIME_CONFIG':
468
+ {\"dateFormats\":[\"MMMM d, yyyy h:mm a\",\"MMMM d, yyyy\",\"MMM d, yyyy\",\"MMM
469
+ d, yyyy\"],\"formatShortTime\":\"h:mm a\",\"firstDayOfWeek\":0,\"weekdays\":[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],\"firstWeekCutoffDay\":3,\"formatWeekdayShortTime\":\"EE
470
+ h:mm a\",\"amPms\":[\"AM\",\"PM\"],\"formatLongDateOnly\":\"MMMM d, yyyy\",\"shortMonths\":[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],\"formatLongDate\":\"MMMM
471
+ d, yyyy h:mm a\",\"formatShortDate\":\"MMM d, yyyy\",\"shortWeekdays\":[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],\"months\":[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],\"weekendRange\":[6,5]},'PAGE_CL':
472
+ 121353725,'PAGE_BUILD_LABEL': \"youtube_20160502_RC4\",'VARIANTS_CHECKSUM':
473
+ \"4cb6a094a95a2a073847a2739adaea6b\",'ROOT_VE_TYPE': 3832,'CLIENT_PROTOCOL':
474
+ \"HTTP\\/1.1\",'CLIENT_TRANSPORT': \"tcp\",'MDX_ENABLE_CASTV2': true,'MDX_ENABLE_QUEUE':
475
+ true,'FEEDBACK_BUCKET_ID': \"Watch\",'FEEDBACK_LOCALE_LANGUAGE': \"en\",'FEEDBACK_LOCALE_EXTRAS':
476
+ {\"accept_language\":null,\"logged_in\":false,\"is_partner\":\"\",\"experiments\":\"9406006,9407157,9408351,9415398,9415575,9416126,9416475,9416891,9417035,9417482,9418543,9419979,9420112,9420289,9420790,9421041,9422250,9422376,9422523,9422575,9422596,9422928,9422972,9423553,9423555,9423649,9424091,9424225,9424603,9424678,9424701,9425352,9425413,9425506,9425552,9425931,9426070,9427175,9427221,9427294,9427440,9427491,9427493,9427515,9427847,9427931,9428158,9428398,9428632,9428835,9428948,9428959,9428971,9429447,9430082,9430877,9431012,9431674,9432356,9432931,9433050,9433070,9433096,9433161,9433208,9433424,9433507,9433614,9433644,9433839,9433852,9433870,9433872,9433946,9433970,9434233,9434382,9434469,9434501,9434686,9434691,9434760,9434949,9435672,9435708,9435849\"}});
477
+ \ yt.setConfig({\n 'GUIDED_HELP_LOCALE': \"en_US\",\n 'GUIDED_HELP_ENVIRONMENT':
478
+ \"prod\"\n });\nyt.setConfig('SPF_SEARCH_BOX', true);yt.setMsg({'ADDTO_CREATE_NEW_PLAYLIST':
479
+ \"Create new playlist\\n\",'ADDTO_CREATE_PLAYLIST_DYNAMIC_TITLE': \" $dynamic_title_placeholder
480
+ (create new)\\n\",'ADDTO_WATCH_LATER': \"Watch Later\",'ADDTO_WATCH_LATER_ADDED':
481
+ \"Added\",'ADDTO_WATCH_LATER_ERROR': \"Error\",'ADDTO_WATCH_QUEUE': \"Watch
482
+ Queue\",'ADDTO_WATCH_QUEUE_ADDED': \"Added\",'ADDTO_WATCH_QUEUE_ERROR': \"Error\",'ADDTO_TV_QUEUE':
483
+ \"Queue\",'ADS_INSTREAM_FIRST_PLAY': \"A video ad is playing.\",'ADS_INSTREAM_SKIPPABLE':
484
+ \"Video ad can be skipped.\",'ADS_OVERLAY_IMPRESSION': \"Ad displayed.\",'MASTHEAD_NOTIFICATIONS_LABEL':
485
+ {\"case0\": \"0 unread notifications.\", \"case1\": \"1 unread notification.\",
486
+ \"other\": \"# unread notifications.\"},'MASTHEAD_NOTIFICATIONS_COUNT_99PLUS':
487
+ \"99+\"}); yt.setConfig({\n 'XSRF_TOKEN': \"QUFFLUhqbGlfazZVVVA0OU8xZHpLRFNKRmhFcUNWVUpGQXxBQ3Jtc0tuQ1hxaVlxSzctMVd4WVZreHlGZUtwc21qdVFLSDd5WjZ4R3hRYVhDVmt4YnpnTnprWEhPYmd1WC1pMWh1YXhFTWVrcmZUUC0yd1d3NWxkV1hUS0J5VS1WTWM3XzJjMDVYTEVpWGRoODViUktpSXNJUGh6SldNaWZUVXVnNW1DX1o0cnluQmFsM0pfTWNnRlZTRnc3eDVkam1PZEE=\",\n
488
+ \ 'XSRF_REDIRECT_TOKEN': \"6Iw9nr4Jy2Ka2HM76NbEmNZ3rz58MTQ2MjQ5NzMzNUAxNDYyNDEwOTM1\",\n
489
+ \ 'XSRF_FIELD_NAME': \"session_token\"\n });\n\n yt.setConfig('FEED_PRIVACY_CSS_URL',
490
+ \"\\/\\/s.ytimg.com\\/yts\\/cssbin\\/www-feedprivacydialog-vflJOlJu4.css\");\n\n
491
+ \ yt.setConfig('FEED_PRIVACY_LIGHTBOX_ENABLED', true);\nyt.setConfig({'SBOX_JS_URL':
492
+ \"\\/\\/s.ytimg.com\\/yts\\/jsbin\\/www-searchbox-legacy-vflZzcNN3\\/www-searchbox-legacy.js\",'SBOX_SETTINGS':
493
+ {\"EXPERIMENT_STR\":\"\",\"HAS_ON_SCREEN_KEYBOARD\":false,\"REQUEST_DOMAIN\":\"us\",\"EXPERIMENT_ID\":-1,\"PSUGGEST_TOKEN\":null,\"PQ\":\"\",\"IS_FUSION\":false,\"SESSION_INDEX\":null,\"REQUEST_LANGUAGE\":\"en\"},'SBOX_LABELS':
494
+ {\"SUGGESTION_DISMISSED_LABEL\":\"Suggestion dismissed\",\"SUGGESTION_DISMISS_LABEL\":\"Remove\"}});
495
+ \ yt.setConfig({\n 'YPC_LOADER_JS': \"\\/\\/s.ytimg.com\\/yts\\/jsbin\\/www-ypc-vflJoT2WK\\/www-ypc.js\",\n
496
+ \ 'YPC_LOADER_CSS': \"\\/\\/s.ytimg.com\\/yts\\/cssbin\\/www-ypc-vflQF5yB7.css\",\n
497
+ \ 'YPC_SIGNIN_URL': \"https:\\/\\/accounts.google.com\\/ServiceLogin?continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Fnext%3D%252F%26action_handle_signin%3Dtrue%26app%3Ddesktop%26hl%3Den\\u0026passive=true\\u0026uilel=3\\u0026hl=en\\u0026service=youtube\",\n
498
+ \ 'DBLCLK_ADVERTISER_ID': \"2542116\",\n 'DBLCLK_YPC_ACTIVITY_GROUP':
499
+ \"youtu444\",\n 'YPC_MB_FLOW': true,\n 'SUBSCRIPTION_URL': \"\\/subscription_ajax\",\n
500
+ \ 'YPC_SWITCH_URL': \"\\/signin?next=%2F\\u0026skip_identity_prompt=True\\u0026action_handle_signin=true\\u0026feature=purchases\",\n
501
+ \ 'YPC_GB_LANGUAGE': \"en_US\",\n 'YPC_GB_URL': \"https:\\/\\/checkout.google.com\\/inapp\\/lib\\/buy.js\",\n
502
+ \ 'YPC_MB_URL': \"https:\\/\\/payments.google.com\\/payments\\/v4\\/js\\/integrator.js?ss=md\",\n
503
+ \ 'YPC_TRANSACTION_URL': \"\\/transaction_handler\",\n 'YPC_SUBSCRIPTION_URL':
504
+ \"\\/ypc_subscription_ajax\",\n 'YPC_POST_PURCHASE_URL': \"\\/ypc_post_purchase_ajax\",\n
505
+ \ 'YTO_GTM_DATA': {\"event\":\"purchased\",\"purchaseStatus\":\"success\"}\n
506
+ \ });\n yt.setMsg({\n 'YPC_OFFER_OVERLAY': \" \\n\",\n 'YPC_UNSUBSCRIBE_OVERLAY':
507
+ \" \\n\"\n });\n yt.setConfig('GOOGLE_HELP_CONTEXT', \"watch\");\nytcsi.setSpan('st',
508
+ 47);yt.setConfig({'CSI_LOG_WITH_YT': true,'CSI_SERVICE_NAME': \"youtube\",'TIMING_ACTION':
509
+ \"watch,watch7_html5\",'TIMING_INFO': {\"c\":\"WEB\",\"e\":\"9406006,9407157,9408351,9416126,9416891,9420112,9422596,9424091,9425352,9428398,9431012,9431674,9433096,9433208,9433424,9433507,9433644,9433946,9434501,9434760,9435672,9435708,9435849\",\"yt_lt\":\"cold\",\"cver\":\"1.20160502\",\"yt_pl\":0,\"yt_li\":0}});
510
+ \ yt.setConfig({\n 'XSRF_TOKEN': \"QUFFLUhqbGlfazZVVVA0OU8xZHpLRFNKRmhFcUNWVUpGQXxBQ3Jtc0tuQ1hxaVlxSzctMVd4WVZreHlGZUtwc21qdVFLSDd5WjZ4R3hRYVhDVmt4YnpnTnprWEhPYmd1WC1pMWh1YXhFTWVrcmZUUC0yd1d3NWxkV1hUS0J5VS1WTWM3XzJjMDVYTEVpWGRoODViUktpSXNJUGh6SldNaWZUVXVnNW1DX1o0cnluQmFsM0pfTWNnRlZTRnc3eDVkam1PZEE=\",\n
511
+ \ 'XSRF_REDIRECT_TOKEN': \"6Iw9nr4Jy2Ka2HM76NbEmNZ3rz58MTQ2MjQ5NzMzNUAxNDYyNDEwOTM1\",\n
512
+ \ 'XSRF_FIELD_NAME': \"session_token\"\n });\n yt.setConfig('THUMB_DELAY_LOAD_BUFFER',
513
+ 0);\nif (window.ytcsi) {window.ytcsi.tick(\"jl\", null, '');}</script>\n</body></html>"
514
+ http_version:
515
+ recorded_at: Thu, 05 May 2016 01:15:35 GMT
516
+ recorded_with: VCR 3.0.1