purdie 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47daab89a649c37ffa1b983b4fe593be8117d31f
4
- data.tar.gz: bfeab60a60e4765da990339e500e6d206119b1e0
3
+ metadata.gz: 7f46d0b6fa8e244b5a53666845b74189a9f507bf
4
+ data.tar.gz: 614020df5e1ad274e2d9075ce3f3ec33c13e769a
5
5
  SHA512:
6
- metadata.gz: fd5342cbf21b9af2b75b1dde23f86475d11c704426f5aed5098afceb55135b1ab0a54a01d9cffbe92529896316639371e432b794daa2ca30236d281c5c914085
7
- data.tar.gz: 405010930c759d7da43155e0338bf5b2a33413f010f987029692192a2a7aefec4f16899dfde2e49114d11235145692950d17b533e13347521518408872ed1935
6
+ metadata.gz: 79cde95a05ba138c62c6e84332a4f85203a111a2938e6c0ac45d5c5c61a69885e2f0afba1c5b97c16f8c24c56444844ea910396de14bcc316b607a12fabc983a
7
+ data.tar.gz: fcd40af1139507167898355935d5c6a107643086256746f5a20fd866260ee922d8c65d4c72481c47a0f487ca788c5f4ec2c108418c15c7f3517eff779bfda7af
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ RSpec::Core::RakeTask.new
8
8
  #Cucumber::Rake::Task.new
9
9
 
10
10
  Cucumber::Rake::Task.new(:features) do |t|
11
- t.cucumber_opts = "features --tags ~@wip"
11
+ t.cucumber_opts = "features --tags ~@broken"
12
12
  end
13
13
 
14
14
  task :default => [:spec, :features, 'coveralls:push']
@@ -1,5 +1,7 @@
1
1
  @vcr
2
2
  @announce-stdout
3
+ @announce-stderr
4
+ @broken
3
5
  Feature: Missing or bad credentials
4
6
 
5
7
  Scenario: Attempt to process SoundCloud URLs with missing credentials
@@ -1,4 +1,5 @@
1
1
  @vcr
2
+ @broken
2
3
  Feature: Flickr album
3
4
 
4
5
  Scenario: Generate Flickr YAML for an album
