Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

VCR

  • Loading branch information...
commit 303bdfe68b2ee7a2146c7c6efcc23fefdcc8ab4d 1 parent 50bb693
@jarthod jarthod authored
Showing with 91,877 additions and 135 deletions.
  1. +2 −1  Gemfile
  2. +6 −4 Gemfile.lock
  3. +269 −0 test/cassettes/add_and_delete_new_playlist.yml
  4. +322 −0 test/cassettes/add_and_delete_video_from_playlist.yml
  5. +428 −0 test/cassettes/add_and_delete_video_from_watchlater.yml
  6. +155 −0 test/cassettes/add_and_delete_video_to_favorite.yml
  7. +10,669 −0 test/cassettes/add_comment_and_reply.yml
  8. +10,669 −0 test/cassettes/add_comments_and_reply.yml
  9. +163 −0 test/cassettes/add_like_to_video.yml
  10. +11,619 −0 test/cassettes/denied_comments.yml
  11. +10,336 −0 test/cassettes/denied_embed.yml
  12. +11,677 −0 test/cassettes/denied_rate.yml
  13. +48 −0 test/cassettes/determine_if_embeddable_video_is_embeddable.yml
  14. +48 −0 test/cassettes/determine_if_widescreen_video_is_widescreen.yml
  15. +163 −0 test/cassettes/dislike_to_video.yml
  16. +102 −0 test/cassettes/get_another_profile.yml
  17. +102 −0 test/cassettes/get_current_user.yml
  18. +48 −0 test/cassettes/get_embed_video_for_html5.yml
  19. +72 −0 test/cassettes/get_favorite_videos_by_user.yml
  20. +106 −0 test/cassettes/get_most_viewed_videos.yml
  21. +124 −0 test/cassettes/get_multi_profiles.yml
  22. +10,449 −0 test/cassettes/get_my_videos.yml
  23. +102 −0 test/cassettes/get_profile.yml
  24. +332 −0 test/cassettes/get_top_rated_videos_for_today.yml
  25. +48 −0 test/cassettes/get_video_from_user.yml
  26. +48 −0 test/cassettes/get_videos_by_user.yml
  27. +48 −0 test/cassettes/get_videos_by_user_with_pagination_and_ordering.yml
  28. +48 −0 test/cassettes/get_videos_for_categories_and_tags.yml
  29. +48 −0 test/cassettes/get_videos_for_categories_and_tags_with_category_boolean_operators.yml
  30. +48 −0 test/cassettes/get_videos_for_categories_and_tags_with_tag_boolean_operators.yml
  31. +48 −0 test/cassettes/get_videos_for_multiple_categories.yml
  32. +48 −0 test/cassettes/get_videos_for_multiple_tags.yml
  33. +48 −0 test/cassettes/get_videos_for_multiword_metasearch_query.yml
  34. +48 −0 test/cassettes/get_videos_for_one_category.yml
  35. +48 −0 test/cassettes/get_videos_for_one_tag.yml
  36. +48 −0 test/cassettes/get_videos_for_query_search_with_categories_excluded.yml
  37. +48 −0 test/cassettes/handle_video_not_yet_viewed.yml
  38. +48 −0 test/cassettes/have_related_videos.yml
  39. +48 −0 test/cassettes/have_response_videos.yml
  40. +102 −0 test/cassettes/list_playlist_for_user.yml
  41. +489 −0 test/cassettes/playlists_order.yml
  42. +40 −0 test/cassettes/raise_bad_request_exception_when_id_not_found.yml
  43. +48 −0 test/cassettes/respond_to_a_basic_query.yml
  44. +48 −0 test/cassettes/respond_to_a_basic_query_with_offset_and_max_results.yml
  45. +138 −0 test/cassettes/respond_to_a_basic_query_with_paging.yml
  46. +93 −0 test/cassettes/retrieve_video_by_id.yml
  47. +430 −0 test/cassettes/return_unique_id_from_playlist.yml
  48. +94 −0 test/cassettes/return_upload_info_for_upload_from_browser.yml
  49. +48 −0 test/cassettes/return_video_by_url.yml
  50. +93 −0 test/cassettes/safe_search_params.yml
  51. +269 −0 test/cassettes/subscribe_list_and_unsubscribe_to_channel.yml
  52. +48 −0 test/cassettes/unicode_query.yml
  53. +322 −0 test/cassettes/update_playlist.yml
  54. +10,388 −0 test/cassettes/upload_and_update_a_video.yml
  55. +10,335 −0 test/cassettes/upload_private_video.yml
  56. +30 −0 test/helper.rb
  57. +107 −121 test/test_client.rb
  58. +9 −1 test/test_video.rb
  59. +15 −8 test/test_video_feed_parser.rb
