purdie 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -13
  3. data/Rakefile +6 -2
  4. data/features/comments.feature +2 -13
  5. data/features/duff-credentials.feature +2 -3
  6. data/features/flickr-album.feature +5 -0
  7. data/features/flickr-different-size.feature +1 -0
  8. data/features/flickr-with-lookups.feature +1 -0
  9. data/features/rfm.feature +5 -0
  10. data/features/select-file.feature +26 -24
  11. data/features/soundcloud-set.feature +2 -2
  12. data/features/support/fixtures/vcr.nope/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml +125 -0
  13. data/features/support/fixtures/vcr.nope/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml +536 -0
  14. data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML.yml +131 -0
  15. data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML_with_lookups.yml +129 -0
  16. data/features/support/fixtures/vcr.nope/Flickr_album/Generate_Flickr_YAML_for_an_album.yml +2280 -0
  17. data/features/support/fixtures/vcr.nope/Handle_comments/Handle_comments_in_a_source_file.yml +131 -0
  18. data/features/support/fixtures/vcr.nope/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml +156 -0
  19. data/features/support/fixtures/{vcr → vcr.nope}/Purdie/Generate_several_YAML.yml +0 -0
  20. data/features/support/fixtures/vcr.nope/Select_a_file_to_process/Choose_file_to_process.yml +220 -0
  21. data/features/support/fixtures/vcr.nope/Set_Flickr_picturesize/Generate_Flickr_YAML.yml +131 -0
  22. data/features/support/fixtures/{vcr/Select_a_file_to_process/Choose_file_to_process.yml → vcr.nope/Soundcloud/Generate_SoundCloud_YAML.yml} +4 -4
  23. data/features/support/fixtures/vcr.nope/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml +181 -0
  24. data/features/support/fixtures/vcr.nope/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml +461 -0
  25. data/features/support/fixtures/vcr.nope/Vimeo/Generate_Vimeo_YAML.yml +53 -0
  26. data/features/support/fixtures/vcr.nope/Vimeo_albums/Generate_YAML_for_a_Vimeo_album.yml +210 -0
  27. data/features/support/fixtures/vcr.nope/YouTube/Generate_YouTube_YAML.yml +970 -0
  28. data/features/support/fixtures/vcr.nope/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml +9688 -0
  29. data/features/support/fixtures/vcr/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml +23 -17
  30. data/features/support/fixtures/vcr/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml +134 -57
  31. data/features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML.yml +24 -18
  32. data/features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML_with_lookups.yml +25 -19
  33. data/features/support/fixtures/vcr/Flickr_album/Generate_Flickr_YAML_for_an_album.yml +1438 -193
  34. data/features/support/fixtures/vcr/Handle_comments/Handle_comments_in_a_source_file.yml +23 -100
  35. data/features/support/fixtures/vcr/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml +15 -15
  36. data/features/support/fixtures/vcr/Set_Flickr_picturesize/Generate_Flickr_YAML.yml +24 -18
  37. data/features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML.yml +9 -8
  38. data/features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml +14 -14
  39. data/features/support/fixtures/vcr/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml +41 -40
  40. data/features/support/fixtures/vcr/Vimeo/Generate_Vimeo_YAML.yml +8 -8
  41. data/features/support/fixtures/vcr/Vimeo_albums/Generate_YAML_for_a_Vimeo_album.yml +38 -38
  42. data/features/support/fixtures/vcr/YouTube/Generate_YouTube_YAML.yml +873 -873
  43. data/features/support/fixtures/vcr/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml +9108 -1923
  44. data/features/support/hooks.rb +8 -0
  45. data/features/youtube-playlist.feature +0 -2
  46. data/lib/purdie.rb +2 -8
  47. data/lib/purdie/bernard.rb +7 -60
  48. data/lib/purdie/cli.rb +1 -1
  49. data/lib/purdie/config.rb +17 -8
  50. data/lib/purdie/helpers.rb +8 -0
  51. data/lib/purdie/ingester.rb +16 -16
  52. data/lib/purdie/item.rb +36 -0
  53. data/lib/purdie/resolver.rb +15 -0
  54. data/lib/purdie/services/soundcloud.rb +1 -1
  55. data/lib/purdie/source_list.rb +54 -16
  56. data/lib/purdie/version.rb +1 -1
  57. data/purdie.gemspec +19 -19
  58. data/spec/bernard_spec.rb +30 -0
  59. data/spec/config_spec.rb +4 -4
  60. data/spec/item_spec.rb +46 -0
  61. data/spec/resolver_spec.rb +40 -0
  62. data/spec/services/youtube_spec.rb +1 -1
  63. data/spec/source_list_spec.rb +59 -34
  64. data/spec/spec_helper.rb +1 -1
  65. data/spec/support/fixtures/output-generator +2 -0
  66. data/spec/support/fixtures/youtube.tubes +1 -0
  67. data/spec/vcr/Purdie_Bernard/deals_with_YouTube.yml +9686 -0
  68. data/spec/vcr/Purdie_Bernard/processes_files.yml +570 -0
  69. data/spec/vcr/Purdie_Item/populates_itself.yml +182 -0
  70. data/spec/vcr/Purdie_Resolver/resolves_a_Flickr_set.yml +772 -0
  71. data/spec/vcr/Purdie_Resolver/resolves_a_SoundCloud_set.yml +103 -0
  72. data/spec/vcr/Purdie_Resolver/resolves_a_YouTube_playlist.yml +970 -0
  73. data/spec/vcr/Purdie_SourceList/constructs_a_list_from_a_set_URL.yml +772 -0
  74. data/spec/vcr/Purdie_SourceList/make_output/actually_makes_output.yml +526 -0
  75. data/spec/vcr/Purdie_SourceList/process_its_items/processes_items.yml +210 -0
  76. data/spec/vcr/Purdie_SourceList/resolve_sets/constructs_a_list_from_a_set_URL.yml +95 -77
  77. metadata +78 -22
  78. data/features/flickr-alternative-outfile.feature +0 -29
  79. data/features/purdie.feature +0 -48