@@ -10,7 +11,7 @@ Feature: Flickr album
10
11
  """
11
12
  photographer_lookups:
12
13
  pikesley: sam
13
- """
14
+ """
14
15
  When I successfully run `purdie fetch`
15
16
  Then a file named "_data/flickr.yaml" should exist
16
17
  And the file "_data/flickr.yaml" should contain:
data/features/rfm.feature CHANGED
@@ -1,5 +1,6 @@
1
1
  @clearconf
2
2
  @vcr
3
+ @broken
3
4
  Feature: First contact with the Real World
4
5
 
5
6
  Scenario: Generate YAML for the Raw Funk Maharishi
@@ -37,12 +37,12 @@ class VcrFriendlyMain
37
37
  end
38
38
 
39
39
  Before '@vcr' do
40
- Aruba::InProcess.main_class = VcrFriendlyMain
41
- Aruba.process = Aruba::InProcess
40
+ Aruba.configure { |config| config.command_launcher = :in_process }
42
41
  end
43
42
 
44
43
  After '@vcr' do
45
- Aruba.process = Aruba::SpawnProcess
44
+ Aruba.configure { |config| config.command_launcher = :spawn }
45
+
46
46
  VCR.eject_cassette
47
47
  $stdin = STDIN
48
48
  $stdout = STDOUT
@@ -21,7 +21,16 @@ module Purdie
21
21
  results = {}
22
22
  results['title'] = track['title']
23
23
  results['id'] = track['id']
24
- results['location'] = track['description']
24
+
25
+ description = YAML.load track['description']
26
+ if description.class == Hash
27
+ description.keys.each do |k|
28
+ results[k] = description[k]
29
+ end
30
+ else
31
+ results['location'] = track['description']
32
+ end
33
+
25
34
  results['date'] = "%4d-%02d-%02d" % [ track['release_year'], track['release_month'], track['release_day'] ]
26
35
 
27
36
  results.attach_license self, track['license']
@@ -8,7 +8,7 @@ module Purdie
8
8
  target = "#{Vimeo.host}/videos/#{@id}"
9
9
  response = HTTParty.get target, headers: Vimeo.headers
10
10
  response = JSON.parse response.body
11
- if response['error'] == 'A valid user token must be passed.'
11
+ if response['error'] == 'You must provide a valid authenticated access token.'
12
12
  raise CredentialsException.new self, 'missing and/or duff'
13
13
  else
14
14
  response
@@ -1,3 +1,3 @@
1
1
  module Purdie
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -5,7 +5,10 @@ module Purdie
5
5
  it 'does not throw a fit when initialized with no _sources dir' do
6
6
  FileUtils.rmdir File.join(File.dirname(__FILE__), '..', '..', '_sources')
7
7
  b = Bernard.new
8
- expect {b.fetch}.to raise_error
8
+ expect {b.fetch}.to raise_exception { |e|
9
+ expect(e).to be_a Purdie::PurdieException
10
+ expect(e.message).to eq 'No data sources specified'
11
+ }
9
12
  end
10
13
 
11
14
  it 'processes files', :vcr do
@@ -25,6 +25,21 @@ license_url: http://creativecommons.org/licenses/by-nc-sa/4.0/
25
25
  )
26
26
  end
27
27
 
28
+ it 'distills richer metadata', :vcr do
29
+ distilled = @sc.distill 'https://soundcloud.com/rawfunkmaharishi/don-the-crown-1'
30
+ expect(distilled.to_yaml).to eq(
31
+ "---
32
+ title: Don The Crown
33
+ id: 234830006
34
+ location: Rogue Studios
35
+ engineer: Alessio
36
+ date: '2015-11-25'
37
+ license: Attribution-NonCommercial-ShareAlike
38
+ license_url: http://creativecommons.org/licenses/by-nc-sa/4.0/
39
+ "
40
+ )
41
+ end
42
+
28
43
  context 'resolve a set' do
29
44
  it 'resolves a set from a url', :vcr do
30
45
  set = SoundCloud.resolve 'https://soundcloud.com/rawfunkmaharishi/sets/islington-academy-sessions'
@@ -0,0 +1,91 @@
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/don-the-crown-1
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - SoundCloud Ruby Wrapper 0.13.5
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
+ - Sat, 28 Nov 2015 15:10:36 GMT
31
+ Location:
32
+ - https://api.soundcloud.com/tracks/234830006.json?client_id=<SOUNDCLOUD_CLIENT_ID>
33
+ Server:
34
+ - am/2
35
+ Status:
36
+ - 302 Found
37
+ Content-Length:
38
+ - '129'
39
+ body:
40
+ encoding: UTF-8
41
+ string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/234830006.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
42
+ http_version:
43
+ recorded_at: Sat, 28 Nov 2015 15:10:36 GMT
44
+ - request:
45
+ method: get
46
+ uri: https://api.soundcloud.com/tracks/234830006.json?client_id=<SOUNDCLOUD_CLIENT_ID>
47
+ body:
48
+ encoding: US-ASCII
49
+ string: ''
50
+ headers:
51
+ User-Agent:
52
+ - SoundCloud Ruby Wrapper 0.13.5
53
+ response:
54
+ status:
55
+ code: 200
56
+ message: OK
57
+ headers:
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
+ - Sat, 28 Nov 2015 15:10:36 GMT
72
+ Etag:
73
+ - '"3a287099571f2e48b5bfa83b9685d28d"'
74
+ Server:
75
+ - am/2
76
+ Status:
77
+ - 200 OK
78
+ Vary:
79
+ - Authorization, Accept
80
+ Content-Length:
81
+ - '1553'
82
+ body:
83
+ encoding: UTF-8
84
+ string: '{"kind":"track","id":234830006,"created_at":"2015/11/26 16:51:16 +0000","user_id":56479293,"duration":210252,"commentable":true,"state":"finished","original_content_size":9134081,"last_modified":"2015/11/28
85
+ 15:08:31 +0000","sharing":"public","tag_list":"","permalink":"don-the-crown-1","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"funk
86
+ #rogue_sessions","title":"Don The Crown","description":"location: Rogue Studios\nengineer:
87
+ Alessio","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":11,"release_day":25,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/234830006","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
88
+ Funk Maharishi","last_modified":"2015/08/03 13:56:52 +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/don-the-crown-1","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/PFnqq7zCEB7e_m.png","stream_url":"https://api.soundcloud.com/tracks/234830006/stream","download_url":"https://api.soundcloud.com/tracks/234830006/download","playback_count":14,"download_count":0,"favoritings_count":0,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/234830006/attachments"}'
89
+ http_version:
90
+ recorded_at: Sat, 28 Nov 2015 15:10:36 GMT
91
+ recorded_with: VCR 2.9.3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: purdie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - pikesley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2015-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -319,7 +319,6 @@ files:
319
319
  - features/flickr.feature
320
320
  - features/no-sources.feature
321
321
  - features/rfm.feature
322
- - features/select-file.feature
323
322
  - features/soundcloud-set.feature
324
323
  - features/soundcloud.feature
325
324
  - features/step_definitions/purdie_steps.rb
@@ -343,12 +342,10 @@ files:
343
342
  - features/support/fixtures/vcr.nope/YouTube/Generate_YouTube_YAML.yml
344
343
  - features/support/fixtures/vcr.nope/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml
345
344
  - features/support/fixtures/vcr/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml
346
- - features/support/fixtures/vcr/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml
347
345
  - features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML.yml
348
346
  - features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML_with_lookups.yml
349
347
  - features/support/fixtures/vcr/Flickr_album/Generate_Flickr_YAML_for_an_album.yml
350
348
  - features/support/fixtures/vcr/Handle_comments/Handle_comments_in_a_source_file.yml
351
- - features/support/fixtures/vcr/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml
352
349
  - features/support/fixtures/vcr/Set_Flickr_picturesize/Generate_Flickr_YAML.yml
353
350
  - features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML.yml
354
351
  - features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml
@@ -412,6 +409,7 @@ files:
412
409
  - spec/vcr/Purdie_Services_Flickr/licenses_items_correctly.yml
413
410
  - spec/vcr/Purdie_Services_Flickr/resolve_a_set/resolves_a_set_from_a_url.yml
414
411
  - spec/vcr/Purdie_Services_SoundCloud/connects_to_SoundCloud.yml
412
+ - spec/vcr/Purdie_Services_SoundCloud/distills_richer_metadata.yml
415
413
  - spec/vcr/Purdie_Services_SoundCloud/distills_the_data.yml
416
414
  - spec/vcr/Purdie_Services_SoundCloud/extracts_a_track.yml
417
415
  - spec/vcr/Purdie_Services_SoundCloud/ingests_a_track.yml
@@ -467,7 +465,6 @@ test_files:
467
465
  - features/flickr.feature
468
466
  - features/no-sources.feature
469
467
  - features/rfm.feature
470
- - features/select-file.feature
471
468
  - features/soundcloud-set.feature
472
469
  - features/soundcloud.feature
473
470
  - features/step_definitions/purdie_steps.rb
@@ -491,12 +488,10 @@ test_files:
491
488
  - features/support/fixtures/vcr.nope/YouTube/Generate_YouTube_YAML.yml
492
489
  - features/support/fixtures/vcr.nope/YouTube_playlists/Generate_YAML_for_a_YouTube_playlist.yml
493
490
  - features/support/fixtures/vcr/A_URL_we_don_t_understand/Handle_a_URL_we_don_t_recognise.yml
494
- - features/support/fixtures/vcr/First_contact_with_the_Real_World/Generate_YAML_for_the_Raw_Funk_Maharishi.yml
495
491
  - features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML.yml
496
492
  - features/support/fixtures/vcr/Flickr/Generate_Flickr_YAML_with_lookups.yml
497
493
  - features/support/fixtures/vcr/Flickr_album/Generate_Flickr_YAML_for_an_album.yml
498
494
  - features/support/fixtures/vcr/Handle_comments/Handle_comments_in_a_source_file.yml
499
- - features/support/fixtures/vcr/Missing_or_bad_credentials/Bad_credentials_for_multiple_services.yml
500
495
  - features/support/fixtures/vcr/Set_Flickr_picturesize/Generate_Flickr_YAML.yml
501
496
  - features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML.yml
502
497
  - features/support/fixtures/vcr/Soundcloud/Generate_SoundCloud_YAML_for_multiple_tracks.yml
@@ -543,6 +538,7 @@ test_files:
543
538
  - spec/vcr/Purdie_Services_Flickr/licenses_items_correctly.yml
544
539
  - spec/vcr/Purdie_Services_Flickr/resolve_a_set/resolves_a_set_from_a_url.yml
545
540
  - spec/vcr/Purdie_Services_SoundCloud/connects_to_SoundCloud.yml
541
+ - spec/vcr/Purdie_Services_SoundCloud/distills_richer_metadata.yml
546
542
  - spec/vcr/Purdie_Services_SoundCloud/distills_the_data.yml
547
543
  - spec/vcr/Purdie_Services_SoundCloud/extracts_a_track.yml
548
544
  - spec/vcr/Purdie_Services_SoundCloud/ingests_a_track.yml
@@ -563,3 +559,4 @@ test_files:
563
559
  - spec/vcr/Purdie_SourceList/resolve_sets/resolves_a_Flickr_set.yml
564
560
  - spec/vcr/Purdie_SourceList/resolve_sets/resolves_a_SoundCloud_set.yml
565
561
  - spec/vcr/Purdie_SourceList/resolves_a_Flickr_set.yml
562
+ has_rdoc:
@@ -1,26 +0,0 @@
1
- ### @wtf
2
- ### @vcr
3
- ### Feature: Select a file to process
4
- ###
5
- ### Scenario: Choose file to process
6
- ### Given a file named "_sources/soundcloud.source" with:
7
- ### """
8
- ### https://soundcloud.com/rawfunkmaharishi/hexaflexagon-1
9
- ### """
10
- ### And a file named "_sources/flickr.source" with:
11
- ### """
12
- ### https://www.flickr.com/photos/rawfunkmaharishi/15631479625/
13
- ### """
14
- ### When I successfully run `purdie fetch -f _sources/soundcloud.source`
15
- ### Then a file named "_data/soundcloud.yaml" should exist
16
- ### And the file "_data/soundcloud.yaml" should contain:
17
- ### """
18
- ### - title: Hexaflexagon
19
- ### id: 193008299
20
- ### location: Islington Academy
21
- ### date: '2015-02-18'
22
- ### license: Attribution-NonCommercial-ShareAlike
23
- ### license_url: http://creativecommons.org/licenses/by-nc-sa/4.0/
24
- ### """
25
- ### And a file named "_data/flickr.yaml" should not exist
26
- ###
@@ -1,536 +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=15950875724&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="7mHvr2xFACCqN%2FEcJh2hZXqg5l2rWylGKhSBFFIMxkE%3D", oauth_signature="<FLICKR_SECRET>%26",
19
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427878402", 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
- - Wed, 01 Apr 2015 08:53:20 GMT
30
- Content-Type:
31
- - application/json
32
- Content-Length:
33
- - '543'
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
- - www5.flickr.bf1.yahoo.com
42
- Vary:
43
- - Accept-Encoding
44
- Age:
45
- - '0'
46
- Via:
47
- - http/1.1 fts125.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
48
- http/1.1 r17.ycpi.dea.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":"15950875724","secret":"23d58be214","server":"7398","farm":8,"dateuploaded":"1424289792","isfavorite":0,"license":"2","safety_level":"0","rotation":0,"originalsecret":"24a89b0cfe","originalformat":"jpg","owner":{"nsid":"54115632@N00","username":"cluttercup","realname":"Jane
58
- Dickson","location":"London, UK","iconserver":"7338","iconfarm":8,"path_alias":"cluttercup"},"title":{"_content":""},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1424289792","taken":"2015-02-18
59
- 16:56:20","takengranularity":"0","takenunknown":"0","lastupdate":"1424289832"},"views":"39","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\/cluttercup\/15950875724\/"}]},"media":"photo"},"stat":"ok"}'
60
- http_version:
61
- recorded_at: Wed, 01 Apr 2015 08:53:22 GMT
62
- - request:
63
- method: post
64
- uri: https://api.flickr.com/services/rest/
65
- body:
66
- encoding: US-ASCII
67
- string: method=flickr.photos.licenses.getInfo&format=json&nojsoncallback=1
68
- headers:
69
- Accept-Encoding:
70
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
71
- Accept:
72
- - "*/*"
73
- User-Agent:
74
- - FlickRaw/0.9.8
75
- Authorization:
76
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
77
- oauth_nonce="dKos5RnUD01z6UgpcJu4YnL%2FnalshWClcX28G%2BFax6Q%3D", oauth_signature="<FLICKR_SECRET>%26",
78
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427878402", oauth_token="",
79
- oauth_version="1.0"
80
- Content-Type:
81
- - application/x-www-form-urlencoded
82
- response:
83
- status:
84
- code: 200
85
- message: OK
86
- headers:
87
- Date:
88
- - Wed, 01 Apr 2015 08:53:20 GMT
89
- Content-Type:
90
- - application/json
91
- Content-Length:
92
- - '371'
93
- P3p:
94
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
95
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
96
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
97
- Cache-Control:
98
- - private
99
- X-Served-By:
100
- - www19.flickr.bf1.yahoo.com
101
- Vary:
102
- - Accept-Encoding
103
- Age:
104
- - '0'
105
- Via:
106
- - http/1.1 fts103.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
107
- http/1.1 r04.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
108
- Server:
109
- - ATS
110
- Strict-Transport-Security:
111
- - max-age=259200
112
- Connection:
113
- - keep-alive
114
- body:
115
- encoding: ASCII-8BIT
116
- string: '{"licenses":{"license":[{"id":"0","name":"All Rights Reserved","url":""},{"id":"4","name":"Attribution
117
- License","url":"https:\/\/creativecommons.org\/licenses\/by\/2.0\/"},{"id":"6","name":"Attribution-NoDerivs
118
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nd\/2.0\/"},{"id":"3","name":"Attribution-NonCommercial-NoDerivs
119
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/2.0\/"},{"id":"2","name":"Attribution-NonCommercial
120
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/"},{"id":"1","name":"Attribution-NonCommercial-ShareAlike
121
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/2.0\/"},{"id":"5","name":"Attribution-ShareAlike
122
- License","url":"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/"},{"id":"7","name":"No
123
- known copyright restrictions","url":"https:\/\/www.flickr.com\/commons\/usage\/"},{"id":"8","name":"United
124
- States Government Work","url":"http:\/\/www.usa.gov\/copyright.shtml"},{"id":"9","name":"Public
125
- Domain Dedication (CC0)","url":"https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/"},{"id":"10","name":"Public
126
- Domain Mark","url":"https:\/\/creativecommons.org\/publicdomain\/mark\/1.0\/"}]},"stat":"ok"}'
127
- http_version:
128
- recorded_at: Wed, 01 Apr 2015 08:53:22 GMT
129
- - request:
130
- method: post
131
- uri: https://api.flickr.com/services/rest/
132
- body:
133
- encoding: US-ASCII
134
- string: photo_id=16579675721&method=flickr.photos.getInfo&format=json&nojsoncallback=1
135
- headers:
136
- Accept-Encoding:
137
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
138
- Accept:
139
- - "*/*"
140
- User-Agent:
141
- - FlickRaw/0.9.8
142
- Authorization:
143
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
144
- oauth_nonce="ulEBAhX9BTuFutyTNeDbtVjYs3irvRm%2BybPAsSvMZNM%3D", oauth_signature="<FLICKR_SECRET>%26",
145
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427878402", oauth_token="",
146
- oauth_version="1.0"
147
- Content-Type:
148
- - application/x-www-form-urlencoded
149
- response:
150
- status:
151
- code: 200
152
- message: OK
153
- headers:
154
- Date:
155
- - Wed, 01 Apr 2015 08:53:20 GMT
156
- Content-Type:
157
- - application/json
158
- Content-Length:
159
- - '546'
160
- P3p:
161
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
162
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
163
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
164
- Cache-Control:
165
- - private
166
- X-Served-By:
167
- - www219.flickr.bf1.yahoo.com
168
- Vary:
169
- - Accept-Encoding
170
- Age:
171
- - '2'
172
- Via:
173
- - http/1.1 fts113.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
174
- http/1.1 r03.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
175
- Server:
176
- - ATS
177
- Strict-Transport-Security:
178
- - max-age=259200
179
- Connection:
180
- - keep-alive
181
- body:
182
- encoding: ASCII-8BIT
183
- string: '{"photo":{"id":"16579675721","secret":"f765c42f99","server":"7418","farm":8,"dateuploaded":"1424360169","isfavorite":0,"license":"2","safety_level":"0","rotation":0,"originalsecret":"810967e8d9","originalformat":"jpg","owner":{"nsid":"54115632@N00","username":"cluttercup","realname":"Jane
184
- Dickson","location":"London, UK","iconserver":"7338","iconfarm":8,"path_alias":"cluttercup"},"title":{"_content":""},"description":{"_content":""},"visibility":{"ispublic":1,"isfriend":0,"isfamily":0},"dates":{"posted":"1424360169","taken":"2015-02-18
185
- 16:28:17","takengranularity":"0","takenunknown":"0","lastupdate":"1424360294"},"views":"26","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\/cluttercup\/16579675721\/"}]},"media":"photo"},"stat":"ok"}'
186
- http_version:
187
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
188
- - request:
189
- method: post
190
- uri: https://api.flickr.com/services/rest/
191
- body:
192
- encoding: US-ASCII
193
- string: method=flickr.photos.licenses.getInfo&format=json&nojsoncallback=1
194
- headers:
195
- Accept-Encoding:
196
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
197
- Accept:
198
- - "*/*"
199
- User-Agent:
200
- - FlickRaw/0.9.8
201
- Authorization:
202
- - OAuth realm="https://api.flickr.com/services/rest/", oauth_consumer_key="<FLICKR_API_KEY>",
203
- oauth_nonce="Q7Soo%2FUpnDmR3IN8f4L2YpPm5I1HBjt2OODPv1gA2pw%3D", oauth_signature="<FLICKR_SECRET>%26",
204
- oauth_signature_method="PLAINTEXT", oauth_timestamp="1427878403", oauth_token="",
205
- oauth_version="1.0"
206
- Content-Type:
207
- - application/x-www-form-urlencoded
208
- response:
209
- status:
210
- code: 200
211
- message: OK
212
- headers:
213
- Date:
214
- - Wed, 01 Apr 2015 08:53:21 GMT
215
- Content-Type:
216
- - application/json
217
- Content-Length:
218
- - '371'
219
- P3p:
220
- - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV
221
- TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY
222
- ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
223
- Cache-Control:
224
- - private
225
- X-Served-By:
226
- - www285.flickr.bf1.yahoo.com
227
- Vary:
228
- - Accept-Encoding
229
- Age:
230
- - '0'
231
- Via:
232
- - http/1.1 fts116.flickr.bf1.yahoo.com (ApacheTrafficServer/4.0.2 [cMsSf ]),
233
- http/1.1 r11.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
234
- Server:
235
- - ATS
236
- Strict-Transport-Security:
237
- - max-age=259200
238
- Connection:
239
- - keep-alive
240
- body:
241
- encoding: ASCII-8BIT
242
- string: '{"licenses":{"license":[{"id":"0","name":"All Rights Reserved","url":""},{"id":"4","name":"Attribution
243
- License","url":"https:\/\/creativecommons.org\/licenses\/by\/2.0\/"},{"id":"6","name":"Attribution-NoDerivs
244
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nd\/2.0\/"},{"id":"3","name":"Attribution-NonCommercial-NoDerivs
245
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/2.0\/"},{"id":"2","name":"Attribution-NonCommercial
246
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc\/2.0\/"},{"id":"1","name":"Attribution-NonCommercial-ShareAlike
247
- License","url":"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/2.0\/"},{"id":"5","name":"Attribution-ShareAlike
248
- License","url":"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/"},{"id":"7","name":"No
249
- known copyright restrictions","url":"https:\/\/www.flickr.com\/commons\/usage\/"},{"id":"8","name":"United
250
- States Government Work","url":"http:\/\/www.usa.gov\/copyright.shtml"},{"id":"9","name":"Public
251
- Domain Dedication (CC0)","url":"https:\/\/creativecommons.org\/publicdomain\/zero\/1.0\/"},{"id":"10","name":"Public
252
- Domain Mark","url":"https:\/\/creativecommons.org\/publicdomain\/mark\/1.0\/"}]},"stat":"ok"}'
253
- http_version:
254
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
255
- - request:
256
- method: get
257
- uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/hexaflexagon-1
258
- body:
259
- encoding: US-ASCII
260
- string: ''
261
- headers:
262
- User-Agent:
263
- - SoundCloud Ruby Wrapper 0.13.3
264
- response:
265
- status:
266
- code: 302
267
- message: Found
268
- headers:
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
- - no-cache
279
- Content-Type:
280
- - application/json; charset=utf-8
281
- Date:
282
- - Wed, 01 Apr 2015 08:53:21 GMT
283
- Location:
284
- - https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
285
- Server:
286
- - am/2
287
- Content-Length:
288
- - '129'
289
- body:
290
- encoding: UTF-8
291
- string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
292
- http_version:
293
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
294
- - request:
295
- method: get
296
- uri: https://api.soundcloud.com/tracks/193008299.json?client_id=<SOUNDCLOUD_CLIENT_ID>
297
- body:
298
- encoding: US-ASCII
299
- string: ''
300
- headers:
301
- User-Agent:
302
- - SoundCloud Ruby Wrapper 0.13.3
303
- response:
304
- status:
305
- code: 200
306
- message: OK
307
- headers:
308
- Accept-Ranges:
309
- - bytes
310
- Access-Control-Allow-Headers:
311
- - Accept, Authorization, Content-Type, Origin
312
- Access-Control-Allow-Methods:
313
- - GET, PUT, POST, DELETE
314
- Access-Control-Allow-Origin:
315
- - "*"
316
- Access-Control-Expose-Headers:
317
- - Date
318
- Cache-Control:
319
- - max-age=600, public
320
- Content-Type:
321
- - application/json; charset=utf-8
322
- Date:
323
- - Wed, 01 Apr 2015 08:53:21 GMT
324
- Etag:
325
- - '"22a8481cd85e1e7be64128c639cc21b0"'
326
- Last-Modified:
327
- - Tue, 31 Mar 2015 16:20:04 GMT
328
- Server:
329
- - am/2
330
- Vary:
331
- - Accept-Encoding
332
- - Authorization, Accept
333
- X-Cache:
334
- - HIT
335
- Content-Length:
336
- - '1555'
337
- body:
338
- encoding: UTF-8
339
- 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
340
- 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
341
- 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
342
- 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"}'
343
- http_version:
344
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
345
- - request:
346
- method: get
347
- uri: http://api.soundcloud.com/resolve?client_id=<SOUNDCLOUD_CLIENT_ID>&format=json&url=https://soundcloud.com/rawfunkmaharishi/beer-of-course-but-why
348
- body:
349
- encoding: US-ASCII
350
- string: ''
351
- headers:
352
- User-Agent:
353
- - SoundCloud Ruby Wrapper 0.13.3
354
- response:
355
- status:
356
- code: 302
357
- message: Found
358
- headers:
359
- Access-Control-Allow-Headers:
360
- - Accept, Authorization, Content-Type, Origin
361
- Access-Control-Allow-Methods:
362
- - GET, PUT, POST, DELETE
363
- Access-Control-Allow-Origin:
364
- - "*"
365
- Access-Control-Expose-Headers:
366
- - Date
367
- Cache-Control:
368
- - no-cache
369
- Content-Type:
370
- - application/json; charset=utf-8
371
- Date:
372
- - Wed, 01 Apr 2015 08:53:21 GMT
373
- Location:
374
- - https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>
375
- Server:
376
- - am/2
377
- Content-Length:
378
- - '129'
379
- body:
380
- encoding: UTF-8
381
- string: '{"status":"302 - Found","location":"https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>"}'
382
- http_version:
383
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
384
- - request:
385
- method: get
386
- uri: https://api.soundcloud.com/tracks/193006525.json?client_id=<SOUNDCLOUD_CLIENT_ID>
387
- body:
388
- encoding: US-ASCII
389
- string: ''
390
- headers:
391
- User-Agent:
392
- - SoundCloud Ruby Wrapper 0.13.3
393
- response:
394
- status:
395
- code: 200
396
- message: OK
397
- headers:
398
- Accept-Ranges:
399
- - bytes
400
- Access-Control-Allow-Headers:
401
- - Accept, Authorization, Content-Type, Origin
402
- Access-Control-Allow-Methods:
403
- - GET, PUT, POST, DELETE
404
- Access-Control-Allow-Origin:
405
- - "*"
406
- Access-Control-Expose-Headers:
407
- - Date
408
- Cache-Control:
409
- - max-age=600, public
410
- Content-Type:
411
- - application/json; charset=utf-8
412
- Date:
413
- - Wed, 01 Apr 2015 08:53:21 GMT
414
- Etag:
415
- - '"e670341711b788c7ec34c63c273258db"'
416
- Last-Modified:
417
- - Tue, 31 Mar 2015 16:20:05 GMT
418
- Server:
419
- - am/2
420
- Vary:
421
- - Accept-Encoding
422
- - Authorization, Accept
423
- X-Cache:
424
- - HIT
425
- Content-Length:
426
- - '1592'
427
- body:
428
- encoding: UTF-8
429
- string: '{"kind":"track","id":193006525,"created_at":"2015/02/25 19:13:37 +0000","user_id":56479293,"duration":190031,"commentable":true,"state":"finished","original_content_size":7652798,"last_modified":"2015/03/03
430
- 20:07:21 +0000","sharing":"public","tag_list":"afrobeat \"islington academy
431
- sessions\"","permalink":"beer-of-course-but-why","streamable":true,"embeddable_by":"all","downloadable":true,"purchase_url":null,"label_id":null,"purchase_title":null,"genre":"Funk","title":"Beer,
432
- Of Course, But Why","description":"Islington Academy","label_name":null,"release":null,"track_type":null,"key_signature":null,"isrc":null,"video_url":null,"bpm":null,"release_year":2015,"release_month":2,"release_day":18,"original_format":"mp3","license":"cc-by-nc-sa","uri":"https://api.soundcloud.com/tracks/193006525","user":{"id":56479293,"kind":"user","permalink":"rawfunkmaharishi","username":"Raw
433
- 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/beer-of-course-but-why","artwork_url":null,"waveform_url":"https://w1.sndcdn.com/qBjvlEuOtgIA_m.png","stream_url":"https://api.soundcloud.com/tracks/193006525/stream","download_url":"https://api.soundcloud.com/tracks/193006525/download","playback_count":47,"download_count":1,"favoritings_count":1,"comment_count":0,"attachments_uri":"https://api.soundcloud.com/tracks/193006525/attachments","policy":"ALLOW"}'
434
- http_version:
435
- recorded_at: Wed, 01 Apr 2015 08:53:23 GMT
436
- - request:
437
- method: get
438
- uri: https://api.vimeo.com/videos/117102891
439
- body:
440
- encoding: US-ASCII
441
- string: ''
442
- headers:
443
- Authorization:
444
- - bearer <VIMEO_BEARER_TOKEN>
445
- Accept:
446
- - application/json
447
- response:
448
- status:
449
- code: 200
450
- message: OK
451
- headers:
452
- Date:
453
- - Wed, 01 Apr 2015 08:53:22 GMT
454
- Server:
455
- - nginx
456
- Content-Type:
457
- - application/vnd.vimeo.video+json
458
- Cache-Control:
459
- - no-cache, max-age=315360000
460
- Expires:
461
- - Sat, 29 Mar 2025 08:53:21 GMT
462
- Content-Length:
463
- - '3714'
464
- Accept-Ranges:
465
- - bytes
466
- Via:
467
- - 1.1 varnish
468
- Age:
469
- - '0'
470
- X-Served-By:
471
- - cache-lcy1120-LCY
472
- X-Cache:
473
- - MISS
474
- X-Cache-Hits:
475
- - '0'
476
- X-Timer:
477
- - S1427878401.754354,VS0,VE330
478
- Vary:
479
- - Accept,Vimeo-Client-Id,Accept-Encoding
480
- body:
481
- encoding: UTF-8
482
- string: '{"uri":"/videos/117102891","name":"Bernard","description":null,"link":"https://vimeo.com/rawfunkmaharishi/bernard","duration":239,"width":1280,"language":null,"height":720,"created_time":"2015-01-18T17:26:10+00:00","modified_time":"2015-03-23T22:11:19+00:00","content_rating":["unrated"],"license":"by-nc-sa","privacy":{"view":"anybody","embed":"public","download":true,"add":true,"comments":"anybody"},"pictures":{"uri":"/videos/117102891/pictures/503683214","active":true,"sizes":[{"width":100,"height":75,"link":"https://i.vimeocdn.com/video/503683214_100x75.jpg"},{"width":200,"height":150,"link":"https://i.vimeocdn.com/video/503683214_200x150.jpg"},{"width":295,"height":166,"link":"https://i.vimeocdn.com/video/503683214_295x166.jpg"},{"width":640,"height":360,"link":"https://i.vimeocdn.com/video/503683214_640x360.jpg"},{"width":960,"height":540,"link":"https://i.vimeocdn.com/video/503683214_960x540.jpg"},{"width":1280,"height":720,"link":"https://i.vimeocdn.com/video/503683214_1280x720.jpg"}]},"tags":[],"stats":{"plays":24},"metadata":{"connections":{"comments":{"uri":"/videos/117102891/comments","options":["GET","POST"],"total":0},"credits":{"uri":"/videos/117102891/credits","options":["GET","POST"],"total":1},"likes":{"uri":"/videos/117102891/likes","options":["GET"],"total":0},"pictures":{"uri":"/videos/117102891/pictures","options":["GET","POST"],"total":1},"texttracks":{"uri":"/videos/117102891/texttracks","options":["GET","POST"],"total":0}},"interactions":{"watchlater":{"added":false,"added_time":null,"uri":"/users/33772623/watchlater/117102891"}}},"user":{"uri":"/users/33772623","name":"Raw
483
- 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"]},"embed":{"uri":null,"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"},"app":null,"status":"available","embed_presets":null}'
484
- http_version:
485
- recorded_at: Wed, 01 Apr 2015 08:53:24 GMT
486
- - request:
487
- method: get
488
- uri: https://api.vimeo.com/videos/110132671
489
- body:
490
- encoding: US-ASCII
491
- string: ''
492
- headers:
493
- Authorization:
494
- - bearer <VIMEO_BEARER_TOKEN>
495
- Accept:
496
- - application/json
497
- response:
498
- status:
499
- code: 200
500
- message: OK
501
- headers:
502
- Date:
503
- - Wed, 01 Apr 2015 08:53:22 GMT
504
- Server:
505
- - nginx
506
- Content-Type:
507
- - application/vnd.vimeo.video+json
508
- Cache-Control:
509
- - no-cache, max-age=315360000
510
- Expires:
511
- - Sat, 29 Mar 2025 08:53:22 GMT
512
- Content-Length:
513
- - '3659'
514
- Accept-Ranges:
515
- - bytes
516
- Via:
517
- - 1.1 varnish
518
- Age:
519
- - '0'
520
- X-Served-By:
521
- - cache-lcy1126-LCY
522
- X-Cache:
523
- - MISS
524
- X-Cache-Hits:
525
- - '0'
526
- X-Timer:
527
- - S1427878402.148802,VS0,VE335
528
- Vary:
529
- - Accept,Vimeo-Client-Id,Accept-Encoding
530
- body:
531
- encoding: UTF-8
532
- string: '{"uri":"/videos/110132671","name":"Discotheque Metamorphosis","description":null,"link":"https://vimeo.com/rawfunkmaharishi/discotheque-metamorphosis","duration":218,"width":640,"language":null,"height":360,"created_time":"2014-10-27T12:10:13+00:00","modified_time":"2015-03-23T22:08:53+00:00","content_rating":["unrated"],"license":"by-nc-sa","privacy":{"view":"anybody","embed":"public","download":true,"add":true,"comments":"anybody"},"pictures":{"uri":"/videos/110132671/pictures/494269097","active":true,"sizes":[{"width":100,"height":75,"link":"https://i.vimeocdn.com/video/494269097_100x75.jpg"},{"width":200,"height":150,"link":"https://i.vimeocdn.com/video/494269097_200x150.jpg"},{"width":295,"height":166,"link":"https://i.vimeocdn.com/video/494269097_295x166.jpg"},{"width":640,"height":360,"link":"https://i.vimeocdn.com/video/494269097_640x360.jpg"},{"width":960,"height":540,"link":"https://i.vimeocdn.com/video/494269097_960x540.jpg"}]},"tags":[],"stats":{"plays":9},"metadata":{"connections":{"comments":{"uri":"/videos/110132671/comments","options":["GET","POST"],"total":0},"credits":{"uri":"/videos/110132671/credits","options":["GET","POST"],"total":1},"likes":{"uri":"/videos/110132671/likes","options":["GET"],"total":0},"pictures":{"uri":"/videos/110132671/pictures","options":["GET","POST"],"total":1},"texttracks":{"uri":"/videos/110132671/texttracks","options":["GET","POST"],"total":0}},"interactions":{"watchlater":{"added":false,"added_time":null,"uri":"/users/33772623/watchlater/110132671"}}},"user":{"uri":"/users/33772623","name":"Raw
533
- 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"]},"embed":{"uri":null,"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"},"app":null,"status":"available","embed_presets":null}'
534
- http_version:
535
- recorded_at: Wed, 01 Apr 2015 08:53:24 GMT
536
- 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
- - Wed, 01 Apr 2015 20:06:19 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
- - Sat, 29 Mar 2025 20:06:19 GMT
31
- Content-Length:
32
- - '46'
33
- Accept-Ranges:
34
- - bytes
35
- Via:
36
- - 1.1 varnish
37
- X-Served-By:
38
- - cache-lcy1128-LCY
39
- X-Cache:
40
- - MISS
41
- X-Cache-Hits:
42
- - '0'
43
- X-Timer:
44
- - S1427918779.525635,VS0,VE83
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: Wed, 01 Apr 2015 20:06:19 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
- - Wed, 01 Apr 2015 20:06:20 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
- - Sat, 29 Mar 2025 20:06:20 GMT
80
- Content-Length:
81
- - '46'
82
- Accept-Ranges:
83
- - bytes
84
- Via:
85
- - 1.1 varnish
86
- X-Served-By:
87
- - cache-lcy1133-LCY
88
- X-Cache:
89
- - MISS
90
- X-Cache-Hits:
91
- - '0'
92
- X-Timer:
93
- - S1427918779.973163,VS0,VE88
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: Wed, 01 Apr 2015 20:06:20 GMT
101
- - request:
102
- method: get
103
- uri: https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest?key=<YOUTUBE_API_KEY>
104
- body:
105
- encoding: UTF-8
106
- string: ''
107
- headers:
108
- User-Agent:
109
- - |-
110
- Purdie/0.0.13 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
- - Wed, 01 Apr 2015 20:06:20 GMT
132
- Expires:
133
- - Wed, 01 Apr 2015 20:06:20 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: Wed, 01 Apr 2015 20:06:20 GMT
156
- recorded_with: VCR 2.9.3