purdie 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/soundcloud.feature +11 -0
- data/features/support/env.rb +3 -3
- data/lib/purdie/exceptions.rb +9 -0
- data/lib/purdie/services/soundcloud.rb +17 -8
- data/lib/purdie/version.rb +1 -1
- data/spec/purdie/services/soundcloud_spec.rb +18 -0
- data/spec/vcr/Purdie_Services_SoundCloud/handle_missing_fields/behaves_gracefully_when_there_is_no_date.yml +98 -0
- data/spec/vcr/Purdie_Services_SoundCloud/handle_missing_fields/is_fine_when_there_is_no_location.yml +98 -0
- metadata +6 -36
- data/features/support/fixtures/vcr.nope/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml +0 -125
- data/features/support/fixtures/vcr.nope/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml +0 -536
- data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML.yml +0 -131
- data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML_with_lookups.yml +0 -129
- data/features/support/fixtures/vcr.nope/Flickr_album/Generate_Flickr_YAML_for_an_album.yml +0 -2280
- data/features/support/fixtures/vcr.nope/Handle_comments/Handle_comments_in_a_source_file.yml +0 -131
- data/features/support/fixtures/vcr.nope/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml +0 -156
- data/features/support/fixtures/vcr.nope/Purdie/Generate_several_YAML.yml +0 -355
- data/features/support/fixtures/vcr.nope/Select_a_file_to_process/Choose_file_to_process.yml +0 -220
- data/features/support/fixtures/vcr.nope/Set_Flickr_picturesize/Generate_Flickr_YAML.yml +0 -131
- data/features/support/fixtures/vcr.nope/Soundcloud/Generate_SoundCloud_YAML.yml +0 -92
- data/features/support/fixtures/vcr.nope/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml +0 -181
- data/features/support/fixtures/vcr.nope/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml +0 -461
- data/features/support/fixtures/vcr.nope/Vimeo/Generate_Vimeo_YAML.yml +0 -53
- data/features/support/fixtures/vcr.nope/Vimeo_albums/Generate_YAML_for_a_Vimeo_album.yml +0 -210
- data/features/support/fixtures/vcr.nope/YouTube/Generate_YouTube_YAML.yml +0 -970
- data/features/support/fixtures/vcr.nope/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml +0 -9688
data/features/support/fixtures/vcr.nope/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml
DELETED
@@ -1,461 +0,0 @@
|
|
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
|