purdie 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -6
- data/README.md +38 -22
- data/_config/defaults.yaml +10 -0
- data/_data/flickr.yaml +4 -0
- data/_data/soundcloud.yaml +7 -0
- data/features/flickr-album.feature +23 -0
- data/features/flickr-different-size.feature +28 -0
- data/features/soundcloud-set.feature +41 -0
- data/features/soundcloud.feature +0 -1
- data/features/support/fixtures/vcr/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml +16 -16
- data/features/support/fixtures/vcr/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml +191 -276
- data/features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML.yml +16 -16
- data/features/support/fixtures/vcr/Flickr_album/Generate_Flickr_YAML_for_an_album.yml +1035 -0
- data/features/support/fixtures/vcr/Handle_comments/Handle_comments_in_a_source_file.yml +75 -206
- data/features/support/fixtures/vcr/Purdie/Generate_several_YAML.yml +177 -213
- data/features/support/fixtures/vcr/Select_a_file_to_process/Choose_file_to_process.yml +56 -188
- data/features/support/fixtures/vcr/Set_Flickr_picturesize/Generate_Flickr_YAML.yml +125 -0
- data/features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML.yml +56 -188
- data/features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml +140 -181
- data/features/support/fixtures/vcr/Soundcloud_set/Generate_YAML_for_a_SoundCloud_set.yml +436 -0
- data/features/support/fixtures/vcr/Vimeo/Generate_Vimeo_YAML.yml +23 -11
- data/features/support/fixtures/vcr/YouTube/Generate_YouTube_YAML.yml +970 -0
- data/features/support/vcr.rb +7 -5
- data/features/youtube.feature +20 -0
- data/lib/purdie/bernard.rb +35 -17
- data/lib/purdie/cli.rb +1 -1
- data/lib/purdie/helpers.rb +24 -0
- data/lib/purdie/ingester.rb +25 -10
- data/lib/purdie/services/flickr.rb +48 -5
- data/lib/purdie/services/soundcloud.rb +13 -21
- data/lib/purdie/services/vimeo.rb +4 -3
- data/lib/purdie/services/youtube.rb +64 -0
- data/lib/purdie/source_list.rb +46 -0
- data/lib/purdie/version.rb +1 -1
- data/lib/purdie.rb +4 -21
- data/list +1 -0
- data/purdie.gemspec +3 -1
- data/spec/helpers_spec.rb +31 -0
- data/spec/purdie_spec.rb +0 -24
- data/spec/services/flickr_spec.rb +33 -1
- data/spec/services/soundcloud_spec.rb +10 -8
- data/spec/services/youtube_spec.rb +27 -0
- data/spec/source_list_spec.rb +64 -0
- data/spec/support/fixtures/soundcloud.sounds +4 -0
- data/spec/support/fixtures/with-comments.source +3 -0
- data/spec/support/vcr_setup.rb +3 -1
- data/spec/vcr/Purdie_Services_Flickr/distills_data_for_a_regular_photo.yml +15 -15
- data/spec/vcr/Purdie_Services_Flickr/falls_back_to_the_default_photographer_name.yml +16 -16
- data/spec/vcr/Purdie_Services_Flickr/ingests_data_for_a_photo_without_a_specific_photographer_tag.yml +16 -16
- data/spec/vcr/Purdie_Services_Flickr/resolve_a_set/resolves_a_set_from_a_url.yml +518 -0
- data/spec/vcr/Purdie_Services_SoundCloud/connects_to_SoundCloud.yml +62 -67
- data/spec/vcr/Purdie_Services_SoundCloud/distills_the_data.yml +53 -183
- data/spec/vcr/Purdie_Services_SoundCloud/extracts_a_track.yml +50 -194
- data/spec/vcr/Purdie_Services_SoundCloud/ingests_a_track.yml +48 -186
- data/spec/vcr/Purdie_Services_SoundCloud/resolve_a_set/resolves_a_set_from_a_url.yml +103 -0
- data/spec/vcr/Purdie_Services_Vimeo/gets_a_video.yml +23 -11
- data/spec/vcr/Purdie_Services_Vimeo/ingests_a_video.yml +23 -11
- data/spec/vcr/Purdie_Services_YouTube/gets_a_video.yml +970 -0
- data/spec/vcr/Purdie_Services_YouTube/ingests_a_video.yml +970 -0
- data/spec/vcr/Purdie_SourceList/resolve_sets/constructs_a_list_from_a_set_URL.yml +518 -0
- data/spec/vcr/Purdie_SourceList/resolve_sets/resolves_a_Flickr_set.yml +518 -0
- data/spec/vcr/Purdie_SourceList/resolve_sets/resolves_a_SoundCloud_set.yml +103 -0
- data/spec/vcr/Purdie_SourceList/resolves_a_Flickr_set.yml +518 -0
- data/wtf.log +1 -0
- metadata +81 -14
- data/features/support/fixtures/vcr/Handle_no__sources_directory/Handle_no__sources_directory.yml +0 -346
- data/spec/vcr/Purdie_Services_SoundCloud/deals_with_a_troublesome_bawbag.yml +0 -230
- data/spec/vcr/Purdie_Services_SoundCloud/refines_the_data.yml +0 -230
- data/spec/vcr/Purdie_Services_Vimeo/distills_a_video.yml +0 -41
- data/spec/vcr/Purdie_Services_Vimeo/refines_a_video.yml +0 -41
@@ -0,0 +1,518 @@
|
|
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: photoset_id=72157649827363868&method=flickr.photosets.getPhotos&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="HBZ8wSMzB6rCmJnuoHuQjYjne3PhZAc8c7sHCXc2QKs%3D", oauth_signature="<FLICKR_SECRET>%26",
|
19
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003899", 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, 10 Mar 2015 16:11:39 GMT
|
30
|
+
Content-Type:
|
31
|
+
- application/json
|
32
|
+
Content-Length:
|
33
|
+
- '476'
|
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
|
+
- www342.flickr.bf1.yahoo.com
|
42
|
+
Vary:
|
43
|
+
- Accept-Encoding
|
44
|
+
Age:
|
45
|
+
- '3'
|
46
|
+
Via:
|
47
|
+
- http/1.1 fts107.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
48
|
+
http/1.1 r20.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
49
|
+
Server:
|
50
|
+
- ATS
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: '{"photoset":{"id":"72157649827363868","primary":"16252009191","owner":"73135567@N00","ownername":"pikesley","photo":[{"id":"16252009191","secret":"ea2d06e6bb","server":"7506","farm":8,"title":"First
|
56
|
+
planting of the year","isprimary":"1","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16308144622","secret":"4822b81b0e","server":"7480","farm":8,"title":"Seedlings","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16202827068","secret":"ee50e0cb1c","server":"7357","farm":8,"title":"Tomato
|
57
|
+
farm","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16388723891","secret":"10a4a8e745","server":"7382","farm":8,"title":"Cucamelon","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16308619689","secret":"41143c6dbb","server":"7327","farm":8,"title":"Potato
|
58
|
+
kit","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16367228619","secret":"3af2aba147","server":"8660","farm":9,"title":"Embothrium
|
59
|
+
seedling","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16752302412","secret":"d80b27c8dc","server":"8707","farm":9,"title":"Growhouse","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0},{"id":"16752239531","secret":"2bcaa35495","server":"7651","farm":8,"title":"Patio
|
60
|
+
pots","isprimary":"0","ispublic":1,"isfriend":0,"isfamily":0}],"page":1,"per_page":500,"perpage":500,"pages":1,"total":"8","title":"Garden
|
61
|
+
2015"},"stat":"ok"}'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Tue, 10 Mar 2015 16:11:40 GMT
|
64
|
+
- request:
|
65
|
+
method: post
|
66
|
+
uri: https://api.flickr.com/services/rest/
|
67
|
+
body:
|
68
|
+
encoding: US-ASCII
|
69
|
+
string: photo_id=16252009191&method=flickr.photos.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="8jVUuVElUpRcRhe6%2BGxYKidljgeY%2B%2BULbjDMGa53ieo%3D", oauth_signature="<FLICKR_SECRET>%26",
|
80
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003900", 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, 10 Mar 2015 16:11:40 GMT
|
91
|
+
Content-Type:
|
92
|
+
- application/json
|
93
|
+
Content-Length:
|
94
|
+
- '555'
|
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
|
+
- www60.flickr.bf1.yahoo.com
|
103
|
+
Vary:
|
104
|
+
- Accept-Encoding
|
105
|
+
Age:
|
106
|
+
- '0'
|
107
|
+
Via:
|
108
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
109
|
+
http/1.1 r04.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
110
|
+
Server:
|
111
|
+
- ATS
|
112
|
+
Connection:
|
113
|
+
- keep-alive
|
114
|
+
body:
|
115
|
+
encoding: ASCII-8BIT
|
116
|
+
string: '{"photo":{"id":"16252009191","secret":"ea2d06e6bb","server":"7506","farm":8,"dateuploaded":"1420982656","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"dd0b6e4274","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"First
|
117
|
+
planting of the year"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1420982656","taken":"2015-01-11
|
118
|
+
14:22:47","takengranularity":"0","takenunknown":"0","lastupdate":"1420982715"},"views":"166","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16252009191\/"}]},"media":"photo"},"stat":"ok"}'
|
119
|
+
http_version:
|
120
|
+
recorded_at: Tue, 10 Mar 2015 16:11:40 GMT
|
121
|
+
- request:
|
122
|
+
method: post
|
123
|
+
uri: https://api.flickr.com/services/rest/
|
124
|
+
body:
|
125
|
+
encoding: US-ASCII
|
126
|
+
string: photo_id=16308144622&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
127
|
+
headers:
|
128
|
+
Accept-Encoding:
|
129
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
130
|
+
Accept:
|
131
|
+
- "*/*"
|
132
|
+
User-Agent:
|
133
|
+
- FlickRaw/0.9.8
|
134
|
+
Authorization:
|
135
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
136
|
+
oauth_nonce="nziFN3oFlnAuhlz24zFJSBOBjCBPoE%2Fx1QsNwKBwdJU%3D", oauth_signature="<FLICKR_SECRET>%26",
|
137
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003900", oauth_token="",
|
138
|
+
oauth_version="1.0"
|
139
|
+
Content-Type:
|
140
|
+
- application/x-www-form-urlencoded
|
141
|
+
response:
|
142
|
+
status:
|
143
|
+
code: 200
|
144
|
+
message: OK
|
145
|
+
headers:
|
146
|
+
Date:
|
147
|
+
- Tue, 10 Mar 2015 16:11:40 GMT
|
148
|
+
Content-Type:
|
149
|
+
- application/json
|
150
|
+
Content-Length:
|
151
|
+
- '544'
|
152
|
+
P3p:
|
153
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
154
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
155
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
156
|
+
Cache-Control:
|
157
|
+
- private
|
158
|
+
X-Served-By:
|
159
|
+
- www61.flickr.bf1.yahoo.com
|
160
|
+
Vary:
|
161
|
+
- Accept-Encoding
|
162
|
+
Age:
|
163
|
+
- '0'
|
164
|
+
Via:
|
165
|
+
- http/1.1 fts113.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
166
|
+
http/1.1 r07.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
167
|
+
Server:
|
168
|
+
- ATS
|
169
|
+
Connection:
|
170
|
+
- keep-alive
|
171
|
+
body:
|
172
|
+
encoding: ASCII-8BIT
|
173
|
+
string: '{"photo":{"id":"16308144622","secret":"4822b81b0e","server":"7480","farm":8,"dateuploaded":"1421591962","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"fafedaf4a8","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Seedlings"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1421591962","taken":"2015-01-18
|
174
|
+
15:31:34","takengranularity":"0","takenunknown":"0","lastupdate":"1421592677"},"views":"175","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16308144622\/"}]},"media":"photo"},"stat":"ok"}'
|
175
|
+
http_version:
|
176
|
+
recorded_at: Tue, 10 Mar 2015 16:11:40 GMT
|
177
|
+
- request:
|
178
|
+
method: post
|
179
|
+
uri: https://api.flickr.com/services/rest/
|
180
|
+
body:
|
181
|
+
encoding: US-ASCII
|
182
|
+
string: photo_id=16202827068&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
183
|
+
headers:
|
184
|
+
Accept-Encoding:
|
185
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
186
|
+
Accept:
|
187
|
+
- "*/*"
|
188
|
+
User-Agent:
|
189
|
+
- FlickRaw/0.9.8
|
190
|
+
Authorization:
|
191
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
192
|
+
oauth_nonce="dsekpzs79LVsomCCjEv8ZPsS0EXWHntAtJTq8z%2BdO%2F8%3D", oauth_signature="<FLICKR_SECRET>%26",
|
193
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003900", oauth_token="",
|
194
|
+
oauth_version="1.0"
|
195
|
+
Content-Type:
|
196
|
+
- application/x-www-form-urlencoded
|
197
|
+
response:
|
198
|
+
status:
|
199
|
+
code: 200
|
200
|
+
message: OK
|
201
|
+
headers:
|
202
|
+
Date:
|
203
|
+
- Tue, 10 Mar 2015 16:11:41 GMT
|
204
|
+
Content-Type:
|
205
|
+
- application/json
|
206
|
+
Content-Length:
|
207
|
+
- '542'
|
208
|
+
P3p:
|
209
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
210
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
211
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
212
|
+
Cache-Control:
|
213
|
+
- private
|
214
|
+
X-Served-By:
|
215
|
+
- www251.flickr.bf1.yahoo.com
|
216
|
+
Vary:
|
217
|
+
- Accept-Encoding
|
218
|
+
Age:
|
219
|
+
- '2'
|
220
|
+
Via:
|
221
|
+
- http/1.1 fts114.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
222
|
+
http/1.1 r02.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
223
|
+
Server:
|
224
|
+
- ATS
|
225
|
+
Connection:
|
226
|
+
- keep-alive
|
227
|
+
body:
|
228
|
+
encoding: ASCII-8BIT
|
229
|
+
string: '{"photo":{"id":"16202827068","secret":"ee50e0cb1c","server":"7357","farm":8,"dateuploaded":"1422476532","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"06e6a96521","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Tomato
|
230
|
+
farm"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1422476532","taken":"2015-01-28
|
231
|
+
21:19:32","takengranularity":"0","takenunknown":"0","lastupdate":"1422476584"},"views":"103","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16202827068\/"}]},"media":"photo"},"stat":"ok"}'
|
232
|
+
http_version:
|
233
|
+
recorded_at: Tue, 10 Mar 2015 16:11:41 GMT
|
234
|
+
- request:
|
235
|
+
method: post
|
236
|
+
uri: https://api.flickr.com/services/rest/
|
237
|
+
body:
|
238
|
+
encoding: US-ASCII
|
239
|
+
string: photo_id=16388723891&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
240
|
+
headers:
|
241
|
+
Accept-Encoding:
|
242
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
243
|
+
Accept:
|
244
|
+
- "*/*"
|
245
|
+
User-Agent:
|
246
|
+
- FlickRaw/0.9.8
|
247
|
+
Authorization:
|
248
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
249
|
+
oauth_nonce="GWpnIqxjVDKziQesbK1MCatNbZGOKG7EhVElKuEG%2FR4%3D", oauth_signature="<FLICKR_SECRET>%26",
|
250
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003901", oauth_token="",
|
251
|
+
oauth_version="1.0"
|
252
|
+
Content-Type:
|
253
|
+
- application/x-www-form-urlencoded
|
254
|
+
response:
|
255
|
+
status:
|
256
|
+
code: 200
|
257
|
+
message: OK
|
258
|
+
headers:
|
259
|
+
Date:
|
260
|
+
- Tue, 10 Mar 2015 16:11:41 GMT
|
261
|
+
Content-Type:
|
262
|
+
- application/json
|
263
|
+
Content-Length:
|
264
|
+
- '543'
|
265
|
+
P3p:
|
266
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
267
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
268
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
269
|
+
Cache-Control:
|
270
|
+
- private
|
271
|
+
X-Served-By:
|
272
|
+
- www241.flickr.bf1.yahoo.com
|
273
|
+
Vary:
|
274
|
+
- Accept-Encoding
|
275
|
+
Age:
|
276
|
+
- '0'
|
277
|
+
Via:
|
278
|
+
- http/1.1 fts110.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
279
|
+
http/1.1 r11.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
280
|
+
Server:
|
281
|
+
- ATS
|
282
|
+
Connection:
|
283
|
+
- keep-alive
|
284
|
+
body:
|
285
|
+
encoding: ASCII-8BIT
|
286
|
+
string: '{"photo":{"id":"16388723891","secret":"10a4a8e745","server":"7382","farm":8,"dateuploaded":"1422476602","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"203886b5a3","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Cucamelon"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1422476602","taken":"2015-01-28
|
287
|
+
21:19:45","takengranularity":"0","takenunknown":"0","lastupdate":"1422477672"},"views":"116","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16388723891\/"}]},"media":"photo"},"stat":"ok"}'
|
288
|
+
http_version:
|
289
|
+
recorded_at: Tue, 10 Mar 2015 16:11:41 GMT
|
290
|
+
- request:
|
291
|
+
method: post
|
292
|
+
uri: https://api.flickr.com/services/rest/
|
293
|
+
body:
|
294
|
+
encoding: US-ASCII
|
295
|
+
string: photo_id=16308619689&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
296
|
+
headers:
|
297
|
+
Accept-Encoding:
|
298
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
299
|
+
Accept:
|
300
|
+
- "*/*"
|
301
|
+
User-Agent:
|
302
|
+
- FlickRaw/0.9.8
|
303
|
+
Authorization:
|
304
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
305
|
+
oauth_nonce="bkWVpy%2BfGT8FEulVufN7m3w3dF9WzI9hvTr5ALMx0Og%3D", oauth_signature="<FLICKR_SECRET>%26",
|
306
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003901", oauth_token="",
|
307
|
+
oauth_version="1.0"
|
308
|
+
Content-Type:
|
309
|
+
- application/x-www-form-urlencoded
|
310
|
+
response:
|
311
|
+
status:
|
312
|
+
code: 200
|
313
|
+
message: OK
|
314
|
+
headers:
|
315
|
+
Date:
|
316
|
+
- Tue, 10 Mar 2015 16:11:41 GMT
|
317
|
+
Content-Type:
|
318
|
+
- application/json
|
319
|
+
Content-Length:
|
320
|
+
- '545'
|
321
|
+
P3p:
|
322
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
323
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
324
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
325
|
+
Cache-Control:
|
326
|
+
- private
|
327
|
+
X-Served-By:
|
328
|
+
- www299.flickr.bf1.yahoo.com
|
329
|
+
Vary:
|
330
|
+
- Accept-Encoding
|
331
|
+
Age:
|
332
|
+
- '0'
|
333
|
+
Via:
|
334
|
+
- http/1.1 fts101.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
335
|
+
http/1.1 r06.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
336
|
+
Server:
|
337
|
+
- ATS
|
338
|
+
Connection:
|
339
|
+
- keep-alive
|
340
|
+
body:
|
341
|
+
encoding: ASCII-8BIT
|
342
|
+
string: '{"photo":{"id":"16308619689","secret":"41143c6dbb","server":"7327","farm":8,"dateuploaded":"1423599466","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"dc11437dda","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Potato
|
343
|
+
kit"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1423599466","taken":"2015-02-10
|
344
|
+
21:14:58","takengranularity":"0","takenunknown":"0","lastupdate":"1423601463"},"views":"75","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16308619689\/"}]},"media":"photo"},"stat":"ok"}'
|
345
|
+
http_version:
|
346
|
+
recorded_at: Tue, 10 Mar 2015 16:11:41 GMT
|
347
|
+
- request:
|
348
|
+
method: post
|
349
|
+
uri: https://api.flickr.com/services/rest/
|
350
|
+
body:
|
351
|
+
encoding: US-ASCII
|
352
|
+
string: photo_id=16367228619&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
353
|
+
headers:
|
354
|
+
Accept-Encoding:
|
355
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
356
|
+
Accept:
|
357
|
+
- "*/*"
|
358
|
+
User-Agent:
|
359
|
+
- FlickRaw/0.9.8
|
360
|
+
Authorization:
|
361
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
362
|
+
oauth_nonce="t2PBv1GhEgn62wAQ0NA24hfv3%2FtpH0Jxm7wdw4XNV54%3D", oauth_signature="<FLICKR_SECRET>%26",
|
363
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003901", oauth_token="",
|
364
|
+
oauth_version="1.0"
|
365
|
+
Content-Type:
|
366
|
+
- application/x-www-form-urlencoded
|
367
|
+
response:
|
368
|
+
status:
|
369
|
+
code: 200
|
370
|
+
message: OK
|
371
|
+
headers:
|
372
|
+
Date:
|
373
|
+
- Tue, 10 Mar 2015 16:11:42 GMT
|
374
|
+
Content-Type:
|
375
|
+
- application/json
|
376
|
+
Content-Length:
|
377
|
+
- '550'
|
378
|
+
P3p:
|
379
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
380
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
381
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
382
|
+
Cache-Control:
|
383
|
+
- private
|
384
|
+
X-Served-By:
|
385
|
+
- www253.flickr.bf1.yahoo.com
|
386
|
+
Vary:
|
387
|
+
- Accept-Encoding
|
388
|
+
Age:
|
389
|
+
- '0'
|
390
|
+
Via:
|
391
|
+
- http/1.1 fts101.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
392
|
+
http/1.1 r20.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
393
|
+
Server:
|
394
|
+
- ATS
|
395
|
+
Connection:
|
396
|
+
- keep-alive
|
397
|
+
body:
|
398
|
+
encoding: ASCII-8BIT
|
399
|
+
string: '{"photo":{"id":"16367228619","secret":"3af2aba147","server":"8660","farm":9,"dateuploaded":"1424124245","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"7145f68aed","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Embothrium
|
400
|
+
seedling"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1424124245","taken":"2015-02-16
|
401
|
+
23:03:06","takengranularity":"0","takenunknown":"0","lastupdate":"1424125294"},"views":"55","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16367228619\/"}]},"media":"photo"},"stat":"ok"}'
|
402
|
+
http_version:
|
403
|
+
recorded_at: Tue, 10 Mar 2015 16:11:42 GMT
|
404
|
+
- request:
|
405
|
+
method: post
|
406
|
+
uri: https://api.flickr.com/services/rest/
|
407
|
+
body:
|
408
|
+
encoding: US-ASCII
|
409
|
+
string: photo_id=16752302412&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
410
|
+
headers:
|
411
|
+
Accept-Encoding:
|
412
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
413
|
+
Accept:
|
414
|
+
- "*/*"
|
415
|
+
User-Agent:
|
416
|
+
- FlickRaw/0.9.8
|
417
|
+
Authorization:
|
418
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
419
|
+
oauth_nonce="4gUvaOcPo%2BnRNY2Tvde4SMLENsi%2FYkgF8M17y0jRqzw%3D", oauth_signature="<FLICKR_SECRET>%26",
|
420
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003902", oauth_token="",
|
421
|
+
oauth_version="1.0"
|
422
|
+
Content-Type:
|
423
|
+
- application/x-www-form-urlencoded
|
424
|
+
response:
|
425
|
+
status:
|
426
|
+
code: 200
|
427
|
+
message: OK
|
428
|
+
headers:
|
429
|
+
Date:
|
430
|
+
- Tue, 10 Mar 2015 16:11:42 GMT
|
431
|
+
Content-Type:
|
432
|
+
- application/json
|
433
|
+
Content-Length:
|
434
|
+
- '545'
|
435
|
+
P3p:
|
436
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
437
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
438
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
439
|
+
Cache-Control:
|
440
|
+
- private
|
441
|
+
X-Served-By:
|
442
|
+
- www310.flickr.bf1.yahoo.com
|
443
|
+
Vary:
|
444
|
+
- Accept-Encoding
|
445
|
+
Age:
|
446
|
+
- '0'
|
447
|
+
Via:
|
448
|
+
- http/1.1 fts119.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
449
|
+
http/1.1 r15.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
450
|
+
Server:
|
451
|
+
- ATS
|
452
|
+
Connection:
|
453
|
+
- keep-alive
|
454
|
+
body:
|
455
|
+
encoding: ASCII-8BIT
|
456
|
+
string: '{"photo":{"id":"16752302412","secret":"d80b27c8dc","server":"8707","farm":9,"dateuploaded":"1425824636","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"b2e8dd6c5c","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Growhouse"},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1425824636","taken":"2015-03-08
|
457
|
+
15:19:53","takengranularity":"0","takenunknown":"0","lastupdate":"1425825014"},"views":"32","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16752302412\/"}]},"media":"photo"},"stat":"ok"}'
|
458
|
+
http_version:
|
459
|
+
recorded_at: Tue, 10 Mar 2015 16:11:42 GMT
|
460
|
+
- request:
|
461
|
+
method: post
|
462
|
+
uri: https://api.flickr.com/services/rest/
|
463
|
+
body:
|
464
|
+
encoding: US-ASCII
|
465
|
+
string: photo_id=16752239531&method=flickr.photos.getInfo&format=json&nojsoncallback=1
|
466
|
+
headers:
|
467
|
+
Accept-Encoding:
|
468
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
469
|
+
Accept:
|
470
|
+
- "*/*"
|
471
|
+
User-Agent:
|
472
|
+
- FlickRaw/0.9.8
|
473
|
+
Authorization:
|
474
|
+
- OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
|
475
|
+
oauth_nonce="EnhLEAhAUPbp6nZAeVa5EoI7MYT5HdgV1e0wEV6I0MA%3D", oauth_signature="<FLICKR_SECRET>%26",
|
476
|
+
oauth_signature_method="PLAINTEXT", oauth_timestamp="1426003902", oauth_token="",
|
477
|
+
oauth_version="1.0"
|
478
|
+
Content-Type:
|
479
|
+
- application/x-www-form-urlencoded
|
480
|
+
response:
|
481
|
+
status:
|
482
|
+
code: 200
|
483
|
+
message: OK
|
484
|
+
headers:
|
485
|
+
Date:
|
486
|
+
- Tue, 10 Mar 2015 16:11:43 GMT
|
487
|
+
Content-Type:
|
488
|
+
- application/json
|
489
|
+
Content-Length:
|
490
|
+
- '602'
|
491
|
+
P3p:
|
492
|
+
- policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
|
493
|
+
TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
|
494
|
+
ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
495
|
+
Cache-Control:
|
496
|
+
- private
|
497
|
+
X-Served-By:
|
498
|
+
- www221.flickr.bf1.yahoo.com
|
499
|
+
Vary:
|
500
|
+
- Accept-Encoding
|
501
|
+
Age:
|
502
|
+
- '2'
|
503
|
+
Via:
|
504
|
+
- http/1.1 fts113.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
|
505
|
+
http/1.1 r07.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
506
|
+
Server:
|
507
|
+
- ATS
|
508
|
+
Connection:
|
509
|
+
- keep-alive
|
510
|
+
body:
|
511
|
+
encoding: ASCII-8BIT
|
512
|
+
string: '{"photo":{"id":"16752239531","secret":"2bcaa35495","server":"7651","farm":8,"dateuploaded":"1425824917","isfavorite":0,"license":"1","safety_level":"0","rotation":0,"originalsecret":"6f79696344","originalformat":"jpg","owner":{"nsid":"73135567@N00","username":"pikesley","realname":"Sam","location":"London","iconserver":"5072","iconfarm":6,"path_alias":"pikesley"},"title":{"_content":"Patio
|
513
|
+
pots"},"description":{"_content":"Chives, tarragon, sage, thyme, rosemary,
|
514
|
+
spinachy things, chocolate mint, potato bags\n"},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1425824917","taken":"2015-03-08
|
515
|
+
15:20:22","takengranularity":"0","takenunknown":"0","lastupdate":"1425825005"},"views":"31","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":[]},"urls":{"url":[{"type":"photopage","_content":"https:\/\/www.flickr.com\/photos\/pikesley\/16752239531\/"}]},"media":"photo"},"stat":"ok"}'
|
516
|
+
http_version:
|
517
|
+
recorded_at: Tue, 10 Mar 2015 16:11:43 GMT
|
518
|
+
recorded_with: VCR 2.9.3
|
data/wtf.log
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
16252009191
|