@@ -0,0 +1,131 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.flickr.com/services/rest/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: photo_id=15631479625&method=flickr.photos.getInfo&format=json&nojsoncallback=1
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - FlickRaw/0.9.8
16
+ Authorization:
17
+ - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
18
+ oauth_nonce="x48XjSCfoX12YDZxFa2PtJzV6T0rSmxb0OIRo3sceMo%3D", oauth_signature="<FLICKR_SECRET>%26",
19
+ oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832366", oauth_token="",
20
+ oauth_version="1.0"
21
+ Content-Type:
22
+ - application/x-www-form-urlencoded
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ Date:
29
+ - Tue, 31 Mar 2015 20:06:06 GMT
30
+ Content-Type:
31
+ - application/json
32
+ Content-Length:
33
+ - '665'
34
+ P3p:
35
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
36
+ TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
37
+ ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
38
+ Cache-Control:
39
+ - private
40
+ X-Served-By:
41
+ - www297.flickr.bf1.yahoo.com
42
+ Vary:
43
+ - Accept-Encoding
44
+ Age:
45
+ - '0'
46
+ Via:
47
+ - http/1.1 fts115.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
48
+ http/1.1 r09.ycpi.ir2.yahoo.net (ApacheTrafficServer [cMsSf ])
49
+ Server:
50
+ - ATS
51
+ Strict-Transport-Security:
52
+ - max-age=259200
53
+ Connection:
54
+ - keep-alive
55
+ body:
56
+ encoding: ASCII-8BIT
57
+ string: '{"photo":{"id":"15631479625","secret":"b6168ee903","server":"3933","farm":4,"dateuploaded":"1414326010","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"3191340cdb","originalformat":"jpg","owner":{"nsid":"128943844@N06","username":"rawfunkmaharishi","realname":"Raw
58
+ Funk Maharishi","location":"","iconserver":"3933","iconfarm":4,"path_alias":"rawfunkmaharishi"},"title":{"_content":"The
59
+ Comedy, October 2014"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1414326010","taken":"2014-10-22
60
+ 15:54:24","takengranularity":"0","takenunknown":"0","lastupdate":"1416111853"},"views":"96","editability":{"cancomment":0,"canaddmeta":0},"publiceditability":{"cancomment":1,"canaddmeta":0},"usage":{"candownload":1,"canblog":0,"canprint":0,"canshare":1},"comments":{"_content":"0"},"notes":{"note":[]},"people":{"haspeople":0},"tags":{"tag":[{"id":"128898522-15631479625-1422028","author":"128943844@N06","authorname":"rawfunkmaharishi","raw":"the
61
+ comedy","_content":"thecomedy","machine_tag":0},{"id":"128898522-15631479625-17975","author":"128943844@N06","authorname":"rawfunkmaharishi","raw":"gigs","_content":"gigs","machine_tag":0},{"id":"128898522-15631479625-228989594","author":"128943844@N06","authorname":"rawfunkmaharishi","raw":"photographer:kim","_content":"photographerkim","machine_tag":0}]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/rawfunkmaharishi\/15631479625\/"}]},"media":"photo"},"stat":"ok"}'
62
+ http_version:
63
+ recorded_at: Tue, 31 Mar 2015 20:06:06 GMT
64
+ - request:
65
+ method: post
66
+ uri: https://api.flickr.com/services/rest/
67
+ body:
68
+ encoding: US-ASCII
69
+ string: method=flickr.photos.licenses.getInfo&format=json&nojsoncallback=1
70
+ headers:
71
+ Accept-Encoding:
72
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
73
+ Accept:
74
+ - "*/*"
75
+ User-Agent:
76
+ - FlickRaw/0.9.8
77
+ Authorization:
78
+ - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
79
+ oauth_nonce="AtOBYRpVUIrtgkDW1IwOHWJYDLhrjAiPbDXhXM5otMM%3D", oauth_signature="<FLICKR_SECRET>%26",
80
+ oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832366", oauth_token="",
81
+ oauth_version="1.0"
82
+ Content-Type:
83
+ - application/x-www-form-urlencoded
84
+ response:
85
+ status:
86
+ code: 200
87
+ message: OK
88
+ headers:
89
+ Date:
90
+ - Tue, 31 Mar 2015 20:06:07 GMT
91
+ Content-Type:
92
+ - application/json
93
+ Content-Length:
94
+ - '371'
95
+ P3p:
96
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
97
+ TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
98
+ ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
99
+ Cache-Control:
100
+ - private
101
+ X-Served-By:
102
+ - www337.flickr.bf1.yahoo.com
103
+ Vary:
104
+ - Accept-Encoding
105
+ Age:
106
+ - '2'
107
+ Via:
108
+ - http/1.1 fts118.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
109
+ http/1.1 r11.ycpi.ams.yahoo.net (ApacheTrafficServer [cMsSf ])
110
+ Server:
111
+ - ATS
112
+ Strict-Transport-Security:
113
+ - max-age=259200
114
+ Connection:
115
+ - keep-alive
116
+ body:
117
+ encoding: ASCII-8BIT
118
+ string: '{"licenses":{"license":[{"id":"0","name":"All Rights Reserved","url":""},{"id":"4","name":"Attribution
119
+ License","url":"https:\/\/creativecommons.org\/licenses\/by\/2.0\/"},{"id":"6","name":"Attribution-NoDerivs
120
+ License","url":"https:\/\/creativecommons.org\/licenses\/by-nd\/2.0\/"},{"id":"3","name":"Attribution-NonCommercial-NoDerivs
121
+ License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/2.0\/"},{"id":"2","name":"Attribution-NonCommercial
122
+ License","url":"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/"},{"id":"1","name":"Attribution-NonCommercial-ShareAlike
123
+ License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/2.0\/"},{"id":"5","name":"Attribution-ShareAlike
124
+ License","url":"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/"},{"id":"7","name":"No
125
+ known copyright restrictions","url":"https:\/\/www.flickr.com\/commons\/usage\/"},{"id":"8","name":"United
126
+ States Government Work","url":"http:\/\/www.usa.gov\/copyright.shtml"},{"id":"9","name":"Public
127
+ Domain Dedication (CC0)","url":"https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/"},{"id":"10","name":"Public
128
+ Domain Mark","url":"https:\/\/creativecommons.org\/publicdomain\/mark\/1.0\/"}]},"stat":"ok"}'
129
+ http_version:
130
+ recorded_at: Tue, 31 Mar 2015 20:06:07 GMT
131
+ recorded_with: VCR 2.9.3
@@ -27,7 +27,7 @@ http_interactions:
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Wed, 11 Mar 2015 17:13:21 GMT
30
+ - Wed, 11 Mar 2015 17:13:22 GMT
31
31
  Location:
