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/Handle_comments/Handle_comments_in_a_source_file.yml
DELETED
@@ -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="C8F7RhYnRuC6Gnx3fd0faxe%2BdjhaVjyB10SNP0I%2BEPg%3D", oauth_signature="<FLICKR_SECRET>%26",
|
19
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832530", 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:08:50 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
|
-
- www41.flickr.bf1.yahoo.com
|
42
|
-
Vary:
|
43
|
-
- Accept-Encoding
|
44
|
-
Age:
|
45
|
-
- '0'
|
46
|
-
Via:
|
47
|
-
- http/1.1 fts110.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
-
http/1.1 r17.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:08:50 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="Ff%2FT38AX4yoRHIZOF6XE9MgE4BZqLlN9s9BBAPs5Zv8%3D", oauth_signature="<FLICKR_SECRET>%26",
|
80
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1427832530", 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:08:51 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
|
-
- www255.flickr.bf1.yahoo.com
|
103
|
-
Vary:
|
104
|
-
- Accept-Encoding
|
105
|
-
Age:
|
106
|
-
- '2'
|
107
|
-
Via:
|
108
|
-
- http/1.1 fts105.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:08:51 GMT
|
131
|
-
recorded_with: VCR 2.9.3
|
@@ -1,156 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.vimeo.com/videos/110132671
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Authorization:
|
11
|
-
- bearer
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
response:
|
15
|
-
status:
|
16
|
-
code: 401
|
17
|
-
message: Authorization Required
|
18
|
-
headers:
|
19
|
-
Date:
|
20
|
-
- Tue, 17 Mar 2015 18:47:28 GMT
|
21
|
-
Server:
|
22
|
-
- nginx
|
23
|
-
Content-Type:
|
24
|
-
- application/vnd.vimeo.error+json
|
25
|
-
Cache-Control:
|
26
|
-
- no-cache, max-age=315360000
|
27
|
-
Www-Authenticate:
|
28
|
-
- Bearer error="invalid_token"
|
29
|
-
Expires:
|
30
|
-
- Fri, 14 Mar 2025 18:47:28 GMT
|
31
|
-
Content-Length:
|
32
|
-
- '46'
|
33
|
-
Accept-Ranges:
|
34
|
-
- bytes
|
35
|
-
Via:
|
36
|
-
- 1.1 varnish
|
37
|
-
X-Served-By:
|
38
|
-
- cache-lcy1123-LCY
|
39
|
-
X-Cache:
|
40
|
-
- MISS
|
41
|
-
X-Cache-Hits:
|
42
|
-
- '0'
|
43
|
-
X-Timer:
|
44
|
-
- S1426618048.579298,VS0,VE90
|
45
|
-
Vary:
|
46
|
-
- Accept,Vimeo-Client-Id,Accept-Encoding
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
49
|
-
string: '{"error":"A valid user token must be passed."}'
|
50
|
-
http_version:
|
51
|
-
recorded_at: Tue, 17 Mar 2015 18:47:28 GMT
|
52
|
-
- request:
|
53
|
-
method: get
|
54
|
-
uri: https://api.vimeo.com/videos/110133117
|
55
|
-
body:
|
56
|
-
encoding: US-ASCII
|
57
|
-
string: ''
|
58
|
-
headers:
|
59
|
-
Authorization:
|
60
|
-
- bearer
|
61
|
-
Accept:
|
62
|
-
- application/json
|
63
|
-
response:
|
64
|
-
status:
|
65
|
-
code: 401
|
66
|
-
message: Authorization Required
|
67
|
-
headers:
|
68
|
-
Date:
|
69
|
-
- Tue, 17 Mar 2015 18:47:28 GMT
|
70
|
-
Server:
|
71
|
-
- nginx
|
72
|
-
Content-Type:
|
73
|
-
- application/vnd.vimeo.error+json
|
74
|
-
Cache-Control:
|
75
|
-
- no-cache, max-age=315360000
|
76
|
-
Www-Authenticate:
|
77
|
-
- Bearer error="invalid_token"
|
78
|
-
Expires:
|
79
|
-
- Fri, 14 Mar 2025 18:47:28 GMT
|
80
|
-
Content-Length:
|
81
|
-
- '46'
|
82
|
-
Accept-Ranges:
|
83
|
-
- bytes
|
84
|
-
Via:
|
85
|
-
- 1.1 varnish
|
86
|
-
X-Served-By:
|
87
|
-
- cache-lcy1123-LCY
|
88
|
-
X-Cache:
|
89
|
-
- MISS
|
90
|
-
X-Cache-Hits:
|
91
|
-
- '0'
|
92
|
-
X-Timer:
|
93
|
-
- S1426618048.778660,VS0,VE84
|
94
|
-
Vary:
|
95
|
-
- Accept,Vimeo-Client-Id,Accept-Encoding
|
96
|
-
body:
|
97
|
-
encoding: UTF-8
|
98
|
-
string: '{"error":"A valid user token must be passed."}'
|
99
|
-
http_version:
|
100
|
-
recorded_at: Tue, 17 Mar 2015 18:47:28 GMT
|
101
|
-
- request:
|
102
|
-
method: get
|
103
|
-
uri: https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=fji423cj234
|
104
|
-
body:
|
105
|
-
encoding: UTF-8
|
106
|
-
string: ''
|
107
|
-
headers:
|
108
|
-
User-Agent:
|
109
|
-
- |-
|
110
|
-
Purdie/0.0.12 google-api-ruby-client/0.8.2 Mac OS X/10.10.2
|
111
|
-
(gzip)
|
112
|
-
Accept-Encoding:
|
113
|
-
- gzip
|
114
|
-
Content-Type:
|
115
|
-
- ''
|
116
|
-
Accept:
|
117
|
-
- "*/*"
|
118
|
-
response:
|
119
|
-
status:
|
120
|
-
code: 400
|
121
|
-
message: Bad Request
|
122
|
-
headers:
|
123
|
-
Vary:
|
124
|
-
- Origin
|
125
|
-
- X-Origin
|
126
|
-
Content-Type:
|
127
|
-
- application/json; charset=UTF-8
|
128
|
-
Content-Encoding:
|
129
|
-
- gzip
|
130
|
-
Date:
|
131
|
-
- Tue, 17 Mar 2015 18:47:28 GMT
|
132
|
-
Expires:
|
133
|
-
- Tue, 17 Mar 2015 18:47:28 GMT
|
134
|
-
Cache-Control:
|
135
|
-
- private, max-age=0
|
136
|
-
X-Content-Type-Options:
|
137
|
-
- nosniff
|
138
|
-
X-Frame-Options:
|
139
|
-
- SAMEORIGIN
|
140
|
-
X-Xss-Protection:
|
141
|
-
- 1; mode=block
|
142
|
-
Server:
|
143
|
-
- GSE
|
144
|
-
Alternate-Protocol:
|
145
|
-
- 443:quic,p=0.5
|
146
|
-
Transfer-Encoding:
|
147
|
-
- chunked
|
148
|
-
body:
|
149
|
-
encoding: ASCII-8BIT
|
150
|
-
string: !binary |-
|
151
|
-
H4sIAAAAAAAAAKvmUlBKLSrKL1KyUqjmUoByioG8aCAPLAQUTMnPTczMAwoq
|
152
|
-
lRYnpqf6ZOZmlhQr6UAki1ITi/PBktmplZ55ZYk5mSkwudzUYpAGkKRTYopC
|
153
|
-
UGphaWpxiRJIshZIxIKUKSXnp4BUmBgYgLk49dRy1XIBAHbQcHGwAAAA
|
154
|
-
http_version:
|
155
|
-
recorded_at: Tue, 17 Mar 2015 18:47:28 GMT
|
156
|
-
recorded_with: VCR 2.9.3
|
@@ -1,355 +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:16 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:16 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:16 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:16 GMT
|
92
|
-
- request:
|
93
|
-
method: post
|
94
|
-
uri: https://api.flickr.com/services/rest/
|
95
|
-
body:
|
96
|
-
encoding: US-ASCII
|
97
|
-
string: photo_id=15631479625&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
98
|
-
headers:
|
99
|
-
Accept-Encoding:
|
100
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
101
|
-
Accept:
|
102
|
-
- "*/*"
|
103
|
-
User-Agent:
|
104
|
-
- FlickRaw/0.9.8
|
105
|
-
Authorization:
|
106
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
107
|
-
oauth_nonce="7AR3KzmFCxMqCUjava%2FL%2FXXyjdIOzDoHkvHId6N%2Fp0I%3D", oauth_signature="<FLICKR_SECRET>%26",
|
108
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426093996", oauth_token="",
|
109
|
-
oauth_version="1.0"
|
110
|
-
Content-Type:
|
111
|
-
- application/x-www-form-urlencoded
|
112
|
-
response:
|
113
|
-
status:
|
114
|
-
code: 200
|
115
|
-
message: OK
|
116
|
-
headers:
|
117
|
-
Date:
|
118
|
-
- Wed, 11 Mar 2015 17:13:16 GMT
|
119
|
-
Content-Type:
|
120
|
-
- application/json
|
121
|
-
Content-Length:
|
122
|
-
- '665'
|
123
|
-
P3p:
|
124
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
125
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
126
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
127
|
-
Cache-Control:
|
128
|
-
- private
|
129
|
-
X-Served-By:
|
130
|
-
- www322.flickr.bf1.yahoo.com
|
131
|
-
Vary:
|
132
|
-
- Accept-Encoding
|
133
|
-
Age:
|
134
|
-
- '0'
|
135
|
-
Via:
|
136
|
-
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
137
|
-
http/1.1 r03.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
138
|
-
Server:
|
139
|
-
- ATS
|
140
|
-
Connection:
|
141
|
-
- keep-alive
|
142
|
-
body:
|
143
|
-
encoding: ASCII-8BIT
|
144
|
-
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
|
145
|
-
Funk Maharishi","location":"","iconserver":"3933","iconfarm":4,"path_alias":"rawfunkmaharishi"},"title":{"_content":"The
|
146
|
-
Comedy, October 2014"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1414326010","taken":"2014-10-22
|
147
|
-
15:54:24","takengranularity":"0","takenunknown":"0","lastupdate":"1416111853"},"views":"94","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
|
148
|
-
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"}'
|
149
|
-
http_version:
|
150
|
-
recorded_at: Wed, 11 Mar 2015 17:13:16 GMT
|
151
|
-
- request:
|
152
|
-
method: post
|
153
|
-
uri: https://api.flickr.com/services/rest/
|
154
|
-
body:
|
155
|
-
encoding: US-ASCII
|
156
|
-
string: method=flickr.photos.licenses.getInfo&format=json&nojsoncallback=1
|
157
|
-
headers:
|
158
|
-
Accept-Encoding:
|
159
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
160
|
-
Accept:
|
161
|
-
- "*/*"
|
162
|
-
User-Agent:
|
163
|
-
- FlickRaw/0.9.8
|
164
|
-
Authorization:
|
165
|
-
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
166
|
-
oauth_nonce="UnwoAWu00kxmiTrG5Bm3srOK%2BtrsV4yBeCpQtp852%2F0%3D", oauth_signature="<FLICKR_SECRET>%26",
|
167
|
-
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426093996", oauth_token="",
|
168
|
-
oauth_version="1.0"
|
169
|
-
Content-Type:
|
170
|
-
- application/x-www-form-urlencoded
|
171
|
-
response:
|
172
|
-
status:
|
173
|
-
code: 200
|
174
|
-
message: OK
|
175
|
-
headers:
|
176
|
-
Date:
|
177
|
-
- Wed, 11 Mar 2015 17:13:17 GMT
|
178
|
-
Content-Type:
|
179
|
-
- application/json
|
180
|
-
Content-Length:
|
181
|
-
- '314'
|
182
|
-
P3p:
|
183
|
-
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
184
|
-
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
185
|
-
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
186
|
-
Cache-Control:
|
187
|
-
- private
|
188
|
-
X-Served-By:
|
189
|
-
- www235.flickr.bf1.yahoo.com
|
190
|
-
Vary:
|
191
|
-
- Accept-Encoding
|
192
|
-
Age:
|
193
|
-
- '2'
|
194
|
-
Via:
|
195
|
-
- http/1.1 fts112.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
196
|
-
http/1.1 r08.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
197
|
-
Server:
|
198
|
-
- ATS
|
199
|
-
Connection:
|
200
|
-
- keep-alive
|
201
|
-
body:
|
202
|
-
encoding: ASCII-8BIT
|
203
|
-
string: '{"licenses":{"license":[{"id":"0","name":"All Rights Reserved","url":""},{"id":"4","name":"Attribution
|
204
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by\/2.0\/"},{"id":"6","name":"Attribution-NoDerivs
|
205
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by-nd\/2.0\/"},{"id":"3","name":"Attribution-NonCommercial-NoDerivs
|
206
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/2.0\/"},{"id":"2","name":"Attribution-NonCommercial
|
207
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/"},{"id":"1","name":"Attribution-NonCommercial-ShareAlike
|
208
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/2.0\/"},{"id":"5","name":"Attribution-ShareAlike
|
209
|
-
License","url":"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/"},{"id":"7","name":"No
|
210
|
-
known copyright restrictions","url":"https:\/\/www.flickr.com\/commons\/usage\/"},{"id":"8","name":"United
|
211
|
-
States Government Work","url":"http:\/\/www.usa.gov\/copyright.shtml"}]},"stat":"ok"}'
|
212
|
-
http_version:
|
213
|
-
recorded_at: Wed, 11 Mar 2015 17:13:17 GMT
|
214
|
-
- request:
|
215
|
-
method: get
|
216
|
-
uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/junalbandi-3
|
217
|
-
body:
|
218
|
-
encoding: US-ASCII
|
219
|
-
string: ''
|
220
|
-
headers:
|
221
|
-
User-Agent:
|
222
|
-
- SoundCloud Ruby Wrapper 0.13.3
|
223
|
-
response:
|
224
|
-
status:
|
225
|
-
code: 302
|
226
|
-
message: Found
|
227
|
-
headers:
|
228
|
-
Access-Control-Allow-Headers:
|
229
|
-
- Accept, Authorization, Content-Type, Origin
|
230
|
-
Access-Control-Allow-Methods:
|
231
|
-
- GET, PUT, POST, DELETE
|
232
|
-
Access-Control-Allow-Origin:
|
233
|
-
- "*"
|
234
|
-
Access-Control-Expose-Headers:
|
235
|
-
- Date
|
236
|
-
Cache-Control:
|
237
|
-
- no-cache
|
238
|
-
Content-Type:
|
239
|
-
- application/json; charset=utf-8
|
240
|
-
Date:
|
241
|
-
- Wed, 11 Mar 2015 17:13:17 GMT
|
242
|
-
Location:
|
243
|
-
- https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
|
244
|
-
Server:
|
245
|
-
- am/2
|
246
|
-
Content-Length:
|
247
|
-
- '129'
|
248
|
-
body:
|
249
|
-
encoding: UTF-8
|
250
|
-
string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
|
251
|
-
http_version:
|
252
|
-
recorded_at: Wed, 11 Mar 2015 17:13:17 GMT
|
253
|
-
- request:
|
254
|
-
method: get
|
255
|
-
uri: https://api.soundcloud.com/tracks/193005357.json?client_id=<SOUNDCLOUD_CLIENT_ID>
|
256
|
-
body:
|
257
|
-
encoding: US-ASCII
|
258
|
-
string: ''
|
259
|
-
headers:
|
260
|
-
User-Agent:
|
261
|
-
- SoundCloud Ruby Wrapper 0.13.3
|
262
|
-
response:
|
263
|
-
status:
|
264
|
-
code: 200
|
265
|
-
message: OK
|
266
|
-
headers:
|
267
|
-
Accept-Ranges:
|
268
|
-
- bytes
|
269
|
-
Access-Control-Allow-Headers:
|
270
|
-
- Accept, Authorization, Content-Type, Origin
|
271
|
-
Access-Control-Allow-Methods:
|
272
|
-
- GET, PUT, POST, DELETE
|
273
|
-
Access-Control-Allow-Origin:
|
274
|
-
- "*"
|
275
|
-
Access-Control-Expose-Headers:
|
276
|
-
- Date
|
277
|
-
Cache-Control:
|
278
|
-
- max-age=600, public
|
279
|
-
Content-Type:
|
280
|
-
- application/json; charset=utf-8
|
281
|
-
Date:
|
282
|
-
- Wed, 11 Mar 2015 17:13:17 GMT
|
283
|
-
Etag:
|
284
|
-
- '"37ac2a1715c2c5200d613b556ce71f1c"'
|
285
|
-
Last-Modified:
|
286
|
-
- Tue, 10 Mar 2015 19:23:52 GMT
|
287
|
-
Server:
|
288
|
-
- am/2
|
289
|
-
Vary:
|
290
|
-
- Accept-Encoding
|
291
|
-
- Authorization, Accept
|
292
|
-
X-Cache:
|
293
|
-
- HIT
|
294
|
-
Content-Length:
|
295
|
-
- '1549'
|
296
|
-
body:
|
297
|
-
encoding: UTF-8
|
298
|
-
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
|
299
|
-
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
|
300
|
-
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
|
301
|
-
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"}'
|
302
|
-
http_version:
|
303
|
-
recorded_at: Wed, 11 Mar 2015 17:13:17 GMT
|
304
|
-
- request:
|
305
|
-
method: get
|
306
|
-
uri: https://api.vimeo.com/videos/111356018
|
307
|
-
body:
|
308
|
-
encoding: US-ASCII
|
309
|
-
string: ''
|
310
|
-
headers:
|
311
|
-
Authorization:
|
312
|
-
- bearer <VIMEO_BEARER_TOKEN>
|
313
|
-
Accept:
|
314
|
-
- application/json
|
315
|
-
response:
|
316
|
-
status:
|
317
|
-
code: 200
|
318
|
-
message: OK
|
319
|
-
headers:
|
320
|
-
Date:
|
321
|
-
- Wed, 11 Mar 2015 17:13:17 GMT
|
322
|
-
Server:
|
323
|
-
- nginx
|
324
|
-
Content-Type:
|
325
|
-
- application/vnd.vimeo.video+json
|
326
|
-
Cache-Control:
|
327
|
-
- no-cache, max-age=315360000
|
328
|
-
Expires:
|
329
|
-
- Sat, 08 Mar 2025 17:13:17 GMT
|
330
|
-
Content-Length:
|
331
|
-
- '3991'
|
332
|
-
Accept-Ranges:
|
333
|
-
- bytes
|
334
|
-
Via:
|
335
|
-
- 1.1 varnish
|
336
|
-
Age:
|
337
|
-
- '0'
|
338
|
-
X-Served-By:
|
339
|
-
- cache-fra1231-FRA
|
340
|
-
X-Cache:
|
341
|
-
- MISS
|
342
|
-
X-Cache-Hits:
|
343
|
-
- '0'
|
344
|
-
X-Timer:
|
345
|
-
- S1426093997.609676,VS0,VE231
|
346
|
-
Vary:
|
347
|
-
- Accept,Vimeo-Client-Id,Accept-Encoding
|
348
|
-
body:
|
349
|
-
encoding: UTF-8
|
350
|
-
string: '{"uri":"/videos/111356018","name":"Safety On Board","description":null,"link":"https://vimeo.com/rawfunkmaharishi/safetyonboard","duration":186,"width":1280,"language":"en-GB","height":720,"created_time":"2014-11-09T20:14:25+00:00","modified_time":"2015-02-19T23:07:47+00:00","content_rating":["safe"],"license":"by-nc-sa","privacy":{"view":"anybody","embed":"public","download":true,"add":true,"comments":"anybody"},"pictures":{"uri":"/videos/111356018/pictures/496005415","active":true,"sizes":[{"width":100,"height":75,"link":"https://i.vimeocdn.com/video/496005415_100x75.jpg"},{"width":200,"height":150,"link":"https://i.vimeocdn.com/video/496005415_200x150.jpg"},{"width":295,"height":166,"link":"https://i.vimeocdn.com/video/496005415_295x166.jpg"},{"width":640,"height":360,"link":"https://i.vimeocdn.com/video/496005415_640x360.jpg"},{"width":960,"height":540,"link":"https://i.vimeocdn.com/video/496005415_960x540.jpg"},{"width":1280,"height":720,"link":"https://i.vimeocdn.com/video/496005415_1280x720.jpg"}]},"tags":[{"uri":"/tags/musicsnakerawfunkmaharishi","name":"music
|
351
|
-
snake rawfunkmaharishi","tag":"music snake rawfunkmaharishi","canonical":"musicsnakerawfunkmaharishi","metadata":{"connections":{"videos":{"uri":"/tags/musicsnakerawfunkmaharishi/videos","options":["GET"],"total":1}}}}],"stats":{"plays":31},"embed":{"buttons":{"like":true,"watchlater":true,"share":true,"embed":true,"hd":false,"fullscreen":true,"scaling":true},"logos":{"vimeo":true,"custom":{"active":false,"link":null,"sticky":false}},"title":{"name":"user","owner":"user","portrait":"user"},"playbar":true,"volume":true,"color":"00adef"},"metadata":{"connections":{"comments":{"uri":"/videos/111356018/comments","options":["GET","POST"],"total":0},"credits":{"uri":"/videos/111356018/credits","options":["GET","POST"],"total":1},"likes":{"uri":"/videos/111356018/likes","options":["GET"],"total":0},"pictures":{"uri":"/videos/111356018/pictures","options":["GET","POST"],"total":4},"texttracks":{"uri":"/videos/111356018/texttracks","options":["GET","POST"],"total":0}},"interactions":{"watchlater":{"added":false,"added_time":null,"uri":"/users/33772623/watchlater/111356018"}}},"embed_presets":null,"user":{"uri":"/users/33772623","name":"Raw
|
352
|
-
Funk Maharishi","link":"https://vimeo.com/rawfunkmaharishi","location":null,"bio":null,"created_time":"2014-10-27T12:06:25+00:00","account":"basic","pictures":{"uri":"/users/33772623/pictures/8588995","active":true,"sizes":[{"width":30,"height":30,"link":"https://i.vimeocdn.com/portrait/8588995_30x30.jpg"},{"width":75,"height":75,"link":"https://i.vimeocdn.com/portrait/8588995_75x75.jpg"},{"width":100,"height":100,"link":"https://i.vimeocdn.com/portrait/8588995_100x100.jpg"},{"width":300,"height":300,"link":"https://i.vimeocdn.com/portrait/8588995_300x300.jpg"}]},"websites":[{"name":"http://rawfunkmaharishi.uk/","link":"http://rawfunkmaharishi.uk/","description":null}],"metadata":{"connections":{"activities":{"uri":"/users/33772623/activities","options":["GET"]},"albums":{"uri":"/users/33772623/albums","options":["GET"],"total":1},"channels":{"uri":"/users/33772623/channels","options":["GET"],"total":0},"feed":{"uri":"/users/33772623/feed","options":["GET"]},"followers":{"uri":"/users/33772623/followers","options":["GET"],"total":0},"following":{"uri":"/users/33772623/following","options":["GET"],"total":0},"groups":{"uri":"/users/33772623/groups","options":["GET"],"total":0},"likes":{"uri":"/users/33772623/likes","options":["GET"],"total":0},"portfolios":{"uri":"/users/33772623/portfolios","options":["GET"],"total":0},"videos":{"uri":"/users/33772623/videos","options":["GET"],"total":4},"watchlater":{"uri":"/users/33772623/watchlater","options":["GET"],"total":0},"shared":{"uri":"/users/33772623/shared/videos","options":["GET"],"total":0},"pictures":{"uri":"/users/33772623/pictures","options":["GET","POST"],"total":1}}},"content_filter":["language","drugs","violence","nudity","safe","unrated"]},"app":null,"status":"available"}'
|
353
|
-
http_version:
|
354
|
-
recorded_at: Wed, 11 Mar 2015 17:13:17 GMT
|
355
|
-
recorded_with: VCR 2.9.3
|