jarvisbot_songfinder 1.0.0
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 +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +2 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +122 -0
- data/LICENSE.txt +21 -0
- data/README.md +91 -0
- data/Rakefile +6 -0
- data/bin/console +24 -0
- data/bin/setup +8 -0
- data/fixtures/vcr_cassettes/query_text.yml +211 -0
- data/fixtures/vcr_cassettes/query_track_delegation.yml +211 -0
- data/fixtures/vcr_cassettes/query_youtube_url.yml +140 -0
- data/fixtures/vcr_cassettes/search_query_auxiliary_provider.yml +517 -0
- data/fixtures/vcr_cassettes/search_query_not_found.yml +111 -0
- data/fixtures/vcr_cassettes/search_query_preferred_and_auxiliary.yml +211 -0
- data/fixtures/vcr_cassettes/search_query_preferred_provider.yml +211 -0
- data/fixtures/vcr_cassettes/spotify_invalid_region_restricted.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_invalid_search.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_invalid_too_long.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_valid.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_valid_clean_or_unknown.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_valid_explicit.yml +55 -0
- data/fixtures/vcr_cassettes/spotify_valid_search.yml +107 -0
- data/fixtures/vcr_cassettes/spotify_vcr_test.yml +55 -0
- data/fixtures/vcr_cassettes/url_query_known_provider.yml +187 -0
- data/fixtures/vcr_cassettes/youtube_invalid.yml +58 -0
- data/fixtures/vcr_cassettes/youtube_invalid_region_restricted.yml +147 -0
- data/fixtures/vcr_cassettes/youtube_invalid_regionrestricted.yml +147 -0
- data/fixtures/vcr_cassettes/youtube_invalid_search.yml +59 -0
- data/fixtures/vcr_cassettes/youtube_invalid_too_long.yml +140 -0
- data/fixtures/vcr_cassettes/youtube_invalid_wrong_category.yml +254 -0
- data/fixtures/vcr_cassettes/youtube_invalid_wrongcategory.yml +254 -0
- data/fixtures/vcr_cassettes/youtube_valid.yml +427 -0
- data/fixtures/vcr_cassettes/youtube_valid_search.yml +287 -0
- data/jarvisbot_songfinder.gemspec +52 -0
- data/lib/jarvisbot_songfinder.rb +21 -0
- data/lib/jarvisbot_songfinder/configuration.rb +28 -0
- data/lib/jarvisbot_songfinder/helpers/query.rb +34 -0
- data/lib/jarvisbot_songfinder/helpers/reply_message.rb +101 -0
- data/lib/jarvisbot_songfinder/helpers/search_query.rb +21 -0
- data/lib/jarvisbot_songfinder/helpers/url_query.rb +22 -0
- data/lib/jarvisbot_songfinder/providers/bandrequest.rb +36 -0
- data/lib/jarvisbot_songfinder/providers/provider.rb +64 -0
- data/lib/jarvisbot_songfinder/providers/spotify_api.rb +93 -0
- data/lib/jarvisbot_songfinder/providers/unknown_provider.rb +13 -0
- data/lib/jarvisbot_songfinder/providers/unknown_search_provider.rb +13 -0
- data/lib/jarvisbot_songfinder/providers/youtube_api.rb +137 -0
- data/lib/jarvisbot_songfinder/version.rb +3 -0
- metadata +237 -0
@@ -0,0 +1,254 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=lQvcoOzmLqs&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&part=status
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
User-Agent:
|
13
|
+
- Yt::Request (gzip)
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Expires:
|
20
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
21
|
+
Date:
|
22
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
23
|
+
Cache-Control:
|
24
|
+
- private, max-age=0, must-revalidate, no-transform
|
25
|
+
Etag:
|
26
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/aO_Udw6EuqKx4GKSDw4Xu9UUl3I"'
|
27
|
+
Vary:
|
28
|
+
- Origin
|
29
|
+
- X-Origin
|
30
|
+
Content-Type:
|
31
|
+
- application/json; charset=UTF-8
|
32
|
+
X-Content-Type-Options:
|
33
|
+
- nosniff
|
34
|
+
X-Frame-Options:
|
35
|
+
- SAMEORIGIN
|
36
|
+
X-Xss-Protection:
|
37
|
+
- 1; mode=block
|
38
|
+
Content-Length:
|
39
|
+
- '491'
|
40
|
+
Server:
|
41
|
+
- GSE
|
42
|
+
Alt-Svc:
|
43
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
44
|
+
body:
|
45
|
+
encoding: UTF-8
|
46
|
+
string: |
|
47
|
+
{
|
48
|
+
"kind": "youtube#videoListResponse",
|
49
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/aO_Udw6EuqKx4GKSDw4Xu9UUl3I\"",
|
50
|
+
"pageInfo": {
|
51
|
+
"totalResults": 1,
|
52
|
+
"resultsPerPage": 1
|
53
|
+
},
|
54
|
+
"items": [
|
55
|
+
{
|
56
|
+
"kind": "youtube#video",
|
57
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/58LfFchRN5HMMeOD6yiH4O76bVo\"",
|
58
|
+
"id": "lQvcoOzmLqs",
|
59
|
+
"status": {
|
60
|
+
"uploadStatus": "processed",
|
61
|
+
"privacyStatus": "public",
|
62
|
+
"license": "youtube",
|
63
|
+
"embeddable": true,
|
64
|
+
"publicStatsViewable": true
|
65
|
+
}
|
66
|
+
}
|
67
|
+
]
|
68
|
+
}
|
69
|
+
http_version:
|
70
|
+
recorded_at: Fri, 01 Feb 2019 09:55:52 GMT
|
71
|
+
- request:
|
72
|
+
method: get
|
73
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=lQvcoOzmLqs&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&maxResults=50&part=contentDetails
|
74
|
+
body:
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ''
|
77
|
+
headers:
|
78
|
+
Content-Length:
|
79
|
+
- '0'
|
80
|
+
User-Agent:
|
81
|
+
- Yt::Request (gzip)
|
82
|
+
response:
|
83
|
+
status:
|
84
|
+
code: 200
|
85
|
+
message: OK
|
86
|
+
headers:
|
87
|
+
Expires:
|
88
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
89
|
+
Date:
|
90
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
91
|
+
Cache-Control:
|
92
|
+
- private, max-age=300, must-revalidate, no-transform
|
93
|
+
Etag:
|
94
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/AeiQzK2SSme70r74lyCwVBW8X_s"'
|
95
|
+
Vary:
|
96
|
+
- Origin
|
97
|
+
- X-Origin
|
98
|
+
Content-Type:
|
99
|
+
- application/json; charset=UTF-8
|
100
|
+
X-Content-Type-Options:
|
101
|
+
- nosniff
|
102
|
+
X-Frame-Options:
|
103
|
+
- SAMEORIGIN
|
104
|
+
X-Xss-Protection:
|
105
|
+
- 1; mode=block
|
106
|
+
Content-Length:
|
107
|
+
- '513'
|
108
|
+
Server:
|
109
|
+
- GSE
|
110
|
+
Alt-Svc:
|
111
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
112
|
+
body:
|
113
|
+
encoding: UTF-8
|
114
|
+
string: |
|
115
|
+
{
|
116
|
+
"kind": "youtube#videoListResponse",
|
117
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/AeiQzK2SSme70r74lyCwVBW8X_s\"",
|
118
|
+
"pageInfo": {
|
119
|
+
"totalResults": 1,
|
120
|
+
"resultsPerPage": 1
|
121
|
+
},
|
122
|
+
"items": [
|
123
|
+
{
|
124
|
+
"kind": "youtube#video",
|
125
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/qTODa3DmtJlwxKFlCH0UNVYe7HM\"",
|
126
|
+
"id": "lQvcoOzmLqs",
|
127
|
+
"contentDetails": {
|
128
|
+
"duration": "PT8M27S",
|
129
|
+
"dimension": "2d",
|
130
|
+
"definition": "hd",
|
131
|
+
"caption": "false",
|
132
|
+
"licensedContent": false,
|
133
|
+
"projection": "rectangular"
|
134
|
+
}
|
135
|
+
}
|
136
|
+
]
|
137
|
+
}
|
138
|
+
http_version:
|
139
|
+
recorded_at: Fri, 01 Feb 2019 09:55:52 GMT
|
140
|
+
- request:
|
141
|
+
method: get
|
142
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=lQvcoOzmLqs&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&part=snippet
|
143
|
+
body:
|
144
|
+
encoding: US-ASCII
|
145
|
+
string: ''
|
146
|
+
headers:
|
147
|
+
Content-Length:
|
148
|
+
- '0'
|
149
|
+
User-Agent:
|
150
|
+
- Yt::Request (gzip)
|
151
|
+
response:
|
152
|
+
status:
|
153
|
+
code: 200
|
154
|
+
message: OK
|
155
|
+
headers:
|
156
|
+
Expires:
|
157
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
158
|
+
Date:
|
159
|
+
- Fri, 01 Feb 2019 09:55:52 GMT
|
160
|
+
Cache-Control:
|
161
|
+
- private, max-age=300, must-revalidate, no-transform
|
162
|
+
Etag:
|
163
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/P8l0RvbOOiYBdy94g3Q82I-afgY"'
|
164
|
+
Vary:
|
165
|
+
- Origin
|
166
|
+
- X-Origin
|
167
|
+
Content-Type:
|
168
|
+
- application/json; charset=UTF-8
|
169
|
+
X-Content-Type-Options:
|
170
|
+
- nosniff
|
171
|
+
X-Frame-Options:
|
172
|
+
- SAMEORIGIN
|
173
|
+
X-Xss-Protection:
|
174
|
+
- 1; mode=block
|
175
|
+
Content-Length:
|
176
|
+
- '3444'
|
177
|
+
Server:
|
178
|
+
- GSE
|
179
|
+
Alt-Svc:
|
180
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
181
|
+
body:
|
182
|
+
encoding: UTF-8
|
183
|
+
string: |
|
184
|
+
{
|
185
|
+
"kind": "youtube#videoListResponse",
|
186
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/P8l0RvbOOiYBdy94g3Q82I-afgY\"",
|
187
|
+
"pageInfo": {
|
188
|
+
"totalResults": 1,
|
189
|
+
"resultsPerPage": 1
|
190
|
+
},
|
191
|
+
"items": [
|
192
|
+
{
|
193
|
+
"kind": "youtube#video",
|
194
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/IQSOOWtEUu6PjBnSksDcbl3Nssg\"",
|
195
|
+
"id": "lQvcoOzmLqs",
|
196
|
+
"snippet": {
|
197
|
+
"publishedAt": "2017-01-19T20:13:27.000Z",
|
198
|
+
"channelId": "UCZsTxqu5B_7bW4AAf0QVtuA",
|
199
|
+
"title": "Marble Machine - Triple Gears Lift (Three Blocks Marble Race)",
|
200
|
+
"description": "There are endless ways to lift a ball high enough to get your marble machine running. If you can get it to the top, gravity will do the rest. With a lift that lifts three or more marbles simultaneously, and releases them to three separate tracks. Two of those tracks are connected in series, so a marble will therefore alternate between those tracks. The third track loops back onto itself.The machine has been designed for 10 mm balls as marbles.\n\nModules: independent, interchangeable, such that each contains everything necessary to execute the desired functionality.\n\nFor Specifications and Shopping here\n\nFor Kit\n\nhttps://woodmarblemachine.com\n\nFor Plans\n\nhttps://woodmotion-plan.com\n\nFacebook\n\nhttps://www.facebook.com/woodmarblemachine/\n\nEmail: \n\ncontact@woodmarblemachine.com\n\ncontact@woodmotion-plan.com",
|
201
|
+
"thumbnails": {
|
202
|
+
"default": {
|
203
|
+
"url": "https://i.ytimg.com/vi/lQvcoOzmLqs/default.jpg",
|
204
|
+
"width": 120,
|
205
|
+
"height": 90
|
206
|
+
},
|
207
|
+
"medium": {
|
208
|
+
"url": "https://i.ytimg.com/vi/lQvcoOzmLqs/mqdefault.jpg",
|
209
|
+
"width": 320,
|
210
|
+
"height": 180
|
211
|
+
},
|
212
|
+
"high": {
|
213
|
+
"url": "https://i.ytimg.com/vi/lQvcoOzmLqs/hqdefault.jpg",
|
214
|
+
"width": 480,
|
215
|
+
"height": 360
|
216
|
+
},
|
217
|
+
"standard": {
|
218
|
+
"url": "https://i.ytimg.com/vi/lQvcoOzmLqs/sddefault.jpg",
|
219
|
+
"width": 640,
|
220
|
+
"height": 480
|
221
|
+
},
|
222
|
+
"maxres": {
|
223
|
+
"url": "https://i.ytimg.com/vi/lQvcoOzmLqs/maxresdefault.jpg",
|
224
|
+
"width": 1280,
|
225
|
+
"height": 720
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"channelTitle": "Wood marble machine",
|
229
|
+
"tags": [
|
230
|
+
"amazing marble machine",
|
231
|
+
"amazing wood toy",
|
232
|
+
"Wood gear lifting",
|
233
|
+
"Best way to learn structures",
|
234
|
+
"how to lift marble",
|
235
|
+
"how it works",
|
236
|
+
"amazing marble race",
|
237
|
+
"Best structure",
|
238
|
+
"amazing lifting mechanisms",
|
239
|
+
"Wooden toy"
|
240
|
+
],
|
241
|
+
"categoryId": "28",
|
242
|
+
"liveBroadcastContent": "none",
|
243
|
+
"localized": {
|
244
|
+
"title": "Marble Machine - Triple Gears Lift (Three Blocks Marble Race)",
|
245
|
+
"description": "There are endless ways to lift a ball high enough to get your marble machine running. If you can get it to the top, gravity will do the rest. With a lift that lifts three or more marbles simultaneously, and releases them to three separate tracks. Two of those tracks are connected in series, so a marble will therefore alternate between those tracks. The third track loops back onto itself.The machine has been designed for 10 mm balls as marbles.\n\nModules: independent, interchangeable, such that each contains everything necessary to execute the desired functionality.\n\nFor Specifications and Shopping here\n\nFor Kit\n\nhttps://woodmarblemachine.com\n\nFor Plans\n\nhttps://woodmotion-plan.com\n\nFacebook\n\nhttps://www.facebook.com/woodmarblemachine/\n\nEmail: \n\ncontact@woodmarblemachine.com\n\ncontact@woodmotion-plan.com"
|
246
|
+
},
|
247
|
+
"defaultAudioLanguage": "en"
|
248
|
+
}
|
249
|
+
}
|
250
|
+
]
|
251
|
+
}
|
252
|
+
http_version:
|
253
|
+
recorded_at: Fri, 01 Feb 2019 09:55:52 GMT
|
254
|
+
recorded_with: VCR 4.0.0
|
@@ -0,0 +1,427 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=oyERJwubHWI&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&part=status
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Content-Length:
|
11
|
+
- '0'
|
12
|
+
User-Agent:
|
13
|
+
- Yt::Request (gzip)
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Expires:
|
20
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
21
|
+
Date:
|
22
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
23
|
+
Cache-Control:
|
24
|
+
- private, max-age=0, must-revalidate, no-transform
|
25
|
+
Etag:
|
26
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/eRBS5g4or69c4mu1TZhy79iur5M"'
|
27
|
+
Vary:
|
28
|
+
- Origin
|
29
|
+
- X-Origin
|
30
|
+
Content-Type:
|
31
|
+
- application/json; charset=UTF-8
|
32
|
+
X-Content-Type-Options:
|
33
|
+
- nosniff
|
34
|
+
X-Frame-Options:
|
35
|
+
- SAMEORIGIN
|
36
|
+
X-Xss-Protection:
|
37
|
+
- 1; mode=block
|
38
|
+
Content-Length:
|
39
|
+
- '491'
|
40
|
+
Server:
|
41
|
+
- GSE
|
42
|
+
Alt-Svc:
|
43
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
44
|
+
body:
|
45
|
+
encoding: UTF-8
|
46
|
+
string: |
|
47
|
+
{
|
48
|
+
"kind": "youtube#videoListResponse",
|
49
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/eRBS5g4or69c4mu1TZhy79iur5M\"",
|
50
|
+
"pageInfo": {
|
51
|
+
"totalResults": 1,
|
52
|
+
"resultsPerPage": 1
|
53
|
+
},
|
54
|
+
"items": [
|
55
|
+
{
|
56
|
+
"kind": "youtube#video",
|
57
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/dn0U2bb2XkbkUtW4oAziV97Gp4Q\"",
|
58
|
+
"id": "oyERJwubHWI",
|
59
|
+
"status": {
|
60
|
+
"uploadStatus": "processed",
|
61
|
+
"privacyStatus": "public",
|
62
|
+
"license": "youtube",
|
63
|
+
"embeddable": true,
|
64
|
+
"publicStatsViewable": true
|
65
|
+
}
|
66
|
+
}
|
67
|
+
]
|
68
|
+
}
|
69
|
+
http_version:
|
70
|
+
recorded_at: Fri, 01 Feb 2019 09:49:18 GMT
|
71
|
+
- request:
|
72
|
+
method: get
|
73
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=oyERJwubHWI&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&maxResults=50&part=contentDetails
|
74
|
+
body:
|
75
|
+
encoding: US-ASCII
|
76
|
+
string: ''
|
77
|
+
headers:
|
78
|
+
Content-Length:
|
79
|
+
- '0'
|
80
|
+
User-Agent:
|
81
|
+
- Yt::Request (gzip)
|
82
|
+
response:
|
83
|
+
status:
|
84
|
+
code: 200
|
85
|
+
message: OK
|
86
|
+
headers:
|
87
|
+
Expires:
|
88
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
89
|
+
Date:
|
90
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
91
|
+
Cache-Control:
|
92
|
+
- private, max-age=300, must-revalidate, no-transform
|
93
|
+
Etag:
|
94
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/iPxuT4CCOhQu8G5pGZafkgkq67U"'
|
95
|
+
Vary:
|
96
|
+
- Origin
|
97
|
+
- X-Origin
|
98
|
+
Content-Type:
|
99
|
+
- application/json; charset=UTF-8
|
100
|
+
X-Content-Type-Options:
|
101
|
+
- nosniff
|
102
|
+
X-Frame-Options:
|
103
|
+
- SAMEORIGIN
|
104
|
+
X-Xss-Protection:
|
105
|
+
- 1; mode=block
|
106
|
+
Content-Length:
|
107
|
+
- '3402'
|
108
|
+
Server:
|
109
|
+
- GSE
|
110
|
+
Alt-Svc:
|
111
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
112
|
+
body:
|
113
|
+
encoding: UTF-8
|
114
|
+
string: |
|
115
|
+
{
|
116
|
+
"kind": "youtube#videoListResponse",
|
117
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/iPxuT4CCOhQu8G5pGZafkgkq67U\"",
|
118
|
+
"pageInfo": {
|
119
|
+
"totalResults": 1,
|
120
|
+
"resultsPerPage": 1
|
121
|
+
},
|
122
|
+
"items": [
|
123
|
+
{
|
124
|
+
"kind": "youtube#video",
|
125
|
+
"etag": "\"XpPGQXPnxQJhLgs6enD_n8JR4Qk/18GkXZO2OtP3NbJ-r9Fr8hicWZA\"",
|
126
|
+
"id": "oyERJwubHWI",
|
127
|
+
"contentDetails": {
|
128
|
+
"duration": "PT3M36S",
|
129
|
+
"dimension": "2d",
|
130
|
+
"definition": "hd",
|
131
|
+
"caption": "false",
|
132
|
+
"licensedContent": true,
|
133
|
+
"regionRestriction": {
|
134
|
+
"allowed": [
|
135
|
+
"ZA",
|
136
|
+
"MA",
|
137
|
+
"MC",
|
138
|
+
"MD",
|
139
|
+
"ME",
|
140
|
+
"MF",
|
141
|
+
"MG",
|
142
|
+
"MH",
|
143
|
+
"ER",
|
144
|
+
"ES",
|
145
|
+
"ET",
|
146
|
+
"MN",
|
147
|
+
"MO",
|
148
|
+
"EH",
|
149
|
+
"MQ",
|
150
|
+
"MR",
|
151
|
+
"MS",
|
152
|
+
"MT",
|
153
|
+
"MU",
|
154
|
+
"MV",
|
155
|
+
"MW",
|
156
|
+
"MX",
|
157
|
+
"MY",
|
158
|
+
"MZ",
|
159
|
+
"EC",
|
160
|
+
"RE",
|
161
|
+
"EE",
|
162
|
+
"EG",
|
163
|
+
"UM",
|
164
|
+
"UA",
|
165
|
+
"UG",
|
166
|
+
"UY",
|
167
|
+
"UZ",
|
168
|
+
"FK",
|
169
|
+
"FJ",
|
170
|
+
"RS",
|
171
|
+
"BI",
|
172
|
+
"BH",
|
173
|
+
"BJ",
|
174
|
+
"BL",
|
175
|
+
"BO",
|
176
|
+
"BN",
|
177
|
+
"BA",
|
178
|
+
"ML",
|
179
|
+
"BB",
|
180
|
+
"BE",
|
181
|
+
"BD",
|
182
|
+
"BG",
|
183
|
+
"BF",
|
184
|
+
"BY",
|
185
|
+
"BZ",
|
186
|
+
"RW",
|
187
|
+
"BS",
|
188
|
+
"BR",
|
189
|
+
"BT",
|
190
|
+
"BW",
|
191
|
+
"BV",
|
192
|
+
"MP",
|
193
|
+
"SB",
|
194
|
+
"JE",
|
195
|
+
"JM",
|
196
|
+
"JO",
|
197
|
+
"GW",
|
198
|
+
"GT",
|
199
|
+
"GU",
|
200
|
+
"GR",
|
201
|
+
"RO",
|
202
|
+
"GP",
|
203
|
+
"GQ",
|
204
|
+
"GY",
|
205
|
+
"GF",
|
206
|
+
"GG",
|
207
|
+
"GD",
|
208
|
+
"GE",
|
209
|
+
"GB",
|
210
|
+
"GA",
|
211
|
+
"GN",
|
212
|
+
"GM",
|
213
|
+
"GH",
|
214
|
+
"GI",
|
215
|
+
"WF",
|
216
|
+
"OM",
|
217
|
+
"WS",
|
218
|
+
"YE",
|
219
|
+
"LC",
|
220
|
+
"DZ",
|
221
|
+
"LA",
|
222
|
+
"LK",
|
223
|
+
"LI",
|
224
|
+
"DO",
|
225
|
+
"LV",
|
226
|
+
"DM",
|
227
|
+
"LT",
|
228
|
+
"DK",
|
229
|
+
"DJ",
|
230
|
+
"DE",
|
231
|
+
"QA",
|
232
|
+
"LY",
|
233
|
+
"TO",
|
234
|
+
"TN",
|
235
|
+
"TM",
|
236
|
+
"TL",
|
237
|
+
"TK",
|
238
|
+
"TJ",
|
239
|
+
"TH",
|
240
|
+
"TG",
|
241
|
+
"TF",
|
242
|
+
"TD",
|
243
|
+
"TC",
|
244
|
+
"LU",
|
245
|
+
"TZ",
|
246
|
+
"TW",
|
247
|
+
"LS",
|
248
|
+
"TT",
|
249
|
+
"TR",
|
250
|
+
"LR",
|
251
|
+
"AL",
|
252
|
+
"AM",
|
253
|
+
"AO",
|
254
|
+
"AI",
|
255
|
+
"AD",
|
256
|
+
"AE",
|
257
|
+
"AG",
|
258
|
+
"AX",
|
259
|
+
"AZ",
|
260
|
+
"AT",
|
261
|
+
"AU",
|
262
|
+
"AW",
|
263
|
+
"AQ",
|
264
|
+
"AR",
|
265
|
+
"AS",
|
266
|
+
"IT",
|
267
|
+
"IQ",
|
268
|
+
"IR",
|
269
|
+
"IS",
|
270
|
+
"ID",
|
271
|
+
"IE",
|
272
|
+
"IL",
|
273
|
+
"IM",
|
274
|
+
"IN",
|
275
|
+
"IO",
|
276
|
+
"SZ",
|
277
|
+
"SY",
|
278
|
+
"FR",
|
279
|
+
"SR",
|
280
|
+
"ZM",
|
281
|
+
"SV",
|
282
|
+
"RU",
|
283
|
+
"SJ",
|
284
|
+
"SK",
|
285
|
+
"SH",
|
286
|
+
"SI",
|
287
|
+
"SN",
|
288
|
+
"SO",
|
289
|
+
"SL",
|
290
|
+
"SM",
|
291
|
+
"FM",
|
292
|
+
"SC",
|
293
|
+
"FO",
|
294
|
+
"SA",
|
295
|
+
"FI",
|
296
|
+
"SG",
|
297
|
+
"SD",
|
298
|
+
"SE",
|
299
|
+
"VE",
|
300
|
+
"VG",
|
301
|
+
"US",
|
302
|
+
"VC",
|
303
|
+
"NZ",
|
304
|
+
"NU",
|
305
|
+
"VN",
|
306
|
+
"VI",
|
307
|
+
"NP",
|
308
|
+
"NR",
|
309
|
+
"VU",
|
310
|
+
"NL",
|
311
|
+
"NO",
|
312
|
+
"NI",
|
313
|
+
"NE",
|
314
|
+
"NG",
|
315
|
+
"NF",
|
316
|
+
"NA",
|
317
|
+
"NC",
|
318
|
+
"GS",
|
319
|
+
"CK",
|
320
|
+
"CH",
|
321
|
+
"CI",
|
322
|
+
"CN",
|
323
|
+
"CO",
|
324
|
+
"CL",
|
325
|
+
"CM",
|
326
|
+
"CC",
|
327
|
+
"CA",
|
328
|
+
"CF",
|
329
|
+
"CG",
|
330
|
+
"CD",
|
331
|
+
"CZ",
|
332
|
+
"CX",
|
333
|
+
"CY",
|
334
|
+
"HU",
|
335
|
+
"CR",
|
336
|
+
"HT",
|
337
|
+
"CV",
|
338
|
+
"CU",
|
339
|
+
"KR",
|
340
|
+
"KP",
|
341
|
+
"KW",
|
342
|
+
"KZ",
|
343
|
+
"KY",
|
344
|
+
"KE",
|
345
|
+
"KH",
|
346
|
+
"KI",
|
347
|
+
"KN",
|
348
|
+
"KM",
|
349
|
+
"ZW",
|
350
|
+
"YT",
|
351
|
+
"ST",
|
352
|
+
"TV",
|
353
|
+
"PA",
|
354
|
+
"PG",
|
355
|
+
"PF",
|
356
|
+
"PE",
|
357
|
+
"PK",
|
358
|
+
"HR",
|
359
|
+
"PH",
|
360
|
+
"PN",
|
361
|
+
"PM",
|
362
|
+
"PL",
|
363
|
+
"HK",
|
364
|
+
"PR",
|
365
|
+
"LB",
|
366
|
+
"PW",
|
367
|
+
"HN",
|
368
|
+
"HM",
|
369
|
+
"PT",
|
370
|
+
"PY"
|
371
|
+
]
|
372
|
+
},
|
373
|
+
"projection": "rectangular"
|
374
|
+
}
|
375
|
+
}
|
376
|
+
]
|
377
|
+
}
|
378
|
+
http_version:
|
379
|
+
recorded_at: Fri, 01 Feb 2019 09:49:18 GMT
|
380
|
+
- request:
|
381
|
+
method: get
|
382
|
+
uri: https://www.googleapis.com/youtube/v3/videos?id=oyERJwubHWI&key=AIzaSyBopkXxz7Dzi9ZrFYPqjmL_JogByn-BBqI&part=snippet
|
383
|
+
body:
|
384
|
+
encoding: US-ASCII
|
385
|
+
string: ''
|
386
|
+
headers:
|
387
|
+
Content-Length:
|
388
|
+
- '0'
|
389
|
+
User-Agent:
|
390
|
+
- Yt::Request (gzip)
|
391
|
+
response:
|
392
|
+
status:
|
393
|
+
code: 200
|
394
|
+
message: OK
|
395
|
+
headers:
|
396
|
+
Expires:
|
397
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
398
|
+
Date:
|
399
|
+
- Fri, 01 Feb 2019 09:49:18 GMT
|
400
|
+
Cache-Control:
|
401
|
+
- private, max-age=300, must-revalidate, no-transform
|
402
|
+
Etag:
|
403
|
+
- '"XpPGQXPnxQJhLgs6enD_n8JR4Qk/qxYEYDi9ygm0_Nal6Zkn1JiMlzg"'
|
404
|
+
Vary:
|
405
|
+
- Origin
|
406
|
+
- X-Origin
|
407
|
+
Content-Type:
|
408
|
+
- application/json; charset=UTF-8
|
409
|
+
X-Content-Type-Options:
|
410
|
+
- nosniff
|
411
|
+
X-Frame-Options:
|
412
|
+
- SAMEORIGIN
|
413
|
+
X-Xss-Protection:
|
414
|
+
- 1; mode=block
|
415
|
+
Content-Length:
|
416
|
+
- '2395'
|
417
|
+
Server:
|
418
|
+
- GSE
|
419
|
+
Alt-Svc:
|
420
|
+
- quic=":443"; ma=2592000; v="44,43,39"
|
421
|
+
body:
|
422
|
+
encoding: ASCII-8BIT
|
423
|
+
string: !binary |-
|
424
|
+
ewogImtpbmQiOiAieW91dHViZSN2aWRlb0xpc3RSZXNwb25zZSIsCiAiZXRhZyI6ICJcIlhwUEdRWFBueFFKaExnczZlbkRfbjhKUjRRay9xeFlFWURpOXlnbTBfTmFsNlprbjFKaU1semdcIiIsCiAicGFnZUluZm8iOiB7CiAgInRvdGFsUmVzdWx0cyI6IDEsCiAgInJlc3VsdHNQZXJQYWdlIjogMQogfSwKICJpdGVtcyI6IFsKICB7CiAgICJraW5kIjogInlvdXR1YmUjdmlkZW8iLAogICAiZXRhZyI6ICJcIlhwUEdRWFBueFFKaExnczZlbkRfbjhKUjRRay9WcXR1TURSTUNIQjZhLUp3NDduU1VFamZTQm9cIiIsCiAgICJpZCI6ICJveUVSSnd1YkhXSSIsCiAgICJzbmlwcGV0IjogewogICAgInB1Ymxpc2hlZEF0IjogIjIwMTEtMDgtMTJUMTc6MDA6MDAuMDAwWiIsCiAgICAiY2hhbm5lbElkIjogIlVDcC02UGIycmludVNVYW9OUkxJSmFXdyIsCiAgICAidGl0bGUiOiAiVGhlIEtvb2tzIC0gSXMgSXQgTWUiLAogICAgImRlc2NyaXB0aW9uIjogIkJlc3QgT2bigKYgU28gRmFy4oCZIGlzIGF2YWlsYWJsZSBub3chIGh0dHA6Ly9wby5zdC9UaGVLb29rc1N0IFxuTGlzdGVuIHRvIHRoZSBicmFuZCBuZXcgc2luZ2xlIOKAmEJyb2tlbiBWb3figJkgaW5zdGFudGx5OiBodHRwczovL1RoZUtvb2tzLmxuay50by9Ccm9rZW5Wb3dJRFxuXG5Eb3dubG9hZCBvbiBpVHVuZXM6IGh0dHA6Ly9zbWFydHVybC5pdC90aGVrb29rc2p1bmtcbiBcbkZvbGxvdyBUaGUgS29va3Ncbk9mZmljaWFsIFNpdGU6IGh0dHA6Ly90aGVrb29rcy5jb20vXG5GYWNlYm9vazogaHR0cHM6Ly93d3cuZmFjZWJvb2suY29tL3RoZWtvb2tzb2ZmaWNpYWxcblR3aXR0ZXI6IGh0dHBzOi8vdHdpdHRlci5jb20vVEhFS09PS1NNVVNJQ1xuWW91dHViZTogaHR0cDovL3d3dy55b3V0dWJlLmNvbS90aGVrb29rc29mZmljaWFsXG5JbnN0YWdyYW06IGh0dHA6Ly9pbnN0YWdyYW0uY29tL3RoZWtvb2tzbXVzaWMvIiwKICAgICJ0aHVtYm5haWxzIjogewogICAgICJkZWZhdWx0IjogewogICAgICAidXJsIjogImh0dHBzOi8vaS55dGltZy5jb20vdmkvb3lFUkp3dWJIV0kvZGVmYXVsdC5qcGciLAogICAgICAid2lkdGgiOiAxMjAsCiAgICAgICJoZWlnaHQiOiA5MAogICAgIH0sCiAgICAgIm1lZGl1bSI6IHsKICAgICAgInVybCI6ICJodHRwczovL2kueXRpbWcuY29tL3ZpL295RVJKd3ViSFdJL21xZGVmYXVsdC5qcGciLAogICAgICAid2lkdGgiOiAzMjAsCiAgICAgICJoZWlnaHQiOiAxODAKICAgICB9LAogICAgICJoaWdoIjogewogICAgICAidXJsIjogImh0dHBzOi8vaS55dGltZy5jb20vdmkvb3lFUkp3dWJIV0kvaHFkZWZhdWx0LmpwZyIsCiAgICAgICJ3aWR0aCI6IDQ4MCwKICAgICAgImhlaWdodCI6IDM2MAogICAgIH0sCiAgICAgInN0YW5kYXJkIjogewogICAgICAidXJsIjogImh0dHBzOi8vaS55dGltZy5jb20vdmkvb3lFUkp3dWJIV0kvc2RkZWZhdWx0LmpwZyIsCiAgICAgICJ3aWR0aCI6IDY0MCwKICAgICAgImhlaWdodCI6IDQ4MAogICAgIH0sCiAgICAgIm1heHJlcyI6IHsKICAgICAgInVybCI6ICJodHRwczovL2kueXRpbWcuY29tL3ZpL295RVJKd3ViSFdJL21heHJlc2RlZmF1bHQuanBnIiwKICAgICAgIndpZHRoIjogMTI4MCwKICAgICAgImhlaWdodCI6IDcyMAogICAgIH0KICAgIH0sCiAgICAiY2hhbm5lbFRpdGxlIjogIlRoZUtvb2tzVkVWTyIsCiAgICAidGFncyI6IFsKICAgICAiVGhlIEtvb2tzIElzIEl0IE1lIEp1bmsgT2YgVGhlIEhlYXJ0IgogICAgXSwKICAgICJjYXRlZ29yeUlkIjogIjEwIiwKICAgICJsaXZlQnJvYWRjYXN0Q29udGVudCI6ICJub25lIiwKICAgICJsb2NhbGl6ZWQiOiB7CiAgICAgInRpdGxlIjogIlRoZSBLb29rcyAtIElzIEl0IE1lIiwKICAgICAiZGVzY3JpcHRpb24iOiAiQmVzdCBPZuKApiBTbyBGYXLigJkgaXMgYXZhaWxhYmxlIG5vdyEgaHR0cDovL3BvLnN0L1RoZUtvb2tzU3QgXG5MaXN0ZW4gdG8gdGhlIGJyYW5kIG5ldyBzaW5nbGUg4oCYQnJva2VuIFZvd+KAmSBpbnN0YW50bHk6IGh0dHBzOi8vVGhlS29va3MubG5rLnRvL0Jyb2tlblZvd0lEXG5cbkRvd25sb2FkIG9uIGlUdW5lczogaHR0cDovL3NtYXJ0dXJsLml0L3RoZWtvb2tzanVua1xuIFxuRm9sbG93IFRoZSBLb29rc1xuT2ZmaWNpYWwgU2l0ZTogaHR0cDovL3RoZWtvb2tzLmNvbS9cbkZhY2Vib29rOiBodHRwczovL3d3dy5mYWNlYm9vay5jb20vdGhla29va3NvZmZpY2lhbFxuVHdpdHRlcjogaHR0cHM6Ly90d2l0dGVyLmNvbS9USEVLT09LU01VU0lDXG5Zb3V0dWJlOiBodHRwOi8vd3d3LnlvdXR1YmUuY29tL3RoZWtvb2tzb2ZmaWNpYWxcbkluc3RhZ3JhbTogaHR0cDovL2luc3RhZ3JhbS5jb20vdGhla29va3NtdXNpYy8iCiAgICB9LAogICAgImRlZmF1bHRBdWRpb0xhbmd1YWdlIjogImVuLVVTIgogICB9CiAgfQogXQp9Cg==
|
425
|
+
http_version:
|
426
|
+
recorded_at: Fri, 01 Feb 2019 09:49:18 GMT
|
427
|
+
recorded_with: VCR 4.0.0
|