32
32
  - https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
33
33
  Server:
@@ -38,7 +38,7 @@ http_interactions:
38
38
  encoding: UTF-8
39
39
  string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
40
40
  http_version:
41
- recorded_at: Wed, 11 Mar 2015 17:13:20 GMT
41
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
42
42
  - request:
43
43
  method: get
44
44
  uri: https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
@@ -68,7 +68,7 @@ http_interactions:
68
68
  Content-Type:
69
69
  - application/json; charset=utf-8
70
70
  Date:
71
- - Wed, 11 Mar 2015 17:13:21 GMT
71
+ - Wed, 11 Mar 2015 17:13:22 GMT
72
72
  Etag:
73
73
  - '"f53037e9d5ac7875cf1290e71218b857"'
74
74
  Last-Modified:
@@ -88,5 +88,5 @@ http_interactions:
88
88
  Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193008299","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
89
89
  Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/hexaflexagon-1","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/CxyZz6RUbqZN_m.png","stream_url":"https://api.soundcloud.com/tracks/193008299/stream","download_url":"https://api.soundcloud.com/tracks/193008299/download","playback_count":45,"download_count":3,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193008299/attachments","policy":"ALLOW"}'
90
90
  http_version:
91
- recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
91
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
92
92
  recorded_with: VCR 2.9.3
