purdie 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/features/soundcloud.feature +11 -0
  3. data/features/support/env.rb +3 -3
  4. data/lib/purdie/exceptions.rb +9 -0
  5. data/lib/purdie/services/soundcloud.rb +17 -8
  6. data/lib/purdie/version.rb +1 -1
  7. data/spec/purdie/services/soundcloud_spec.rb +18 -0
  8. data/spec/vcr/Purdie_Services_SoundCloud/handle_missing_fields/behaves_gracefully_when_there_is_no_date.yml +98 -0
  9. data/spec/vcr/Purdie_Services_SoundCloud/handle_missing_fields/is_fine_when_there_is_no_location.yml +98 -0
  10. metadata +6 -36
  11. data/features/support/fixtures/vcr.nope/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml +0 -125
  12. data/features/support/fixtures/vcr.nope/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml +0 -536
  13. data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML.yml +0 -131
  14. data/features/support/fixtures/vcr.nope/Flickr/Generate_Flickr_YAML_with_lookups.yml +0 -129
  15. data/features/support/fixtures/vcr.nope/Flickr_album/Generate_Flickr_YAML_for_an_album.yml +0 -2280
  16. data/features/support/fixtures/vcr.nope/Handle_comments/Handle_comments_in_a_source_file.yml +0 -131
  17. data/features/support/fixtures/vcr.nope/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml +0 -156
  18. data/features/support/fixtures/vcr.nope/Purdie/Generate_several_YAML.yml +0 -355
  19. data/features/support/fixtures/vcr.nope/Select_a_file_to_process/Choose_file_to_process.yml +0 -220
  20. data/features/support/fixtures/vcr.nope/Set_Flickr_picturesize/Generate_Flickr_YAML.yml +0 -131
  21. data/features/support/fixtures/vcr.nope/Soundcloud/Generate_SoundCloud_YAML.yml +0 -92
  22. data/features/support/fixtures/vcr.nope/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml +0 -181
  23. data/features/support/fixtures/vcr.nope/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml +0 -461
  24. data/features/support/fixtures/vcr.nope/Vimeo/Generate_Vimeo_YAML.yml +0 -53
  25. data/features/support/fixtures/vcr.nope/Vimeo_albums/Generate_YAML_for_a_Vimeo_album.yml +0 -210
  26. data/features/support/fixtures/vcr.nope/YouTube/Generate_YouTube_YAML.yml +0 -970
  27. data/features/support/fixtures/vcr.nope/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml +0 -9688
@@ -1,220 +0,0 @@
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="oeHmJ%2BoOCDTZn%2BmAvtdp31h9J0mG%2FOY%2BUOMfyee%2Bf58%3D", oauth_signature="<FLICKR_SECRET>%26",
19
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832873", 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:14:33 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
- - www301.flickr.bf1.yahoo.com
42
- Vary:
43
- - Accept-Encoding
44
- Age:
45
- - '0'
46
- Via:
47
- - http/1.1 fts119.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
48
- http/1.1 r24.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:14:33 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="UAW2picTqRVCz8UbLAfroJ%2FxyhUONtw0NZqEQeA2qFo%3D", oauth_signature="<FLICKR_SECRET>%26",
80
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832873", 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:14:34 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
- - www263.flickr.bf1.yahoo.com
103
- Vary:
104
- - Accept-Encoding
105
- Age:
106
- - '2'
107
- Via:
108
- - http/1.1 fts114.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:14:34 GMT
131
- - request:
132
- method: get
133
- uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/hexaflexagon-1
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: 302
143
- message: Found
144
- headers:
145
- Access-Control-Allow-Headers:
146
- - Accept, Authorization, Content-Type, Origin
147
- Access-Control-Allow-Methods:
148
- - GET, PUT, POST, DELETE
149
- Access-Control-Allow-Origin:
150
- - "*"
151
- Access-Control-Expose-Headers:
152
- - Date
153
- Cache-Control:
154
- - no-cache
155
- Content-Type:
156
- - application/json; charset=utf-8
157
- Date:
158
- - Tue, 31 Mar 2015 20:14:34 GMT
159
- Location:
160
- - https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
161
- Server:
162
- - am/2
163
- Content-Length:
164
- - '129'
165
- body:
166
- encoding: UTF-8
167
- string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
168
- http_version:
169
- recorded_at: Tue, 31 Mar 2015 20:14:34 GMT
170
- - request:
171
- method: get
172
- uri: https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
173
- body:
174
- encoding: US-ASCII
175
- string: ''
176
- headers:
177
- User-Agent:
178
- - SoundCloud Ruby Wrapper 0.13.3
179
- response:
180
- status:
181
- code: 200
182
- message: OK
183
- headers:
184
- Accept-Ranges:
185
- - bytes
186
- Access-Control-Allow-Headers:
187
- - Accept, Authorization, Content-Type, Origin
188
- Access-Control-Allow-Methods:
189
- - GET, PUT, POST, DELETE
190
- Access-Control-Allow-Origin:
191
- - "*"
192
- Access-Control-Expose-Headers:
193
- - Date
194
- Cache-Control:
195
- - max-age=600, public
196
- Content-Type:
197
- - application/json; charset=utf-8
198
- Date:
199
- - Tue, 31 Mar 2015 20:14:34 GMT
200
- Etag:
201
- - '"22a8481cd85e1e7be64128c639cc21b0"'
202
- Last-Modified:
203
- - Tue, 31 Mar 2015 16:20:04 GMT
204
- Server:
205
- - ECS (lhr/4BCD)
206
- Vary:
207
- - Accept-Encoding
208
- X-Cache:
209
- - HIT
210
- Content-Length:
211
- - '1555'
212
- body:
213
- encoding: UTF-8
214
- 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
215
- 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
216
- 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
217
- Funk Maharishi","last_modified":"2015/03/23 09:26:53 +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":59,"download_count":3,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193008299/attachments","policy":"ALLOW"}'
218
- http_version:
219
- recorded_at: Tue, 31 Mar 2015 20:14:34 GMT
220
- recorded_with: VCR 2.9.3
@@ -1,131 +0,0 @@
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
@@ -1,92 +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/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
- recorded_with: VCR 2.9.3
@@ -1,181 +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/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