View
3  Gemfile
@@ -3,6 +3,7 @@ source 'http://rubygems.org'
gemspec
group :test do
- gem 'webmock', '~> 1.7.10'
+ gem 'vcr', '~> 2.1.1'
+ gem 'webmock'
gem 'rake'
end
View
10 Gemfile.lock
@@ -11,7 +11,7 @@ PATH
GEM
remote: http://rubygems.org/
specs:
- addressable (2.2.7)
+ addressable (2.2.8)
builder (3.0.0)
crack (0.3.1)
faraday (0.8.0)
@@ -28,8 +28,9 @@ GEM
rack (1.4.1)
rake (0.9.2.2)
simple_oauth (0.1.7)
- webmock (1.7.10)
- addressable (~> 2.2, > 2.2.5)
+ vcr (2.1.1)
+ webmock (1.8.7)
+ addressable (>= 2.2.7)
crack (>= 0.1.7)
PLATFORMS
@@ -37,5 +38,6 @@ PLATFORMS
DEPENDENCIES
rake
- webmock (~> 1.7.10)
+ vcr (~> 2.1.1)
+ webmock
youtube_it!
View
269 test/cassettes/add_and_delete_new_playlist.yml
@@ -0,0 +1,269 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:07:22 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:22 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALgAAADtTSuy9k_FQoG0ysgLcjp493M096o2cxrRSuGtKRVxNVrHtFVfcVhk2G0Vizz8ZOabdGnrOOkqGv_nW_wmlU3uJQQ0OCWB5u17dU5eJ2W9SBzlDPNbgtahZ9TAxrRgg-FX17EQFx8V8bwvEr-CNNPfvDTuesnv-NEnw3Ohnm3HFxlEsZzcUxrxpNY3J-ZRxG3HPGDIlBgrs78pP-k-PbXxoTRu4jBUFgkA85pL1Sd4pMhjAphjN5gJBai00Bhtdc0
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:22 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALgAAADtTSuy9k_FQoG0ysgLcjp493M096o2cxrRSuGtKRVxNVrHtFVfcVhk2G0Vizz8ZOabdGnrOOkqGv_nW_wmlU3uJQQ0OCWB5u17dU5eJ2W9SBzlDPNbgtahZ9TAxrRgg-FX17EQFx8V8bwvEr-CNNPfvDTuesnv-NEnw3Ohnm3HFxlEsZzcUxrxpNY3J-ZRxG3HPGDIlBgrs78pP-k-PbXxoTRu4jBUFgkA85pL1Sd4pMhjAphjN5gJBai00Bhtdc0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:07:22 GMT
+ Etag:
+ - W/"CUEAQ3c9eCp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:07:22 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:22 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' 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/&quot;CUEAQ3c9eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:playlists</id><updated>2012-05-16T13:07:22.960Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/><title>Playlists of tubeit20101</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101?client=youtube_it'/><link rel='alternate' type='text/html' href='http://www.youtube.com'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?start-index=1&amp;max-results=25&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>0</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:23 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><title>youtube_it test1!</title><summary>test playlist</summary></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALgAAADtTSuy9k_FQoG0ysgLcjp493M096o2cxrRSuGtKRVxNVrHtFVfcVhk2G0Vizz8ZOabdGnrOOkqGv_nW_wmlU3uJQQ0OCWB5u17dU5eJ2W9SBzlDPNbgtahZ9TAxrRgg-FX17EQFx8V8bwvEr-CNNPfvDTuesnv-NEnw3Ohnm3HFxlEsZzcUxrxpNY3J-ZRxG3HPGDIlBgrs78pP-k-PbXxoTRu4jBUFgkA85pL1Sd4pMhjAphjN5gJBai00Bhtdc0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "202"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/BD1D2D1C493490BC?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"CUEAQn47eCp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/BD1D2D1C493490BC?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:07:23 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:23 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;CUEAQn47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:playlist:BD1D2D1C493490BC</id><published>2012-05-16T13:07:23.000Z</published><updated>2012-05-16T13:07:23.000Z</updated><app:edited>2012-05-16T13:07:23.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/><title>youtube_it test1!</title><summary>test playlist</summary><content type='application/atom+xml;type=feed' src='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101?client=youtube_it'/><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=BD1D2D1C493490BC'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/BD1D2D1C493490BC?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/BD1D2D1C493490BC?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:countHint>0</yt:countHint><media:group><yt:duration seconds='0'/></media:group><yt:playlistId>BD1D2D1C493490BC</yt:playlistId></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:23 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC?orderby=position&v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALgAAADtTSuy9k_FQoG0ysgLcjp493M096o2cxrRSuGtKRVxNVrHtFVfcVhk2G0Vizz8ZOabdGnrOOkqGv_nW_wmlU3uJQQ0OCWB5u17dU5eJ2W9SBzlDPNbgtahZ9TAxrRgg-FX17EQFx8V8bwvEr-CNNPfvDTuesnv-NEnw3Ohnm3HFxlEsZzcUxrxpNY3J-ZRxG3HPGDIlBgrs78pP-k-PbXxoTRu4jBUFgkA85pL1Sd4pMhjAphjN5gJBai00Bhtdc0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:07:23 GMT
+ Etag:
+ - W/"CUEAQn47eCp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:07:28 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:28 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml 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/&quot;CUEAQn47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:playlist:BD1D2D1C493490BC</id><updated>2012-05-16T13:07:23.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><title>youtube_it test1!</title><subtitle>test playlist</subtitle><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=BD1D2D1C493490BC'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC?start-index=1&amp;max-results=25&amp;orderby=position&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/playlists/BD1D2D1C493490BC?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>0</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><media:group><media:description type='plain'>test playlist</media:description><media:title type='plain'>youtube_it test1!</media:title><yt:duration seconds='0'/></media:group><yt:playlistId>BD1D2D1C493490BC</yt:playlistId></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:28 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists/BD1D2D1C493490BC
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALgAAADtTSuy9k_FQoG0ysgLcjp493M096o2cxrRSuGtKRVxNVrHtFVfcVhk2G0Vizz8ZOabdGnrOOkqGv_nW_wmlU3uJQQ0OCWB5u17dU5eJ2W9SBzlDPNbgtahZ9TAxrRgg-FX17EQFx8V8bwvEr-CNNPfvDTuesnv-NEnw3Ohnm3HFxlEsZzcUxrxpNY3J-ZRxG3HPGDIlBgrs78pP-k-PbXxoTRu4jBUFgkA85pL1Sd4pMhjAphjN5gJBai00Bhtdc0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:07:28 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:28 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:28 GMT
View
322 test/cassettes/add_and_delete_video_from_playlist.yml
@@ -0,0 +1,322 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:07:12 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:12 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:13 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:07:13 GMT
+ Etag:
+ - W/"CUEHQns_eyp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:07:13 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:13 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' 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/&quot;CUEHQns_eyp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:playlists</id><updated>2012-05-16T13:07:13.543Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/><title>Playlists of tubeit20101</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101?client=youtube_it'/><link rel='alternate' type='text/html' href='http://www.youtube.com'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?start-index=1&amp;max-results=25&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>0</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:13 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><title>youtube_it test!</title><summary>test playlist</summary></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "201"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/132E6877AEC7E4D7?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"CUEHRX47eCp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/132E6877AEC7E4D7?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:07:14 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:14 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;CUEHRX47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:playlist:132E6877AEC7E4D7</id><published>2012-05-16T13:07:14.000Z</published><updated>2012-05-16T13:07:14.000Z</updated><app:edited>2012-05-16T13:07:14.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlistLink'/><title>youtube_it test!</title><summary>test playlist</summary><content type='application/atom+xml;type=feed' src='http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101?client=youtube_it'/><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=132E6877AEC7E4D7'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/132E6877AEC7E4D7?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists/132E6877AEC7E4D7?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:countHint>0</yt:countHint><media:group><yt:duration seconds='0'/></media:group><yt:playlistId>132E6877AEC7E4D7</yt:playlistId></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:14 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><id>CE62FSEoY28</id></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "158"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7/PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"YDwqeyM."
+ Location:
+ - http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7/PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:07:14 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:14 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;YDwqeyM.&quot;'><id>tag:youtube.com,2008:playlist:132E6877AEC7E4D7:PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18</id><published>2012-05-16T13:07:14.000Z</published><updated>1970-01-01T00:00:00.000Z</updated><app:edited>1970-01-01T00:00:00.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='People' label='People &amp; Blogs'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='stringshub'/><title>Tuquito ClassmatePC 3 - Touch Screen</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/CE62FSEoY28?version=3&amp;f=playlists&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=CE62FSEoY28&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=CE62FSEoY28'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7/PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7/PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/comments?client=youtube_it' countHint='8'/></gd:comments><media:group><media:category label='People &amp; Blogs' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>People</media:category><media:content url='http://www.youtube.com/v/CE62FSEoY28?version=3&amp;f=playlists&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='331' yt:format='5'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClQLENy73wIaSwlvYyghFbZOCBMYDSANFEIKeW91dHViZV9pdEgGUglwbGF5bGlzdHNyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='331' yt:format='1'/><media:content url='rtsp://v1.cache6.c.youtube.com/ClQLENy73wIaSwlvYyghFbZOCBMYESARFEIKeW91dHViZV9pdEgGUglwbGF5bGlzdHNyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='331' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte'>chebyte</media:credit><media:description type='plain'>videocast de Tuquito ClassmatePC 3 TOUCH SCREEN</media:description><media:keywords>stringshub</media:keywords><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=CE62FSEoY28&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/default.jpg' height='90' width='120' time='00:02:45.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/1.jpg' height='90' width='120' time='00:01:22.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/2.jpg' height='90' width='120' time='00:02:45.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/CE62FSEoY28/3.jpg' height='90' width='120' time='00:04:08.250' yt:name='end'/><media:title type='plain'>Tuquito ClassmatePC 3 - Touch Screen</media:title><yt:duration seconds='331'/><yt:uploaded>2009-10-18T23:02:02.000Z</yt:uploaded><yt:uploaderId>9m4qThg_zsMLscTUP9FeSQ</yt:uploaderId><yt:videoid>CE62FSEoY28</yt:videoid></media:group><gd:rating average='5.0' max='5' min='1' numRaters='5' rel='http://schemas.google.com/g/2005#overall'/><yt:statistics favoriteCount='1' viewCount='1872'/><yt:rating numDislikes='0' numLikes='5'/><yt:position>1</yt:position></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:15 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/playlists/132E6877AEC7E4D7/PLLYafDxyIVt5ElJZ7VsdqD2NnwkU3yV18
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:07:15 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:15 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:15 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/playlists/132E6877AEC7E4D7
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAAB_HXDTeR7GT7-TnTrDlcSKaFU3Axa0BzZHOgt2jp1HfvTA-Pkd7eG9UtjWQYm-ec75h-BDUMt7GgsRfFcVoudWKBA8fXxHr4GqvglkjriU11mKtiO8oPN0hSWv1jvLEx7N7ebfZ-xhv8dRv7csdvHg8dRNxT1hYGlUc-rCD6TiWVymAHUMB3EnBlJJrt-510C_7m6khoJsicBB7ZiWKvmNijSerX_LSBZld_HjP-AHJiNlgZQkolwKpj2i8wtuAr0
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:07:16 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:07:16 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:07:16 GMT
View
428 test/cassettes/add_and_delete_video_from_watchlater.yml
@@ -0,0 +1,428 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:49:08 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:08 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:09 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:48:45 GMT
+ Etag:
+ - W/"DEYGRH47eCp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:49:09 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:09 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' 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/&quot;DEYGRH47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later</id><updated>2012-05-16T13:48:45.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><title>Watch Later</title><subtitle/><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=C24ED1A9A2F6BD2F'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?start-index=1&amp;max-results=25&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><media:group><media:content url='http://www.youtube.com/p/C24ED1A9A2F6BD2F' type='application/x-shockwave-flash' yt:format='5'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:title type='plain'>Watch Later</media:title><yt:duration seconds='63'/></media:group><yt:playlistId>C24ED1A9A2F6BD2F</yt:playlistId><yt:private/><entry gd:etag='W/&quot;YDwqeyM.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later:PL78jdHcOatSFqdzq7_QQ2Slnp-c2WiABL</id><published>2012-05-16T13:48:21.000Z</published><updated>1970-01-01T00:00:00.000Z</updated><app:edited>1970-01-01T00:00:00.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='Entertainment'/><title>Boris The Bad Dog</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=fFAnoEYFUQw'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSFqdzq7_QQ2Slnp-c2WiABL?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSFqdzq7_QQ2Slnp-c2WiABL?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/comments?client=youtube_it' countHint='0'/></gd:comments><yt:hd/><media:group><media:category label='Entertainment' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Entertainment</media:category><media:content url='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='63' yt:format='5'/><media:content url='rtsp://v2.cache6.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYDSANFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='1'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYESARFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte2006'>chebyte2006</media:credit><media:description type='plain'>Historia de un perro malo</media:description><media:keywords/><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' time='00:00:31.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/1.jpg' height='90' width='120' time='00:00:15.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/2.jpg' height='90' width='120' time='00:00:31.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/3.jpg' height='90' width='120' time='00:00:47.250' yt:name='end'/><media:title type='plain'>Boris The Bad Dog</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='63'/><yt:uploaded>2012-03-21T20:27:55.000Z</yt:uploaded><yt:uploaderId>_EPuqJjzjgM7o0rZns01mg</yt:uploaderId><yt:videoid>fFAnoEYFUQw</yt:videoid></media:group><yt:statistics favoriteCount='1' viewCount='61'/><yt:position>1</yt:position></entry><entry gd:etag='W/&quot;YDwqeyM.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later:PL78jdHcOatSHMW_QdMkRH1KpwURpSvFAV</id><published>2012-05-16T13:48:45.000Z</published><updated>1970-01-01T00:00:00.000Z</updated><app:edited>1970-01-01T00:00:00.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='Entertainment'/><title>Boris The Bad Dog</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=fFAnoEYFUQw'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSHMW_QdMkRH1KpwURpSvFAV?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSHMW_QdMkRH1KpwURpSvFAV?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/comments?client=youtube_it' countHint='0'/></gd:comments><yt:hd/><media:group><media:category label='Entertainment' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Entertainment</media:category><media:content url='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='63' yt:format='5'/><media:content url='rtsp://v2.cache6.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYDSANFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='1'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYESARFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte2006'>chebyte2006</media:credit><media:description type='plain'>Historia de un perro malo</media:description><media:keywords/><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' time='00:00:31.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/1.jpg' height='90' width='120' time='00:00:15.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/2.jpg' height='90' width='120' time='00:00:31.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/3.jpg' height='90' width='120' time='00:00:47.250' yt:name='end'/><media:title type='plain'>Boris The Bad Dog</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='63'/><yt:uploaded>2012-03-21T20:27:55.000Z</yt:uploaded><yt:uploaderId>_EPuqJjzjgM7o0rZns01mg</yt:uploaderId><yt:videoid>fFAnoEYFUQw</yt:videoid></media:group><yt:statistics favoriteCount='1' viewCount='61'/><yt:position>2</yt:position></entry></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:10 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later/PL78jdHcOatSFqdzq7_QQ2Slnp-c2WiABL
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:49:10 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:10 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:10 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later/PL78jdHcOatSHMW_QdMkRH1KpwURpSvFAV
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:49:11 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:11 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:11 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><id>fFAnoEYFUQw</id></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "158"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"YDwqeyM."
+ Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:49:16 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:16 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;YDwqeyM.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later:PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn</id><published>2012-05-16T13:49:16.000Z</published><updated>1970-01-01T00:00:00.000Z</updated><app:edited>1970-01-01T00:00:00.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='Entertainment'/><title>Boris The Bad Dog</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=fFAnoEYFUQw'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/comments?client=youtube_it' countHint='0'/></gd:comments><yt:hd/><media:group><media:category label='Entertainment' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Entertainment</media:category><media:content url='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='63' yt:format='5'/><media:content url='rtsp://v2.cache6.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYDSANFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='1'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYESARFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte2006'>chebyte2006</media:credit><media:description type='plain'>Historia de un perro malo</media:description><media:keywords/><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' time='00:00:31.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/1.jpg' height='90' width='120' time='00:00:15.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/2.jpg' height='90' width='120' time='00:00:31.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/3.jpg' height='90' width='120' time='00:00:47.250' yt:name='end'/><media:title type='plain'>Boris The Bad Dog</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='63'/><yt:uploaded>2012-03-21T20:27:55.000Z</yt:uploaded><yt:uploaderId>_EPuqJjzjgM7o0rZns01mg</yt:uploaderId><yt:videoid>fFAnoEYFUQw</yt:videoid></media:group><yt:statistics favoriteCount='1' viewCount='61'/><yt:position>1</yt:position></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:16 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:49:16 GMT
+ Etag:
+ - W/"DEYBR347eCp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:49:20 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:20 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' 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/&quot;DEYBR347eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later</id><updated>2012-05-16T13:49:16.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><title>Watch Later</title><subtitle/><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=C24ED1A9A2F6BD2F'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?start-index=1&amp;max-results=25&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><media:group><media:content url='http://www.youtube.com/p/C24ED1A9A2F6BD2F' type='application/x-shockwave-flash' yt:format='5'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:title type='plain'>Watch Later</media:title><yt:duration seconds='0'/></media:group><yt:playlistId>C24ED1A9A2F6BD2F</yt:playlistId><yt:private/><entry gd:etag='W/&quot;YDwqeyM.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later:PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn</id><published>2012-05-16T13:49:16.000Z</published><updated>1970-01-01T00:00:00.000Z</updated><app:edited>1970-01-01T00:00:00.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='Entertainment'/><title>Boris The Bad Dog</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=fFAnoEYFUQw'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/comments?client=youtube_it' countHint='0'/></gd:comments><yt:hd/><media:group><media:category label='Entertainment' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Entertainment</media:category><media:content url='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=watch_later&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='63' yt:format='5'/><media:content url='rtsp://v2.cache6.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYDSANFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='1'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClYLENy73wIaTQkMUQVGoCdQfBMYESARFEIKeW91dHViZV9pdEgGUgt3YXRjaF9sYXRlcnIhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte2006'>chebyte2006</media:credit><media:description type='plain'>Historia de un perro malo</media:description><media:keywords/><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' time='00:00:31.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/1.jpg' height='90' width='120' time='00:00:15.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/2.jpg' height='90' width='120' time='00:00:31.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/3.jpg' height='90' width='120' time='00:00:47.250' yt:name='end'/><media:title type='plain'>Boris The Bad Dog</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='63'/><yt:uploaded>2012-03-21T20:27:55.000Z</yt:uploaded><yt:uploaderId>_EPuqJjzjgM7o0rZns01mg</yt:uploaderId><yt:videoid>fFAnoEYFUQw</yt:videoid></media:group><yt:statistics favoriteCount='1' viewCount='61'/><yt:position>1</yt:position></entry></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:20 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later/PL78jdHcOatSGkKLKbckjRieEXvZWUMRbn
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:49:21 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:21 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:21 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default/watch_later?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADIv_MXPd5k70J5zT0L-H0q3PmD21tkTwHQaiAykIW6ByY9QbesSdwluDGgFNnMZSlncaKI932crDvvG0hwMhehBXXDMNu9wPp7ajZQadO9eAKJpMm9PEIvg1tUxV3rWWsTqNlIpk5vh7svE-4FFzugdYwGEYhHRTC0tyh6OI6zIenXufA4b1rsAUylj2UoC_XLP_B_Um_HqvS-qAE3Z3DYnNA9vSSnVJfLkS2XvLKimIp4lun6ggg-n8lQRNO_rHI
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 13:49:21 GMT
+ Etag:
+ - W/"DEYCQH47eCp7I2A9WhVUEUo."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:49:26 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:49:26 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml 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/&quot;DEYCQH47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:tubeit20101:watch_later</id><updated>2012-05-16T13:49:21.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#playlist'/><title>Watch Later</title><subtitle/><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='alternate' type='text/html' href='http://www.youtube.com/view_play_list?p=C24ED1A9A2F6BD2F'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later/batch?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?start-index=1&amp;max-results=25&amp;client=youtube_it'/><link rel='service' type='application/atomsvc+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?alt=atom-service'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><generator version='2.1' uri='http://gdata.youtube.com'>YouTube data API</generator><openSearch:totalResults>0</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><media:group><media:title type='plain'>Watch Later</media:title><yt:duration seconds='0'/></media:group><yt:playlistId>C24ED1A9A2F6BD2F</yt:playlistId><yt:private/></feed>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:49:26 GMT
View
155 test/cassettes/add_and_delete_video_to_favorite.yml
@@ -0,0 +1,155 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:42:47 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:42:47 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALcAAAC76soBRaWYzE_00mKtc6d5Cb0BcxyAnv9kCUNyBks5YETjkOsqwearJ5UB24F1sXOQwc2SzpSYGKVvLYpbcXCFSV86rj_MdKgU8qFCcAXASQ40Tw2dwpdj2O1mYjmPPjJ9Ai-nd-IA8TNCrrCcxreiGHFI84XuDgBlorucl290dCf0dapqHZjV3IP7MEzzRXKpW6RZhYmC4PXQ-Qvaq3s-zU08PkXzQHrTOqm76BkP4Vuk6ySxgWmTRMxbgOX79BQ
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:42:47 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/users/default/favorites
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><id>fFAnoEYFUQw</id></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAAC76soBRaWYzE_00mKtc6d5Cb0BcxyAnv9kCUNyBks5YETjkOsqwearJ5UB24F1sXOQwc2SzpSYGKVvLYpbcXCFSV86rj_MdKgU8qFCcAXASQ40Tw2dwpdj2O1mYjmPPjJ9Ai-nd-IA8TNCrrCcxreiGHFI84XuDgBlorucl290dCf0dapqHZjV3IP7MEzzRXKpW6RZhYmC4PXQ-Qvaq3s-zU08PkXzQHrTOqm76BkP4Vuk6ySxgWmTRMxbgOX79BQ
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "158"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites/vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"D0ACSX47eCp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites/vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:42:48 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:42:48 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D0ACSX47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:favorite:vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU</id><published>2012-05-16T13:42:48.000Z</published><updated>2012-05-16T13:42:48.000Z</updated><app:edited>2012-05-16T13:42:48.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#favorite'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Entertainment' label='Entertainment'/><title>Boris The Bad Dog</title><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/responses?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/ratings?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/complaints?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/related?client=youtube_it'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=fFAnoEYFUQw'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites/vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites/vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/fFAnoEYFUQw/comments?client=youtube_it' countHint='0'/></gd:comments><yt:hd/><media:group><media:category label='Entertainment' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Entertainment</media:category><media:content url='http://www.youtube.com/v/fFAnoEYFUQw?version=3&amp;f=user_favorites&amp;c=youtube_it&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='63' yt:format='5'/><media:content url='rtsp://v2.cache6.c.youtube.com/ClkLENy73wIaUAkMUQVGoCdQfBMYDSANFEIKeW91dHViZV9pdEgGUg51c2VyX2Zhdm9yaXRlc3IhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='1'/><media:content url='rtsp://v2.cache4.c.youtube.com/ClkLENy73wIaUAkMUQVGoCdQfBMYESARFEIKeW91dHViZV9pdEgGUg51c2VyX2Zhdm9yaXRlc3IhAS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDmDA==/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='63' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte2006'>chebyte2006</media:credit><media:description type='plain'>Historia de un perro malo</media:description><media:keywords/><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=fFAnoEYFUQw&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/default.jpg' height='90' width='120' time='00:00:31.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/1.jpg' height='90' width='120' time='00:00:15.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/2.jpg' height='90' width='120' time='00:00:31.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/fFAnoEYFUQw/3.jpg' height='90' width='120' time='00:00:47.250' yt:name='end'/><media:title type='plain'>Boris The Bad Dog</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='63'/><yt:uploaded>2012-03-21T19:56:47.000Z</yt:uploaded><yt:uploaderId>_EPuqJjzjgM7o0rZns01mg</yt:uploaderId><yt:videoid>fFAnoEYFUQw</yt:videoid></media:group><yt:statistics favoriteCount='1' viewCount='61'/><yt:favoriteId>vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU</yt:favoriteId></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:42:48 GMT
+- request:
+ method: delete
+ uri: http://gdata.youtube.com/feeds/api/users/default/favorites/vjVQa1PpcFPT5l-0nfwUww4pnurPgR6VtMNsDC14VJU
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAAC76soBRaWYzE_00mKtc6d5Cb0BcxyAnv9kCUNyBks5YETjkOsqwearJ5UB24F1sXOQwc2SzpSYGKVvLYpbcXCFSV86rj_MdKgU8qFCcAXASQ40Tw2dwpdj2O1mYjmPPjJ9Ai-nd-IA8TNCrrCcxreiGHFI84XuDgBlorucl290dCf0dapqHZjV3IP7MEzzRXKpW6RZhYmC4PXQ-Qvaq3s-zU08PkXzQHrTOqm76BkP4Vuk6ySxgWmTRMxbgOX79BQ
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/html
+ Date:
+ - Wed, 16 May 2012 13:42:49 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "0"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:42:49 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: ""
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:42:49 GMT
View
10,669 test/cassettes/add_comment_and_reply.yml
10,669 additions, 0 deletions not shown
View
10,669 test/cassettes/add_comments_and_reply.yml
10,669 additions, 0 deletions not shown
View
163 test/cassettes/add_like_to_video.yml
@@ -0,0 +1,163 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:43:29 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:43:29 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALYAAACDXKykKMo9uCoxpl9BUzAuX1JaYVJ6GPfrJGj8WusEGzSzXNT_dwzw_jOFKFodZdFhtGIyIiprRPt2ZvrHgNNblIyAVnO6z6bWUg_rbJ9bqAZyUtYJcNWbauyDHYsc0qaIbLAOdUrV25hyN2RY7-dt8Oq1TqRL5nlu_PfFaGhe9uHk0APHQngPkF03w9fugfQiMARsvMo_WjSxnSn8LCfyNdvx99yPTgWlzfiphTTfVuiPSUroUBY8Ol_AXItV448
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:43:29 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><yt:rating value="like"/></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAACDXKykKMo9uCoxpl9BUzAuX1JaYVJ6GPfrJGj8WusEGzSzXNT_dwzw_jOFKFodZdFhtGIyIiprRPt2ZvrHgNNblIyAVnO6z6bWUg_rbJ9bqAZyUtYJcNWbauyDHYsc0qaIbLAOdUrV25hyN2RY7-dt8Oq1TqRL5nlu_PfFaGhe9uHk0APHQngPkF03w9fugfQiMARsvMo_WjSxnSn8LCfyNdvx99yPTgWlzfiphTTfVuiPSUroUBY8Ol_AXItV448
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "163"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/nPaVwetKLf2Xd1P9TuFFhIdpz0s%3D?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"D08FQX8_cCp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/nPaVwetKLf2Xd1P9TuFFhIdpz0s%3D?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:43:30 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:43:30 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D08FQX8_cCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:video:CE62FSEoY28:rating:nPaVwetKLf2Xd1P9TuFFhIdpz0s%3D</id><published>2012-05-16T13:43:30.148Z</published><updated>2012-05-16T13:43:30.148Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#rating'/><title>Video has been rated.</title><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=CE62FSEoY28'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/nPaVwetKLf2Xd1P9TuFFhIdpz0s%3D?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><gd:rating max='5' min='1' value='5'/><yt:rating value='like'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:43:30 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><yt:rating value="dislike"/></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALYAAACDXKykKMo9uCoxpl9BUzAuX1JaYVJ6GPfrJGj8WusEGzSzXNT_dwzw_jOFKFodZdFhtGIyIiprRPt2ZvrHgNNblIyAVnO6z6bWUg_rbJ9bqAZyUtYJcNWbauyDHYsc0qaIbLAOdUrV25hyN2RY7-dt8Oq1TqRL5nlu_PfFaGhe9uHk0APHQngPkF03w9fugfQiMARsvMo_WjSxnSn8LCfyNdvx99yPTgWlzfiphTTfVuiPSUroUBY8Ol_AXItV448
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "166"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/LI2KcC7Th%2BKNWQxQl4qjUoaJLIo%3D?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"D08FQHw8fyp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/LI2KcC7Th%2BKNWQxQl4qjUoaJLIo%3D?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:43:31 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:43:31 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D08FQHw8fyp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:video:CE62FSEoY28:rating:LI2KcC7Th%2BKNWQxQl4qjUoaJLIo%3D</id><published>2012-05-16T13:43:31.277Z</published><updated>2012-05-16T13:43:31.277Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#rating'/><title>Video has been rated.</title><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=CE62FSEoY28'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/LI2KcC7Th%2BKNWQxQl4qjUoaJLIo%3D?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><gd:rating max='5' min='1' value='1'/><yt:rating value='dislike'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:43:31 GMT
View
11,619 test/cassettes/denied_comments.yml
11,619 additions, 0 deletions not shown
View
10,336 test/cassettes/denied_embed.yml
10,336 additions, 0 deletions not shown
View
11,677 test/cassettes/denied_rate.yml
11,677 additions, 0 deletions not shown
View
48 test/cassettes/determine_if_embeddable_video_is_embeddable.yml
48 additions, 0 deletions not shown
View
48 test/cassettes/determine_if_widescreen_video_is_widescreen.yml
@@ -0,0 +1,48 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I?key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg&v=2
+ body:
+ string: ""
+ headers:
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - "*"
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Mon, 14 May 2012 21:54:39 GMT
+ Etag:
+ - W/"CEMDSH47eCp7I2A9WhVUEE4."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:11:46 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:11:46 GMT
+ Cache-Control:
+ - private, max-age=300, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;CEMDSH47eCp7I2A9WhVUEE4.&quot;'><id>tag:youtube.com,2008:video:QqQVll-MP3I</id><published>2009-02-11T13:39:04.000Z</published><updated>2012-05-14T21:54:39.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='Nonprofit' label='Nonprofits &amp; Activism'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='food'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='inc'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='documentary'/><title>Food, Inc</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/QqQVll-MP3I?version=3&amp;f=videos&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=QqQVll-MP3I&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I/responses?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I/ratings?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I/complaints?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I/related?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=QqQVll-MP3I'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I?v=2'/><author><name>inlinetv2009</name><uri>http://gdata.youtube.com/feeds/api/users/inlinetv2009</uri><yt:userId>_AGwt7UN4Lu-qPq4ig_R4Q</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/QqQVll-MP3I/comments?v=2' countHint='2115'/></gd:comments><media:group><media:category label='Nonprofits &amp; Activism' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>Nonprofit</media:category><media:content url='http://www.youtube.com/v/QqQVll-MP3I?version=3&amp;f=videos&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='211' yt:format='5'/><media:content url='rtsp://v8.cache7.c.youtube.com/CkULENy73wIaPAlyP4xflhWkQhMYDSANFEgGUgZ2aWRlb3NyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='211' yt:format='1'/><media:content url='rtsp://v8.cache5.c.youtube.com/CkULENy73wIaPAlyP4xflhWkQhMYESARFEgGUgZ2aWRlb3NyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='211' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='inlinetv2009'>inlinetv2009</media:credit><media:description type='plain'>ROBERT KENNER FILM</media:description><media:keywords>food, inc, documentary</media:keywords><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=QqQVll-MP3I&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/default.jpg' height='90' width='120' time='00:01:45.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/1.jpg' height='90' width='120' time='00:00:52.750' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/2.jpg' height='90' width='120' time='00:01:45.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/QqQVll-MP3I/3.jpg' height='90' width='120' time='00:02:38.250' yt:name='end'/><media:title type='plain'>Food, Inc</media:title><yt:aspectRatio>widescreen</yt:aspectRatio><yt:duration seconds='211'/><yt:uploaded>2009-02-11T13:39:04.000Z</yt:uploaded><yt:uploaderId>_AGwt7UN4Lu-qPq4ig_R4Q</yt:uploaderId><yt:videoid>QqQVll-MP3I</yt:videoid></media:group><gd:rating average='4.8512616' max='5' min='1' numRaters='2259' rel='http://schemas.google.com/g/2005#overall'/><yt:statistics favoriteCount='2529' viewCount='1271756'/><yt:rating numDislikes='84' numLikes='2175'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:11:46 GMT
View
163 test/cassettes/dislike_to_video.yml
@@ -0,0 +1,163 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:44:38 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:38 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALcAAAD0C7yXmV-Q2E9sd_eD-tG6M5gyvaVjOgMuMb0kvi2V609rb5Q1PCPYwXoaq5oBSmY1zxeWzwPILmo-YFOX1L9tL2yrEKhLNoPiC2SXaY_BIPKO2w1dDdRc5GxxE0uv7XrNx0xdTnXIbscFpG5emjGRssPmcM4_JEbnCWIg4kWJOJRbUGaSMOZQuEuRUTRv2xhL6fd8BWpEoGfcwIECx0oBdtA98cRwOg_3QWcLRbTHgOfbbqXMtji-l02E-WtGfWU
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:39 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><yt:rating value="like"/></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAAD0C7yXmV-Q2E9sd_eD-tG6M5gyvaVjOgMuMb0kvi2V609rb5Q1PCPYwXoaq5oBSmY1zxeWzwPILmo-YFOX1L9tL2yrEKhLNoPiC2SXaY_BIPKO2w1dDdRc5GxxE0uv7XrNx0xdTnXIbscFpG5emjGRssPmcM4_JEbnCWIg4kWJOJRbUGaSMOZQuEuRUTRv2xhL6fd8BWpEoGfcwIECx0oBdtA98cRwOg_3QWcLRbTHgOfbbqXMtji-l02E-WtGfWU
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "163"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/aNyQxgBLkOVrYTremjGOA8XncLE%3D?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"D08MQX44eyp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/aNyQxgBLkOVrYTremjGOA8XncLE%3D?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:44:40 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:40 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D08MQX44eyp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:video:CE62FSEoY28:rating:aNyQxgBLkOVrYTremjGOA8XncLE%3D</id><published>2012-05-16T13:44:40.033Z</published><updated>2012-05-16T13:44:40.033Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#rating'/><title>Video has been rated.</title><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=CE62FSEoY28'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/aNyQxgBLkOVrYTremjGOA8XncLE%3D?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><gd:rating max='5' min='1' value='5'/><yt:rating value='like'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:40 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings
+ body:
+ string: <?xml version="1.0" encoding="UTF-8"?><entry xmlns="http://www.w3.org/2005/Atom" xmlns:yt="http://gdata.youtube.com/schemas/2007"><yt:rating value="dislike"/></entry>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAAD0C7yXmV-Q2E9sd_eD-tG6M5gyvaVjOgMuMb0kvi2V609rb5Q1PCPYwXoaq5oBSmY1zxeWzwPILmo-YFOX1L9tL2yrEKhLNoPiC2SXaY_BIPKO2w1dDdRc5GxxE0uv7XrNx0xdTnXIbscFpG5emjGRssPmcM4_JEbnCWIg4kWJOJRbUGaSMOZQuEuRUTRv2xhL6fd8BWpEoGfcwIECx0oBdtA98cRwOg_3QWcLRbTHgOfbbqXMtji-l02E-WtGfWU
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "166"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Content-Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/Cbu4egJ8Gsw2QDN0SDva3O7c0bI%3D?client=youtube_it
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Etag:
+ - W/"D08MQH8-fCp7I2A9WhVUEUo."
+ Location:
+ - http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/Cbu4egJ8Gsw2QDN0SDva3O7c0bI%3D?client=youtube_it
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:44:41 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:41 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D08MQH8-fCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:video:CE62FSEoY28:rating:Cbu4egJ8Gsw2QDN0SDva3O7c0bI%3D</id><published>2012-05-16T13:44:41.154Z</published><updated>2012-05-16T13:44:41.154Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#rating'/><title>Video has been rated.</title><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=CE62FSEoY28'/><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28?client=youtube_it'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/CE62FSEoY28/ratings/Cbu4egJ8Gsw2QDN0SDva3O7c0bI%3D?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><gd:rating max='5' min='1' value='1'/><yt:rating value='dislike'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:41 GMT
View
102 test/cassettes/get_another_profile.yml
@@ -0,0 +1,102 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:44:42 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:42 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALgAAAAuzlYxewK7pyFATKzu2C4iThXS3897z_8RjAQDH-_cjIqfgUdNX4WGmGnD70kstdSHuSBPJdYzuXe3BoSJZokL5VBQYZEmSl7_-Sseox7XbksiNk3LUsZUu4dzEqUWsFdwq8ii2IHe1SGrJ-KOSa40zpajJHfu39CI5wA0FCFBpSB7EjodpDHxbJamsEc4H2voPir_S911SjDvAMeEBQP223nrRi5LXXsALldEqsNJudDBemzfN_zk8Kh-_0k5q1U
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:43 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/honda?v=2
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALgAAAAuzlYxewK7pyFATKzu2C4iThXS3897z_8RjAQDH-_cjIqfgUdNX4WGmGnD70kstdSHuSBPJdYzuXe3BoSJZokL5VBQYZEmSl7_-Sseox7XbksiNk3LUsZUu4dzEqUWsFdwq8ii2IHe1SGrJ-KOSa40zpajJHfu39CI5wA0FCFBpSB7EjodpDHxbJamsEc4H2voPir_S911SjDvAMeEBQP223nrRi5LXXsALldEqsNJudDBemzfN_zk8Kh-_0k5q1U
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 05:04:31 GMT
+ Etag:
+ - W/"DkEDQH47eCp7I2A9WhVUEUk."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:44:43 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:43 GMT
+ Cache-Control:
+ - private, max-age=300, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;DkEDQH47eCp7I2A9WhVUEUk.&quot;'><id>tag:youtube.com,2008:user:22zQ9nBEk6KOjUWqR5XXZg</id><published>2005-10-11T00:42:58.000Z</published><updated>2012-05-16T05:04:31.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#userProfile'/><title>The Honda Channel</title><summary>Honda on YouTube</summary><link rel='alternate' type='text/html' href='http://www.youtube.com/channel/UC22zQ9nBEk6KOjUWqR5XXZg'/><link rel='related' type='text/html' href='http://www.honda.com'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/22zQ9nBEk6KOjUWqR5XXZg?client=youtube_it'/><author><name>Honda</name><uri>http://gdata.youtube.com/feeds/api/users/Honda</uri><yt:userId>22zQ9nBEk6KOjUWqR5XXZg</yt:userId></author><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.liveevent' href='http://gdata.youtube.com/feeds/api/users/honda/live/events?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.favorites' href='http://gdata.youtube.com/feeds/api/users/honda/favorites?client=youtube_it' countHint='57'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.contacts' href='http://gdata.youtube.com/feeds/api/users/honda/contacts?client=youtube_it' countHint='3'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.inbox' href='http://gdata.youtube.com/feeds/api/users/honda/inbox?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.playlists' href='http://gdata.youtube.com/feeds/api/users/honda/playlists?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.subscriptions' href='http://gdata.youtube.com/feeds/api/users/honda/subscriptions?client=youtube_it' countHint='17'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads' href='http://gdata.youtube.com/feeds/api/users/honda/uploads?client=youtube_it' countHint='340'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.newsubscriptionvideos' href='http://gdata.youtube.com/feeds/api/users/honda/newsubscriptionvideos?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.recentactivity' href='http://gdata.youtube.com/feeds/api/users/honda/events?client=youtube_it'/><yt:firstName>American Honda Motor Co., Inc.</yt:firstName><yt:location>Torrance, US</yt:location><yt:maxUploadDuration seconds='43200'/><yt:statistics lastWebAccess='2012-03-29T21:37:22.000Z' subscriberCount='57278' videoWatchCount='0' viewCount='6236832' totalUploadViews='38590811'/><media:thumbnail url='http://i3.ytimg.com/i/22zQ9nBEk6KOjUWqR5XXZg/1.jpg?v=4f26a301'/><yt:userId>22zQ9nBEk6KOjUWqR5XXZg</yt:userId><yt:username display='Honda'>honda</yt:username></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:43 GMT
View
102 test/cassettes/get_current_user.yml
@@ -0,0 +1,102 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:12:37 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:12:37 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALcAAADryYtw1crwWV0OgxHL6QPTEzLFF-AtSAIchLn15vUKgTn-P_AJO26-sYhs-4ZO40XGaXkInxH-tWE1fvGEe6VZZg1Tj4zYOB-b3cPRyXyfJdG8wdOX6NDzhSKYjCRIqkij_aKWrirHpcc44z7mtqeVYWrSiaeP-D4K8YPvCYJObySoYdN_vjKala_eSXRltBFviTWR0Hyk0nckmzqGbFTNPtZQy6cfvKGkg0e-7_MhMWrudDI9PTPLWWQBrWPyh9I
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:12:38 GMT
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/default
+ body:
+ string: ""
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAADryYtw1crwWV0OgxHL6QPTEzLFF-AtSAIchLn15vUKgTn-P_AJO26-sYhs-4ZO40XGaXkInxH-tWE1fvGEe6VZZg1Tj4zYOB-b3cPRyXyfJdG8wdOX6NDzhSKYjCRIqkij_aKWrirHpcc44z7mtqeVYWrSiaeP-D4K8YPvCYJObySoYdN_vjKala_eSXRltBFviTWR0Hyk0nckmzqGbFTNPtZQy6cfvKGkg0e-7_MhMWrudDI9PTPLWWQBrWPyh9I
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "0"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - Accept, X-GData-Authorization, GData-Version
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Wed, 16 May 2012 09:36:10 GMT
+ Etag:
+ - W/"Ck4DQX47eCp7I2A9WhVUEUs."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:12:38 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:12:38 GMT
+ Cache-Control:
+ - private, max-age=0, must-revalidate, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;Ck4DQX47eCp7I2A9WhVUEUs.&quot;'><id>tag:youtube.com,2008:user:WWmLvppy3j64IGmA2dpCyw</id><published>2010-07-06T14:59:05.000Z</published><updated>2012-05-16T09:36:10.000Z</updated><app:edited>2012-05-16T09:36:10.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#userProfile'/><title>tubeit20101</title><summary/><link rel='alternate' type='text/html' href='http://www.youtube.com/channel/UCWWmLvppy3j64IGmA2dpCyw'/><link rel='http://gdata.youtube.com/schemas/2007#insight.views' type='text/html' href='http://insight.youtube.com/video-analytics/csvreports?query=WWmLvppy3j64IGmA2dpCyw&amp;type=u&amp;starttime=1235865600000&amp;endtime=1337040000000&amp;user_starttime=1336435200000&amp;user_endtime=1337040000000&amp;region=world&amp;token=DiYm-Zg3sFUJstZ-WctRt9hLW_p8MTMzNzE3NTc1OEAxMzM3MTczOTU4&amp;hl=en_US'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/WWmLvppy3j64IGmA2dpCyw?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/WWmLvppy3j64IGmA2dpCyw?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:age>30</yt:age><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.watchhistory' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_history?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.liveevent' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/live/events?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.favorites' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.contacts' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/contacts?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.inbox' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/inbox?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.playlists' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.watchlater' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it' countHint='1'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.subscriptions' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/subscriptions?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/uploads?client=youtube_it' countHint='1'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.newsubscriptionvideos' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/newsubscriptionvideos?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.recentactivity' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/events?client=youtube_it'/><yt:gender>m</yt:gender><yt:location>AR</yt:location><yt:maxUploadDuration seconds='930'/><yt:statistics lastWebAccess='2012-05-16T12:33:06.000Z' subscriberCount='0' videoWatchCount='0' viewCount='56' totalUploadViews='44'/><media:thumbnail url='http://s.ytimg.com/yt/img/no_videos_140-vfl1fDI7-.png'/><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId><yt:username display='tubeit20101'>tubeit20101</yt:username></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:12:39 GMT
View
48 test/cassettes/get_embed_video_for_html5.yml
@@ -0,0 +1,48 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: get
+ uri: http://gdata.youtube.com/feeds/api/users/chebyte/uploads/FQK1URcxmb4?key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg&v=2
+ body:
+ string: ""
+ headers:
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ Vary:
+ - "*"
+ X-Frame-Options:
+ - SAMEORIGIN
+ Last-Modified:
+ - Thu, 27 Jan 2011 19:04:22 GMT
+ Etag:
+ - W/"D0cCQ347eCp7I2A9Wx9VEUg."
+ Transfer-Encoding:
+ - chunked
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=entry
+ Date:
+ - Wed, 16 May 2012 13:44:44 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:44 GMT
+ Cache-Control:
+ - private, max-age=300, no-transform
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D0cCQ347eCp7I2A9Wx9VEUg.&quot;'><id>tag:youtube.com,2008:video:FQK1URcxmb4</id><published>2009-11-24T13:33:36.000Z</published><updated>2011-01-27T19:04:22.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><category scheme='http://gdata.youtube.com/schemas/2007/categories.cat' term='People' label='People &amp; Blogs'/><category scheme='http://gdata.youtube.com/schemas/2007/keywords.cat' term='stringshub'/><title>Pachamama bendice al Proyecto Tuquito</title><content type='application/x-shockwave-flash' src='http://www.youtube.com/v/FQK1URcxmb4?version=3&amp;f=user_uploads&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata'/><link rel='alternate' type='text/html' href='http://www.youtube.com/watch?v=FQK1URcxmb4&amp;feature=youtube_gdata'/><link rel='http://gdata.youtube.com/schemas/2007#video.responses' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/FQK1URcxmb4/responses?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.ratings' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/FQK1URcxmb4/ratings?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.complaints' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/FQK1URcxmb4/complaints?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#video.related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/videos/FQK1URcxmb4/related?v=2'/><link rel='http://gdata.youtube.com/schemas/2007#mobile' type='text/html' href='http://m.youtube.com/details?v=FQK1URcxmb4'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/chebyte/uploads/FQK1URcxmb4?v=2'/><author><name>chebyte</name><uri>http://gdata.youtube.com/feeds/api/users/chebyte</uri><yt:userId>9m4qThg_zsMLscTUP9FeSQ</yt:userId></author><yt:accessControl action='comment' permission='allowed'/><yt:accessControl action='commentVote' permission='allowed'/><yt:accessControl action='videoRespond' permission='moderated'/><yt:accessControl action='rate' permission='allowed'/><yt:accessControl action='embed' permission='allowed'/><yt:accessControl action='list' permission='allowed'/><yt:accessControl action='autoPlay' permission='allowed'/><yt:accessControl action='syndicate' permission='allowed'/><gd:comments><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#comments' href='http://gdata.youtube.com/feeds/api/videos/FQK1URcxmb4/comments?v=2' countHint='0'/></gd:comments><media:group><media:category label='People &amp; Blogs' scheme='http://gdata.youtube.com/schemas/2007/categories.cat'>People</media:category><media:content url='http://www.youtube.com/v/FQK1URcxmb4?version=3&amp;f=user_uploads&amp;d=AS7Qxt7jHWCNTkXMPW-oJOUO88HsQjpE1a8d1GxQnGDm&amp;app=youtube_gdata' type='application/x-shockwave-flash' medium='video' isDefault='true' expression='full' duration='17' yt:format='5'/><media:content url='rtsp://v7.cache7.c.youtube.com/CksLENy73wIaQgm-mTEXUbUCFRMYDSANFEgGUgx1c2VyX3VwbG9hZHNyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='17' yt:format='1'/><media:content url='rtsp://v3.cache5.c.youtube.com/CksLENy73wIaQgm-mTEXUbUCFRMYESARFEgGUgx1c2VyX3VwbG9hZHNyIQEu0Mbe4x1gjU5FzD1vqCTlDvPB7EI6RNWvHdRsUJxg5gw=/0/0/0/video.3gp' type='video/3gpp' medium='video' expression='full' duration='17' yt:format='6'/><media:credit role='uploader' scheme='urn:youtube' yt:display='chebyte'>chebyte</media:credit><media:description type='plain'>La santa madre pachamana de amaicha del valle bendice a la gente de Tuquito para que siga trabajando con la misma fuerza de siempe</media:description><media:keywords>stringshub</media:keywords><media:license type='text/html' href='http://www.youtube.com/t/terms'>youtube</media:license><media:player url='http://www.youtube.com/watch?v=FQK1URcxmb4&amp;feature=youtube_gdata_player'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/default.jpg' height='90' width='120' time='00:00:08.500' yt:name='default'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/mqdefault.jpg' height='180' width='320' yt:name='mqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/hqdefault.jpg' height='360' width='480' yt:name='hqdefault'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/1.jpg' height='90' width='120' time='00:00:04.250' yt:name='start'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/2.jpg' height='90' width='120' time='00:00:08.500' yt:name='middle'/><media:thumbnail url='http://i.ytimg.com/vi/FQK1URcxmb4/3.jpg' height='90' width='120' time='00:00:12.750' yt:name='end'/><media:title type='plain'>Pachamama bendice al Proyecto Tuquito</media:title><yt:duration seconds='17'/><yt:uploaded>2009-11-24T13:33:36.000Z</yt:uploaded><yt:uploaderId>9m4qThg_zsMLscTUP9FeSQ</yt:uploaderId><yt:videoid>FQK1URcxmb4</yt:videoid></media:group><yt:statistics favoriteCount='0' viewCount='299'/></entry>
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:44 GMT
View
72 test/cassettes/get_favorite_videos_by_user.yml
72 additions, 0 deletions not shown
View
106 test/cassettes/get_most_viewed_videos.yml
106 additions, 0 deletions not shown
View
124 test/cassettes/get_multi_profiles.yml
@@ -0,0 +1,124 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:44:52 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "297"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:52 GMT
+ Cache-Control:
+ - private, max-age=0
+ body:
+ string: |
+ Auth=DQAAALcAAABDTjA06eWNqGKWqd4uCx7OJTt0MBjsKdmJ5MAVS8Pu-8ISX67BZf_2T20gD79L0IxHs1m1EJ6x6Xcc8_s1HPdYF-oNnd_tPptAO8f8cf9XwpGb_q8v2lOWlF28t1CE_Z7S6RTnEq6i17kqA2yxc_IgYEQ8TdWxatrIBJ7stTi12EP9P24TJ-VfG3q2KCUSGi8fLPCBUwHw3idnMeiP-QFdRkb83pWErvRvvB-lS_CcFSpiQfmpqd_LZzepNdNkOJk
+ YouTubeUser=tubeit20101
+
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:52 GMT
+- request:
+ method: post
+ uri: http://gdata.youtube.com/feeds/api/users/batch
+ body:
+ string: |-
+ <?xml version='1.0' encoding='UTF-8'?>
+ <feed xmlns:yt='http://gdata.youtube.com/schemas/2007' xmlns:media='http://search.yahoo.com/mrss/' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns='http://www.w3.org/2005/Atom'>
+ <batch:operation type='query'/>
+ <entry xmlns:batch='http://schemas.google.com/gdata/batch'>
+ <id>
+ /feeds/api/users/tubeit20101?v=2
+ </id>
+ <batch:id>
+ tubeit20101
+ </batch:id>
+ </entry>
+ <entry xmlns:batch='http://schemas.google.com/gdata/batch'>
+ <id>
+ /feeds/api/users/honda?v=2
+ </id>
+ <batch:id>
+ honda
+ </batch:id>
+ </entry>
+ <entry xmlns:batch='http://schemas.google.com/gdata/batch'>
+ <id>
+ /feeds/api/users/some_non-existing_username?v=2
+ </id>
+ <batch:id>
+ some_non-existing_username
+ </batch:id>
+ </entry>
+ </feed>
+ headers:
+ Authorization:
+ - GoogleLogin auth=DQAAALcAAABDTjA06eWNqGKWqd4uCx7OJTt0MBjsKdmJ5MAVS8Pu-8ISX67BZf_2T20gD79L0IxHs1m1EJ6x6Xcc8_s1HPdYF-oNnd_tPptAO8f8cf9XwpGb_q8v2lOWlF28t1CE_Z7S6RTnEq6i17kqA2yxc_IgYEQ8TdWxatrIBJ7stTi12EP9P24TJ-VfG3q2KCUSGi8fLPCBUwHw3idnMeiP-QFdRkb83pWErvRvvB-lS_CcFSpiQfmpqd_LZzepNdNkOJk
+ Content-Type:
+ - application/atom+xml; charset=UTF-8
+ Content-Length:
+ - "827"
+ X-Gdata-Client:
+ - youtube_it
+ X-Gdata-Key:
+ - key=AI39si411VBmO4Im9l0rfRsORXDI6F5AX5NlTIA4uHSWqa-Cgf-jUQG-6osUBB3PTLawLHlkKXPLr3B0pNcGU9wkNd11gIgdPg
+ Accept:
+ - "*/*"
+ Gdata-Version:
+ - "2"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - application/atom+xml; charset=UTF-8; type=feed
+ Date:
+ - Wed, 16 May 2012 13:44:53 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR
+ Content-Length:
+ - "7772"
+ Server:
+ - GSE
+ X-Content-Type-Options:
+ - nosniff
+ Expires:
+ - Wed, 16 May 2012 13:44:53 GMT
+ Cache-Control:
+ - private, max-age=0
+ Gdata-Version:
+ - "2.1"
+ body:
+ string: "<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom'><id>http://gdata.youtube.com/feeds/api/users/batch/1337175893381</id><updated>2012-05-16T13:44:53.622Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#userProfile'/><title>Batch Feed</title><entry xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:app='http://www.w3.org/2007/app' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;D0ACSX47eCp7I2A9WhVUEUo.&quot;'><id>tag:youtube.com,2008:user:WWmLvppy3j64IGmA2dpCyw</id><published>2010-07-06T14:59:05.000Z</published><updated>2012-05-16T13:42:48.000Z</updated><app:edited>2012-05-16T13:42:48.000Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#userProfile'/><title>tubeit20101</title><summary/><link rel='alternate' type='text/html' href='http://www.youtube.com/channel/UCWWmLvppy3j64IGmA2dpCyw'/><link rel='http://gdata.youtube.com/schemas/2007#insight.views' type='text/html' href='http://insight.youtube.com/video-analytics/csvreports?query=WWmLvppy3j64IGmA2dpCyw&amp;type=u&amp;starttime=1235865600000&amp;endtime=1337040000000&amp;user_starttime=1336435200000&amp;user_endtime=1337040000000&amp;region=world&amp;token=QHwS63-6V6OVYwE4-zsFVkn2Hkx8MTMzNzE3NzY5M0AxMzM3MTc1ODkz&amp;hl=en_US'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/WWmLvppy3j64IGmA2dpCyw?client=youtube_it'/><link rel='edit' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/WWmLvppy3j64IGmA2dpCyw?client=youtube_it'/><author><name>tubeit20101</name><uri>http://gdata.youtube.com/feeds/api/users/tubeit20101</uri><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId></author><yt:age>30</yt:age><batch:id>tubeit20101</batch:id><batch:operation type='query'/><batch:status code='200' reason='Success'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.watchhistory' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_history?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.liveevent' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/live/events?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.favorites' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/favorites?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.contacts' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/contacts?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.inbox' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/inbox?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.playlists' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/playlists?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.watchlater' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/watch_later?client=youtube_it' countHint='1'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.subscriptions' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/subscriptions?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/uploads?client=youtube_it' countHint='1'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.newsubscriptionvideos' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/newsubscriptionvideos?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.recentactivity' href='http://gdata.youtube.com/feeds/api/users/tubeit20101/events?client=youtube_it'/><yt:gender>m</yt:gender><yt:location>AR</yt:location><yt:maxUploadDuration seconds='930'/><yt:statistics lastWebAccess='2012-05-16T13:42:28.000Z' subscriberCount='0' videoWatchCount='0' viewCount='56' totalUploadViews='44'/><media:thumbnail url='http://s.ytimg.com/yt/img/no_videos_140-vfl1fDI7-.png'/><yt:userId>WWmLvppy3j64IGmA2dpCyw</yt:userId><yt:username display='tubeit20101'>tubeit20101</yt:username></entry><entry xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:media='http://search.yahoo.com/mrss/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007' gd:etag='W/&quot;DkEDQH47eCp7I2A9WhVUEUk.&quot;'><id>tag:youtube.com,2008:user:22zQ9nBEk6KOjUWqR5XXZg</id><published>2005-10-11T00:42:58.000Z</published><updated>2012-05-16T05:04:31.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#userProfile'/><title>The Honda Channel</title><summary>Honda on YouTube</summary><link rel='alternate' type='text/html' href='http://www.youtube.com/channel/UC22zQ9nBEk6KOjUWqR5XXZg'/><link rel='related' type='text/html' href='http://www.honda.com'/><link rel='self' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/22zQ9nBEk6KOjUWqR5XXZg?client=youtube_it'/><author><name>Honda</name><uri>http://gdata.youtube.com/feeds/api/users/Honda</uri><yt:userId>22zQ9nBEk6KOjUWqR5XXZg</yt:userId></author><batch:id>honda</batch:id><batch:operation type='query'/><batch:status code='200' reason='Success'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.liveevent' href='http://gdata.youtube.com/feeds/api/users/honda/live/events?client=youtube_it' countHint='0'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.favorites' href='http://gdata.youtube.com/feeds/api/users/honda/favorites?client=youtube_it' countHint='57'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.contacts' href='http://gdata.youtube.com/feeds/api/users/honda/contacts?client=youtube_it' countHint='3'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.inbox' href='http://gdata.youtube.com/feeds/api/users/honda/inbox?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.playlists' href='http://gdata.youtube.com/feeds/api/users/honda/playlists?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.subscriptions' href='http://gdata.youtube.com/feeds/api/users/honda/subscriptions?client=youtube_it' countHint='17'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.uploads' href='http://gdata.youtube.com/feeds/api/users/honda/uploads?client=youtube_it' countHint='340'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.newsubscriptionvideos' href='http://gdata.youtube.com/feeds/api/users/honda/newsubscriptionvideos?client=youtube_it'/><gd:feedLink rel='http://gdata.youtube.com/schemas/2007#user.recentactivity' href='http://gdata.youtube.com/feeds/api/users/honda/events?client=youtube_it'/><yt:firstName>American Honda Motor Co., Inc.</yt:firstName><yt:location>Torrance, US</yt:location><yt:maxUploadDuration seconds='43200'/><yt:statistics lastWebAccess='2012-03-29T21:37:22.000Z' subscriberCount='57278' videoWatchCount='0' viewCount='6236832' totalUploadViews='38590811'/><media:thumbnail url='http://i3.ytimg.com/i/22zQ9nBEk6KOjUWqR5XXZg/1.jpg?v=4f26a301'/><yt:userId>22zQ9nBEk6KOjUWqR5XXZg</yt:userId><yt:username display='Honda'>honda</yt:username></entry><entry xmlns:batch='http://schemas.google.com/gdata/batch'><id>/feeds/api/users/some_non-existing_username?v=2</id><updated>2012-05-16T13:44:53.787Z</updated><title>Error</title><content>Invalid value for parameter: username</content><batch:id>some_non-existing_username</batch:id><batch:status code='400' reason='Invalid value for parameter: username'/></entry></feed>"
+ http_version:
+ recorded_at: Wed, 16 May 2012 13:44:53 GMT
View
10,449 test/cassettes/get_my_videos.yml
10,449 additions, 0 deletions not shown
View
102 test/cassettes/get_profile.yml
@@ -0,0 +1,102 @@
+---
+recorded_with: VCR 2.1.1
+http_interactions:
+- request:
+ method: post
+ uri: https://www.google.com/youtube/accounts/ClientLogin
+ body:
+ string: Email=tubeit20101&Passwd=youtube_it&service=youtube&source=youtube_it
+ headers:
+ Content-Type:
+ - application/x-www-form-urlencoded
+ Accept:
+ - "*/*"
+ response:
+ status:
+ code: 200
+ message: OK
+ headers:
+ X-Frame-Options:
+ - SAMEORIGIN
+ Content-Type:
+ - text/plain
+ Date:
+ - Wed, 16 May 2012 13:44:55 GMT
+ X-Xss-Protection:
+ - 1; mode=block
+ X-Gdata-User-Country:
+ - FR