@@ -0,0 +1,181 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/hexaflexagon-1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - SoundCloud Ruby Wrapper 0.13.3
12
+ response:
13
+ status:
14
+ code: 302
15
+ message: Found
16
+ headers:
17
+ Access-Control-Allow-Headers:
18
+ - Accept, Authorization, Content-Type, Origin
19
+ Access-Control-Allow-Methods:
20
+ - GET, PUT, POST, DELETE
21
+ Access-Control-Allow-Origin:
22
+ - "*"
23
+ Access-Control-Expose-Headers:
24
+ - Date
25
+ Cache-Control:
26
+ - no-cache
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Date:
30
+ - Wed, 11 Mar 2015 17:13:22 GMT
31
+ Location:
32
+ - https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
33
+ Server:
34
+ - am/2
35
+ Content-Length:
36
+ - '129'
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
40
+ http_version:
41
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - SoundCloud Ruby Wrapper 0.13.3
51
+ response:
52
+ status:
53
+ code: 200
54
+ message: OK
55
+ headers:
56
+ Accept-Ranges:
57
+ - bytes
58
+ Access-Control-Allow-Headers:
59
+ - Accept, Authorization, Content-Type, Origin
60
+ Access-Control-Allow-Methods:
61
+ - GET, PUT, POST, DELETE
62
+ Access-Control-Allow-Origin:
63
+ - "*"
64
+ Access-Control-Expose-Headers:
65
+ - Date
66
+ Cache-Control:
67
+ - max-age=600, public
68
+ Content-Type:
69
+ - application/json; charset=utf-8
70
+ Date:
71
+ - Wed, 11 Mar 2015 17:13:22 GMT
72
+ Etag:
73
+ - '"f53037e9d5ac7875cf1290e71218b857"'
74
+ Last-Modified:
75
+ - Wed, 11 Mar 2015 17:13:05 GMT
76
+ Server:
77
+ - ECS (lhr/4BCD)
78
+ Vary:
79
+ - Accept-Encoding
80
+ X-Cache:
81
+ - HIT
82
+ Content-Length:
83
+ - '1555'
84
+ body:
85
+ encoding: UTF-8
86
+ string: '{"kind":"track","id":193008299,"created_at":"2015/02/25 19:24:51 +0000","user_id":56479293,"duration":209626,"commentable":true,"state":"finished","original_content_size":8436471,"last_modified":"2015/02/27
87
+ 17:08:45 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"hexaflexagon-1","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"funk","title":"Hexaflexagon","description":"Islington
88
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193008299","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
89
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/hexaflexagon-1","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/CxyZz6RUbqZN_m.png","stream_url":"https://api.soundcloud.com/tracks/193008299/stream","download_url":"https://api.soundcloud.com/tracks/193008299/download","playback_count":45,"download_count":3,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193008299/attachments","policy":"ALLOW"}'
90
+ http_version:
91
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
92
+ - request:
93
+ method: get
94
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/junalbandi-3
95
+ body:
96
+ encoding: US-ASCII
97
+ string: ''
98
+ headers:
99
+ User-Agent:
100
+ - SoundCloud Ruby Wrapper 0.13.3
101
+ response:
102
+ status:
103
+ code: 302
104
+ message: Found
105
+ headers:
106
+ Access-Control-Allow-Headers:
107
+ - Accept, Authorization, Content-Type, Origin
108
+ Access-Control-Allow-Methods:
109
+ - GET, PUT, POST, DELETE
110
+ Access-Control-Allow-Origin:
111
+ - "*"
112
+ Access-Control-Expose-Headers:
113
+ - Date
114
+ Cache-Control:
115
+ - no-cache
116
+ Content-Type:
117
+ - application/json; charset=utf-8
118
+ Date:
119
+ - Wed, 11 Mar 2015 17:13:22 GMT
120
+ Location:
121
+ - https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
122
+ Server:
123
+ - am/2
124
+ Content-Length:
125
+ - '129'
126
+ body:
127
+ encoding: UTF-8
128
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
129
+ http_version:
130
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
131
+ - request:
132
+ method: get
133
+ uri: https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
134
+ body:
135
+ encoding: US-ASCII
136
+ string: ''
137
+ headers:
138
+ User-Agent:
139
+ - SoundCloud Ruby Wrapper 0.13.3
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: OK
144
+ headers:
145
+ Accept-Ranges:
146
+ - bytes
147
+ Access-Control-Allow-Headers:
148
+ - Accept, Authorization, Content-Type, Origin
149
+ Access-Control-Allow-Methods:
150
+ - GET, PUT, POST, DELETE
151
+ Access-Control-Allow-Origin:
152
+ - "*"
153
+ Access-Control-Expose-Headers:
154
+ - Date
155
+ Cache-Control:
156
+ - max-age=600, public
157
+ Content-Type:
158
+ - application/json; charset=utf-8
159
+ Date:
160
+ - Wed, 11 Mar 2015 17:13:22 GMT
161
+ Etag:
162
+ - '"37ac2a1715c2c5200d613b556ce71f1c"'
163
+ Last-Modified:
164
+ - Tue, 10 Mar 2015 19:23:52 GMT
165
+ Server:
166
+ - ECS (lhr/4BD4)
167
+ Vary:
168
+ - Accept-Encoding
169
+ X-Cache:
170
+ - HIT
171
+ Content-Length:
172
+ - '1549'
173
+ body:
174
+ encoding: UTF-8
175
+ string: '{"kind":"track","id":193005357,"created_at":"2015/02/25 19:05:57 +0000","user_id":56479293,"duration":197111,"commentable":true,"state":"finished","original_content_size":7935965,"last_modified":"2015/02/28
176
+ 21:17:11 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"junalbandi-3","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Junalbandi","description":"Islington
177
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193005357","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
178
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/junalbandi-3","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/nbBOD5P8zpUy_m.png","stream_url":"https://api.soundcloud.com/tracks/193005357/stream","download_url":"https://api.soundcloud.com/tracks/193005357/download","playback_count":31,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193005357/attachments","policy":"ALLOW"}'
179
+ http_version:
180
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
181
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,461 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/sets/islington-academy-sessions
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - SoundCloud Ruby Wrapper 0.13.3
12
+ response:
13
+ status:
14
+ code: 302
15
+ message: Found
16
+ headers:
17
+ Access-Control-Allow-Headers:
18
+ - Accept, Authorization, Content-Type, Origin
19
+ Access-Control-Allow-Methods:
20
+ - GET, PUT, POST, DELETE
21
+ Access-Control-Allow-Origin:
22
+ - "*"
23
+ Access-Control-Expose-Headers:
24
+ - Date
25
+ Cache-Control:
26
+ - no-cache
27
+ Content-Type:
28
+ - application/json; charset=utf-8
29
+ Date:
30
+ - Wed, 11 Mar 2015 17:13:21 GMT
31
+ Location:
32
+ - https://api.soundcloud.com/playlists/88097435.json?client_id=<SOUNDCLOUD_CLIENT_ID>
33
+ Server:
34
+ - am/2
35
+ Content-Length:
36
+ - '131'
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/playlists/88097435.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
40
+ http_version:
41
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
42
+ - request:
43
+ method: get
44
+ uri: https://api.soundcloud.com/playlists/88097435.json?client_id=<SOUNDCLOUD_CLIENT_ID>
45
+ body:
46
+ encoding: US-ASCII
47
+ string: ''
48
+ headers:
49
+ User-Agent:
50
+ - SoundCloud Ruby Wrapper 0.13.3
51
+ response:
52
+ status:
53
+ code: 200
54
+ message: OK
55
+ headers:
56
+ Access-Control-Allow-Headers:
57
+ - Accept, Authorization, Content-Type, Origin
58
+ Access-Control-Allow-Methods:
59
+ - GET, PUT, POST, DELETE
60
+ Access-Control-Allow-Origin:
61
+ - "*"
62
+ Access-Control-Expose-Headers:
63
+ - Date
64
+ Cache-Control:
65
+ - private, max-age=0, must-revalidate
66
+ Content-Type:
67
+ - application/json; charset=utf-8
68
+ Date:
69
+ - Wed, 11 Mar 2015 17:13:21 GMT
70
+ Etag:
71
+ - '"f82ccf5d9c458161099ece123c45d312"'
72
+ Server:
73
+ - am/2
74
+ Content-Length:
75
+ - '7543'
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"duration":770628,"release_day":null,"permalink_url":"http://soundcloud.com/rawfunkmaharishi/sets/islington-academy-sessions","genre":"","permalink":"islington-academy-sessions","purchase_url":null,"release_month":null,"description":"","uri":"https://api.soundcloud.com/playlists/88097435","label_name":"","tag_list":"","release_year":null,"track_count":4,"user_id":56479293,"last_modified":"2015/03/10
79
+ 16:35:06 +0000","license":"all-rights-reserved","tracks":[{"kind":"track","id":193008299,"created_at":"2015/02/25
80
+ 19:24:51 +0000","user_id":56479293,"duration":209626,"commentable":true,"state":"finished","original_content_size":8436471,"last_modified":"2015/02/27
81
+ 17:08:45 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"hexaflexagon-1","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"funk","title":"Hexaflexagon","description":"Islington
82
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193008299","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
83
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/hexaflexagon-1","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/CxyZz6RUbqZN_m.png","stream_url":"https://api.soundcloud.com/tracks/193008299/stream","download_url":"https://api.soundcloud.com/tracks/193008299/download","playback_count":45,"download_count":3,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193008299/attachments","policy":"ALLOW"},{"kind":"track","id":193006525,"created_at":"2015/02/25
84
+ 19:13:37 +0000","user_id":56479293,"duration":190031,"commentable":true,"state":"finished","original_content_size":7652798,"last_modified":"2015/03/03
85
+ 20:07:21 +0000","sharing":"public","tag_list":"afrobeat \"islington academy
86
+ sessions\"","permalink":"beer-of-course-but-why","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Beer,
87
+ Of Course, But Why","description":"Islington Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193006525","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
88
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/beer-of-course-but-why","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/qBjvlEuOtgIA_m.png","stream_url":"https://api.soundcloud.com/tracks/193006525/stream","download_url":"https://api.soundcloud.com/tracks/193006525/download","playback_count":39,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193006525/attachments","policy":"ALLOW"},{"kind":"track","id":193005357,"created_at":"2015/02/25
89
+ 19:05:57 +0000","user_id":56479293,"duration":197111,"commentable":true,"state":"finished","original_content_size":7935965,"last_modified":"2015/02/28
90
+ 21:17:11 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"junalbandi-3","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Junalbandi","description":"Islington
91
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193005357","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
92
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/junalbandi-3","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/nbBOD5P8zpUy_m.png","stream_url":"https://api.soundcloud.com/tracks/193005357/stream","download_url":"https://api.soundcloud.com/tracks/193005357/download","playback_count":31,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193005357/attachments","policy":"ALLOW"},{"kind":"track","id":192841052,"created_at":"2015/02/24
93
+ 20:44:18 +0000","user_id":56479293,"duration":173860,"commentable":true,"state":"finished","original_content_size":7006006,"last_modified":"2015/03/03
94
+ 20:31:37 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"bernard","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Bernard","description":"Islington
95
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/192841052","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
96
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/bernard","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/BAgEnzWuGhV7_m.png","stream_url":"https://api.soundcloud.com/tracks/192841052/stream","download_url":"https://api.soundcloud.com/tracks/192841052/download","playback_count":54,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/192841052/attachments","policy":"ALLOW"}],"playlist_type":"","id":88097435,"downloadable":true,"sharing":"public","created_at":"2015/03/10
97
+ 16:34:15 +0000","release":"","kind":"playlist","title":"Islington Academy
98
+ Sessions","type":"","purchase_title":null,"created_with":{"permalink_url":"http://soundcloud.com/apps/v2-on-https-soundcloud-com","name":"SoundCloud.com","external_url":"","uri":"https://api.soundcloud.com/apps/46941","creator":"spadgos","id":46941,"kind":"app"},"artwork_url":null,"ean":"","streamable":true,"user":{"permalink_url":"http://soundcloud.com/rawfunkmaharishi","permalink":"rawfunkmaharishi","username":"Raw
99
+ Funk Maharishi","uri":"https://api.soundcloud.com/users/56479293","last_modified":"2015/02/27
100
+ 15:07:28 +0000","id":56479293,"kind":"user","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"embeddable_by":"all","label_id":null}'
101
+ http_version:
102
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
103
+ - request:
104
+ method: get
105
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=http://soundcloud.com/rawfunkmaharishi/hexaflexagon-1
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ''
109
+ headers:
110
+ User-Agent:
111
+ - SoundCloud Ruby Wrapper 0.13.3
112
+ response:
113
+ status:
114
+ code: 302
115
+ message: Found
116
+ headers:
117
+ Access-Control-Allow-Headers:
118
+ - Accept, Authorization, Content-Type, Origin
119
+ Access-Control-Allow-Methods:
120
+ - GET, PUT, POST, DELETE
121
+ Access-Control-Allow-Origin:
122
+ - "*"
123
+ Access-Control-Expose-Headers:
124
+ - Date
125
+ Cache-Control:
126
+ - no-cache
127
+ Content-Type:
128
+ - application/json; charset=utf-8
129
+ Date:
130
+ - Wed, 11 Mar 2015 17:13:21 GMT
131
+ Location:
132
+ - https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
133
+ Server:
134
+ - am/2
135
+ Content-Length:
136
+ - '129'
137
+ body:
138
+ encoding: UTF-8
139
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
140
+ http_version:
141
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
142
+ - request:
143
+ method: get
144
+ uri: https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
145
+ body:
146
+ encoding: US-ASCII
147
+ string: ''
148
+ headers:
149
+ User-Agent:
150
+ - SoundCloud Ruby Wrapper 0.13.3
151
+ response:
152
+ status:
153
+ code: 200
154
+ message: OK
155
+ headers:
156
+ Accept-Ranges:
157
+ - bytes
158
+ Access-Control-Allow-Headers:
159
+ - Accept, Authorization, Content-Type, Origin
160
+ Access-Control-Allow-Methods:
161
+ - GET, PUT, POST, DELETE
162
+ Access-Control-Allow-Origin:
163
+ - "*"
164
+ Access-Control-Expose-Headers:
165
+ - Date
166
+ Cache-Control:
167
+ - max-age=600, public
168
+ Content-Type:
169
+ - application/json; charset=utf-8
170
+ Date:
171
+ - Wed, 11 Mar 2015 17:13:21 GMT
172
+ Etag:
173
+ - '"f53037e9d5ac7875cf1290e71218b857"'
174
+ Last-Modified:
175
+ - Wed, 11 Mar 2015 17:13:05 GMT
176
+ Server:
177
+ - ECS (lhr/4BCD)
178
+ Vary:
179
+ - Accept-Encoding
180
+ X-Cache:
181
+ - HIT
182
+ Content-Length:
183
+ - '1555'
184
+ body:
185
+ encoding: UTF-8
186
+ string: '{"kind":"track","id":193008299,"created_at":"2015/02/25 19:24:51 +0000","user_id":56479293,"duration":209626,"commentable":true,"state":"finished","original_content_size":8436471,"last_modified":"2015/02/27
187
+ 17:08:45 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"hexaflexagon-1","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"funk","title":"Hexaflexagon","description":"Islington
188
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193008299","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
189
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/hexaflexagon-1","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/CxyZz6RUbqZN_m.png","stream_url":"https://api.soundcloud.com/tracks/193008299/stream","download_url":"https://api.soundcloud.com/tracks/193008299/download","playback_count":45,"download_count":3,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193008299/attachments","policy":"ALLOW"}'
190
+ http_version:
191
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
192
+ - request:
193
+ method: get
194
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=http://soundcloud.com/rawfunkmaharishi/beer-of-course-but-why
195
+ body:
196
+ encoding: US-ASCII
197
+ string: ''
198
+ headers:
199
+ User-Agent:
200
+ - SoundCloud Ruby Wrapper 0.13.3
201
+ response:
202
+ status:
203
+ code: 302
204
+ message: Found
205
+ headers:
206
+ Access-Control-Allow-Headers:
207
+ - Accept, Authorization, Content-Type, Origin
208
+ Access-Control-Allow-Methods:
209
+ - GET, PUT, POST, DELETE
210
+ Access-Control-Allow-Origin:
211
+ - "*"
212
+ Access-Control-Expose-Headers:
213
+ - Date
214
+ Cache-Control:
215
+ - no-cache
216
+ Content-Type:
217
+ - application/json; charset=utf-8
218
+ Date:
219
+ - Wed, 11 Mar 2015 17:13:21 GMT
220
+ Location:
221
+ - https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>
222
+ Server:
223
+ - am/2
224
+ Content-Length:
225
+ - '129'
226
+ body:
227
+ encoding: UTF-8
228
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
229
+ http_version:
230
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
231
+ - request:
232
+ method: get
233
+ uri: https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>
234
+ body:
235
+ encoding: US-ASCII
236
+ string: ''
237
+ headers:
238
+ User-Agent:
239
+ - SoundCloud Ruby Wrapper 0.13.3
240
+ response:
241
+ status:
242
+ code: 200
243
+ message: OK
244
+ headers:
245
+ Accept-Ranges:
246
+ - bytes
247
+ Access-Control-Allow-Headers:
248
+ - Accept, Authorization, Content-Type, Origin
249
+ Access-Control-Allow-Methods:
250
+ - GET, PUT, POST, DELETE
251
+ Access-Control-Allow-Origin:
252
+ - "*"
253
+ Access-Control-Expose-Headers:
254
+ - Date
255
+ Cache-Control:
256
+ - max-age=600, public
257
+ Content-Type:
258
+ - application/json; charset=utf-8
259
+ Date:
260
+ - Wed, 11 Mar 2015 17:13:21 GMT
261
+ Etag:
262
+ - '"e0cff61cac3738f4807794cf8862b9f4"'
263
+ Last-Modified:
264
+ - Wed, 11 Mar 2015 17:13:19 GMT
265
+ Server:
266
+ - ECS (lhr/47B6)
267
+ Vary:
268
+ - Accept-Encoding
269
+ X-Cache:
270
+ - HIT
271
+ Content-Length:
272
+ - '1592'
273
+ body:
274
+ encoding: UTF-8
275
+ string: '{"kind":"track","id":193006525,"created_at":"2015/02/25 19:13:37 +0000","user_id":56479293,"duration":190031,"commentable":true,"state":"finished","original_content_size":7652798,"last_modified":"2015/03/03
276
+ 20:07:21 +0000","sharing":"public","tag_list":"afrobeat \"islington academy
277
+ sessions\"","permalink":"beer-of-course-but-why","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Beer,
278
+ Of Course, But Why","description":"Islington Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193006525","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
279
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/beer-of-course-but-why","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/qBjvlEuOtgIA_m.png","stream_url":"https://api.soundcloud.com/tracks/193006525/stream","download_url":"https://api.soundcloud.com/tracks/193006525/download","playback_count":39,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193006525/attachments","policy":"ALLOW"}'
280
+ http_version:
281
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
282
+ - request:
283
+ method: get
284
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=http://soundcloud.com/rawfunkmaharishi/junalbandi-3
285
+ body:
286
+ encoding: US-ASCII
287
+ string: ''
288
+ headers:
289
+ User-Agent:
290
+ - SoundCloud Ruby Wrapper 0.13.3
291
+ response:
292
+ status:
293
+ code: 302
294
+ message: Found
295
+ headers:
296
+ Access-Control-Allow-Headers:
297
+ - Accept, Authorization, Content-Type, Origin
298
+ Access-Control-Allow-Methods:
299
+ - GET, PUT, POST, DELETE
300
+ Access-Control-Allow-Origin:
301
+ - "*"
302
+ Access-Control-Expose-Headers:
303
+ - Date
304
+ Cache-Control:
305
+ - no-cache
306
+ Content-Type:
307
+ - application/json; charset=utf-8
308
+ Date:
309
+ - Wed, 11 Mar 2015 17:13:21 GMT
310
+ Location:
311
+ - https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
312
+ Server:
313
+ - am/2
314
+ Content-Length:
315
+ - '129'
316
+ body:
317
+ encoding: UTF-8
318
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
319
+ http_version:
320
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
321
+ - request:
322
+ method: get
323
+ uri: https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
324
+ body:
325
+ encoding: US-ASCII
326
+ string: ''
327
+ headers:
328
+ User-Agent:
329
+ - SoundCloud Ruby Wrapper 0.13.3
330
+ response:
331
+ status:
332
+ code: 200
333
+ message: OK
334
+ headers:
335
+ Accept-Ranges:
336
+ - bytes
337
+ Access-Control-Allow-Headers:
338
+ - Accept, Authorization, Content-Type, Origin
339
+ Access-Control-Allow-Methods:
340
+ - GET, PUT, POST, DELETE
341
+ Access-Control-Allow-Origin:
342
+ - "*"
343
+ Access-Control-Expose-Headers:
344
+ - Date
345
+ Cache-Control:
346
+ - max-age=600, public
347
+ Content-Type:
348
+ - application/json; charset=utf-8
349
+ Date:
350
+ - Wed, 11 Mar 2015 17:13:21 GMT
351
+ Etag:
352
+ - '"37ac2a1715c2c5200d613b556ce71f1c"'
353
+ Last-Modified:
354
+ - Tue, 10 Mar 2015 19:23:52 GMT
355
+ Server:
356
+ - ECS (lhr/4BD4)
357
+ Vary:
358
+ - Accept-Encoding
359
+ X-Cache:
360
+ - HIT
361
+ Content-Length:
362
+ - '1549'
363
+ body:
364
+ encoding: UTF-8
365
+ string: '{"kind":"track","id":193005357,"created_at":"2015/02/25 19:05:57 +0000","user_id":56479293,"duration":197111,"commentable":true,"state":"finished","original_content_size":7935965,"last_modified":"2015/02/28
366
+ 21:17:11 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"junalbandi-3","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Junalbandi","description":"Islington
367
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193005357","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
368
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/junalbandi-3","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/nbBOD5P8zpUy_m.png","stream_url":"https://api.soundcloud.com/tracks/193005357/stream","download_url":"https://api.soundcloud.com/tracks/193005357/download","playback_count":31,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193005357/attachments","policy":"ALLOW"}'
369
+ http_version:
370
+ recorded_at: Wed, 11 Mar 2015 17:13:21 GMT
371
+ - request:
372
+ method: get
373
+ uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=http://soundcloud.com/rawfunkmaharishi/bernard
374
+ body:
375
+ encoding: US-ASCII
376
+ string: ''
377
+ headers:
378
+ User-Agent:
379
+ - SoundCloud Ruby Wrapper 0.13.3
380
+ response:
381
+ status:
382
+ code: 302
383
+ message: Found
384
+ headers:
385
+ Access-Control-Allow-Headers:
386
+ - Accept, Authorization, Content-Type, Origin
387
+ Access-Control-Allow-Methods:
388
+ - GET, PUT, POST, DELETE
389
+ Access-Control-Allow-Origin:
390
+ - "*"
391
+ Access-Control-Expose-Headers:
392
+ - Date
393
+ Cache-Control:
394
+ - no-cache
395
+ Content-Type:
396
+ - application/json; charset=utf-8
397
+ Date:
398
+ - Wed, 11 Mar 2015 17:13:22 GMT
399
+ Location:
400
+ - https://api.soundcloud.com/tracks/192841052.json?client_id=<SOUNDCLOUD_CLIENT_ID>
401
+ Server:
402
+ - am/2
403
+ Content-Length:
404
+ - '129'
405
+ body:
406
+ encoding: UTF-8
407
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/192841052.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
408
+ http_version:
409
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
410
+ - request:
411
+ method: get
412
+ uri: https://api.soundcloud.com/tracks/192841052.json?client_id=<SOUNDCLOUD_CLIENT_ID>
413
+ body:
414
+ encoding: US-ASCII
415
+ string: ''
416
+ headers:
417
+ User-Agent:
418
+ - SoundCloud Ruby Wrapper 0.13.3
419
+ response:
420
+ status:
421
+ code: 200
422
+ message: OK
423
+ headers:
424
+ Accept-Ranges:
425
+ - bytes
426
+ Access-Control-Allow-Headers:
427
+ - Accept, Authorization, Content-Type, Origin
428
+ Access-Control-Allow-Methods:
429
+ - GET, PUT, POST, DELETE
430
+ Access-Control-Allow-Origin:
431
+ - "*"
432
+ Access-Control-Expose-Headers:
433
+ - Date
434
+ Cache-Control:
435
+ - max-age=600, public
436
+ Content-Type:
437
+ - application/json; charset=utf-8
438
+ Date:
439
+ - Wed, 11 Mar 2015 17:13:22 GMT
440
+ Etag:
441
+ - '"1891a1e60a9d1249b0860879cb87fce7"'
442
+ Last-Modified:
443
+ - Tue, 10 Mar 2015 19:23:52 GMT
444
+ Server:
445
+ - am/2
446
+ Vary:
447
+ - Accept-Encoding
448
+ - Authorization, Accept
449
+ X-Cache:
450
+ - HIT
451
+ Content-Length:
452
+ - '1536'
453
+ body:
454
+ encoding: UTF-8
455
+ string: '{"kind":"track","id":192841052,"created_at":"2015/02/24 20:44:18 +0000","user_id":56479293,"duration":173860,"commentable":true,"state":"finished","original_content_size":7006006,"last_modified":"2015/03/03
456
+ 20:31:37 +0000","sharing":"public","tag_list":"\"islington academy sessions\"","permalink":"bernard","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Bernard","description":"Islington
457
+ Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/192841052","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
458
+ Funk Maharishi","last_modified":"2015/02/27 15:07:28 +0000","uri":"https://api.soundcloud.com/users/56479293","permalink_url":"http://soundcloud.com/rawfunkmaharishi","avatar_url":"https://i1.sndcdn.com/avatars-000110957821-ac80gy-large.jpg"},"permalink_url":"http://soundcloud.com/rawfunkmaharishi/bernard","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/BAgEnzWuGhV7_m.png","stream_url":"https://api.soundcloud.com/tracks/192841052/stream","download_url":"https://api.soundcloud.com/tracks/192841052/download","playback_count":54,"download_count":1,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/192841052/attachments","policy":"ALLOW"}'
459
+ http_version:
460
+ recorded_at: Wed, 11 Mar 2015 17:13:22 GMT
461
+ recorded_with: VCR 2.9.3