ruby-oembed 0.12.0 → 0.13.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 +5 -5
- data/.gitignore +11 -2
- data/.travis.yml +2 -5
- data/CHANGELOG.rdoc +8 -1
- data/Gemfile +10 -10
- data/README.md +2 -2
- data/Rakefile +2 -0
- data/lib/oembed/providers/embedly_urls.yml +638 -244
- data/lib/oembed/providers/noembed_urls.yml +109 -5
- data/lib/oembed/version.rb +1 -1
- data/ruby-oembed.gemspec +2 -29
- data/spec/cassettes/OEmbed_Provider.yml +882 -119
- data/spec/cassettes/OEmbed_ProviderDiscovery.yml +26007 -35598
- data/spec/cassettes/OEmbed_Providers_Slideshare.yml +1024 -790
- data/spec/cassettes/OEmbed_Providers_Twitter.yml +447 -238
- data/spec/provider_discovery_spec.rb +2 -7
- data/spec/provider_spec.rb +9 -16
- data/spec/spec_helper.rb +3 -1
- data/spec/spec_helper_examples.yml +6 -16
- metadata +5 -76
|
@@ -1,403 +1,612 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
method:
|
|
5
|
-
uri: https://api.twitter.com
|
|
6
|
-
body:
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://api.twitter.com/1/statuses/oembed.json?url=https%3A%2F%2Ftwitter.com%2FRailsGirlsSoC%2Fstatus%2F702136612822634496
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
7
9
|
headers:
|
|
8
|
-
|
|
10
|
+
Accept-Encoding:
|
|
9
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
10
|
-
|
|
12
|
+
User-Agent:
|
|
11
13
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
12
|
-
response:
|
|
13
|
-
status:
|
|
14
|
+
response:
|
|
15
|
+
status:
|
|
14
16
|
code: 200
|
|
15
17
|
message: OK
|
|
16
18
|
headers:
|
|
17
|
-
|
|
19
|
+
Cache-Control:
|
|
18
20
|
- must-revalidate, max-age=3153600000
|
|
19
|
-
|
|
21
|
+
Content-Disposition:
|
|
20
22
|
- attachment; filename=json.json
|
|
21
|
-
|
|
23
|
+
Content-Length:
|
|
22
24
|
- '511'
|
|
23
|
-
|
|
25
|
+
Content-Type:
|
|
24
26
|
- application/json; charset=utf-8
|
|
25
|
-
|
|
27
|
+
Date:
|
|
26
28
|
- Sun, 22 May 2016 04:42:50 GMT
|
|
27
|
-
|
|
29
|
+
Expires:
|
|
28
30
|
- Tue, 28 Apr 2116 04:42:50 GMT
|
|
29
|
-
|
|
31
|
+
Last-Modified:
|
|
30
32
|
- Sun, 22 May 2016 04:42:50 GMT
|
|
31
|
-
|
|
33
|
+
Server:
|
|
32
34
|
- tsa_a
|
|
33
|
-
|
|
35
|
+
Set-Cookie:
|
|
34
36
|
- guest_id=v1%3A146389217092127692; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
35
37
|
22-May-2018 04:42:50 UTC
|
|
36
|
-
|
|
38
|
+
Strict-Transport-Security:
|
|
37
39
|
- max-age=631138519
|
|
38
|
-
|
|
40
|
+
X-Connection-Hash:
|
|
39
41
|
- 94a2de9aaa8f85b2411f08f3a47cd023
|
|
40
|
-
|
|
42
|
+
X-Content-Type-Options:
|
|
41
43
|
- nosniff
|
|
42
|
-
|
|
44
|
+
X-Frame-Options:
|
|
43
45
|
- SAMEORIGIN
|
|
44
|
-
|
|
46
|
+
X-Response-Time:
|
|
45
47
|
- '16'
|
|
46
|
-
|
|
48
|
+
X-Xss-Protection:
|
|
47
49
|
- 1; mode=block
|
|
48
|
-
body:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
ZXIuY29tXC9SYWlsc0dpcmxzU29DIiwiaHRtbCI6Ilx1MDAzQ2Jsb2NrcXVv
|
|
53
|
-
dGUgY2xhc3M9XCJ0d2l0dGVyLXR3ZWV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9tSXdLUjBmekdSXHUwMDNDXC9hXHUwMDNFXHUwMDNDXC9wXHUwMDNFJm1kYXNoOyBSYWlscyBHaXJscyBTb0MgKEBSYWlsc0dpcmxzU29DKSBcdTAwM0NhIGhyZWY9XCJodHRwczpcL1wvdHdpdHRlci5jb21cL1JhaWxzR2lybHNTb0NcL3N0YXR1c1wvNzAyMTM2NjEyODIyNjM0NDk2XCJcdTAwM0VGZWJydWFyeSAyMywgMjAxNlx1MDAzQ1wvYVx1MDAzRVx1MDAzQ1wvYmxvY2txdW90ZVx1MDAzRVxuXHUwMDNDc2NyaXB0IGFzeW5jIHNyYz1cIlwvXC9wbGF0Zm9ybS50d2l0dGVyLmNvbVwvd2lkZ2V0cy5qc1wiIGNoYXJzZXQ9XCJ1dGYtOFwiXHUwMDNFXHUwMDNDXC9zY3JpcHRcdTAwM0UiLCJ3aWR0aCI6NTUwLCJ0eXBlIjoicmljaCIsImNhY2hlX2FnZSI6IjMxNTM2MDAwMDAiLCJwcm92aWRlcl9uYW1lIjoiVHdpdHRlciIsInByb3ZpZGVyX3VybCI6Imh0dHBzOlwvXC90d2l0dGVyLmNvbSIsImhlaWdodCI6bnVsbCwidmVyc2lvbiI6IjEuMCJ9
|
|
72
54
|
http_version: '1.1'
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
method:
|
|
76
|
-
uri: https://api.twitter.com
|
|
77
|
-
body:
|
|
55
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
56
|
+
- request:
|
|
57
|
+
method: get
|
|
58
|
+
uri: https://api.twitter.com/1/statuses/oembed.json?url=https%3A%2F%2Fwww.twitter.com%2Fbpoweski%2Fstatus%2F71633762
|
|
59
|
+
body:
|
|
60
|
+
encoding: US-ASCII
|
|
61
|
+
string: ''
|
|
78
62
|
headers:
|
|
79
|
-
|
|
63
|
+
Accept-Encoding:
|
|
80
64
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
81
|
-
|
|
65
|
+
User-Agent:
|
|
82
66
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
83
|
-
response:
|
|
84
|
-
status:
|
|
67
|
+
response:
|
|
68
|
+
status:
|
|
85
69
|
code: 200
|
|
86
70
|
message: OK
|
|
87
71
|
headers:
|
|
88
|
-
|
|
72
|
+
Cache-Control:
|
|
89
73
|
- must-revalidate, max-age=3153600000
|
|
90
|
-
|
|
74
|
+
Content-Disposition:
|
|
91
75
|
- attachment; filename=json.json
|
|
92
|
-
|
|
76
|
+
Content-Length:
|
|
93
77
|
- '377'
|
|
94
|
-
|
|
78
|
+
Content-Type:
|
|
95
79
|
- application/json; charset=utf-8
|
|
96
|
-
|
|
80
|
+
Date:
|
|
97
81
|
- Sun, 22 May 2016 04:42:51 GMT
|
|
98
|
-
|
|
82
|
+
Expires:
|
|
99
83
|
- Tue, 28 Apr 2116 04:42:51 GMT
|
|
100
|
-
|
|
84
|
+
Last-Modified:
|
|
101
85
|
- Sun, 22 May 2016 04:42:51 GMT
|
|
102
|
-
|
|
86
|
+
Server:
|
|
103
87
|
- tsa_a
|
|
104
|
-
|
|
88
|
+
Set-Cookie:
|
|
105
89
|
- guest_id=v1%3A146389217180318801; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
106
90
|
22-May-2018 04:42:51 UTC
|
|
107
|
-
|
|
91
|
+
Strict-Transport-Security:
|
|
108
92
|
- max-age=631138519
|
|
109
|
-
|
|
93
|
+
X-Connection-Hash:
|
|
110
94
|
- 7a694516718ce415b38581035d0967e0
|
|
111
|
-
|
|
95
|
+
X-Content-Type-Options:
|
|
112
96
|
- nosniff
|
|
113
|
-
|
|
97
|
+
X-Frame-Options:
|
|
114
98
|
- SAMEORIGIN
|
|
115
|
-
|
|
99
|
+
X-Response-Time:
|
|
116
100
|
- '15'
|
|
117
|
-
|
|
101
|
+
X-Xss-Protection:
|
|
118
102
|
- 1; mode=block
|
|
119
|
-
body:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
103
|
+
body:
|
|
104
|
+
encoding: UTF-8
|
|
105
|
+
string: '{"url":"https:\/\/twitter.com\/bpoweski\/status\/71633762","author_name":"Ben
|
|
106
|
+
Poweski","author_url":"https:\/\/twitter.com\/bpoweski","html":"\u003Cblockquote
|
|
107
|
+
class=\"twitter-tweet\"\u003E\u003Cp lang=\"en\" dir=\"ltr\"\u003Eworking
|
|
108
|
+
on my Ruby Security book\u003C\/p\u003E— Ben Poweski (@bpoweski) \u003Ca
|
|
109
|
+
href=\"https:\/\/twitter.com\/bpoweski\/status\/71633762\"\u003EMay 20, 2007\u003C\/a\u003E\u003C\/blockquote\u003E\n\u003Cscript
|
|
110
|
+
async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"\u003E\u003C\/script\u003E","width":550,"type":"rich","cache_age":"3153600000","provider_name":"Twitter","provider_url":"https:\/\/twitter.com","height":null,"version":"1.0"}'
|
|
125
111
|
http_version: '1.1'
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
method:
|
|
129
|
-
uri: https://api.twitter.com
|
|
130
|
-
body:
|
|
112
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
113
|
+
- request:
|
|
114
|
+
method: get
|
|
115
|
+
uri: https://api.twitter.com/1/statuses/oembed.xml?url=https%3A%2F%2Ftwitter.com%2FRailsGirlsSoC%2Fstatus%2F702136612822634496
|
|
116
|
+
body:
|
|
117
|
+
encoding: US-ASCII
|
|
118
|
+
string: ''
|
|
131
119
|
headers:
|
|
132
|
-
|
|
120
|
+
Accept-Encoding:
|
|
133
121
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
134
|
-
|
|
122
|
+
User-Agent:
|
|
135
123
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
136
|
-
response:
|
|
137
|
-
status:
|
|
124
|
+
response:
|
|
125
|
+
status:
|
|
138
126
|
code: 410
|
|
139
127
|
message: Gone
|
|
140
128
|
headers:
|
|
141
|
-
|
|
129
|
+
Content-Length:
|
|
142
130
|
- '181'
|
|
143
|
-
|
|
131
|
+
Content-Type:
|
|
144
132
|
- application/xml;charset=utf-8
|
|
145
|
-
|
|
133
|
+
Date:
|
|
146
134
|
- Sun, 22 May 2016 04:47:50 GMT
|
|
147
|
-
|
|
135
|
+
Server:
|
|
148
136
|
- tsa_a
|
|
149
|
-
|
|
137
|
+
Set-Cookie:
|
|
150
138
|
- guest_id=v1%3A146389247047875048; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
151
139
|
22-May-2018 04:47:50 UTC
|
|
152
|
-
|
|
140
|
+
Strict-Transport-Security:
|
|
153
141
|
- max-age=631138519
|
|
154
|
-
|
|
142
|
+
X-Connection-Hash:
|
|
155
143
|
- 4362d0593f7be75dc40b9a6f51ada770
|
|
156
|
-
|
|
144
|
+
X-Response-Time:
|
|
157
145
|
- '2'
|
|
158
|
-
body:
|
|
159
|
-
|
|
146
|
+
body:
|
|
147
|
+
encoding: UTF-8
|
|
148
|
+
string: <?xml version="1.0" encoding="UTF-8"?><errors> <error code="64">The
|
|
149
|
+
Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.</error></errors>
|
|
160
150
|
http_version: '1.1'
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
method:
|
|
164
|
-
uri: https://api.twitter.com
|
|
165
|
-
body:
|
|
151
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
152
|
+
- request:
|
|
153
|
+
method: get
|
|
154
|
+
uri: https://api.twitter.com/1/statuses/oembed.xml?url=https%3A%2F%2Fwww.twitter.com%2Fbpoweski%2Fstatus%2F71633762
|
|
155
|
+
body:
|
|
156
|
+
encoding: US-ASCII
|
|
157
|
+
string: ''
|
|
166
158
|
headers:
|
|
167
|
-
|
|
159
|
+
Accept-Encoding:
|
|
168
160
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
169
|
-
|
|
161
|
+
User-Agent:
|
|
170
162
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
171
|
-
response:
|
|
172
|
-
status:
|
|
163
|
+
response:
|
|
164
|
+
status:
|
|
173
165
|
code: 410
|
|
174
166
|
message: Gone
|
|
175
167
|
headers:
|
|
176
|
-
|
|
168
|
+
Content-Length:
|
|
177
169
|
- '181'
|
|
178
|
-
|
|
170
|
+
Content-Type:
|
|
179
171
|
- application/xml;charset=utf-8
|
|
180
|
-
|
|
172
|
+
Date:
|
|
181
173
|
- Sun, 22 May 2016 04:47:50 GMT
|
|
182
|
-
|
|
174
|
+
Server:
|
|
183
175
|
- tsa_a
|
|
184
|
-
|
|
176
|
+
Set-Cookie:
|
|
185
177
|
- guest_id=v1%3A146389247091551370; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
186
178
|
22-May-2018 04:47:50 UTC
|
|
187
|
-
|
|
179
|
+
Strict-Transport-Security:
|
|
188
180
|
- max-age=631138519
|
|
189
|
-
|
|
181
|
+
X-Connection-Hash:
|
|
190
182
|
- 0ad11ae6624c326369f0b9f878dd4faa
|
|
191
|
-
|
|
183
|
+
X-Response-Time:
|
|
192
184
|
- '3'
|
|
193
|
-
body:
|
|
194
|
-
|
|
185
|
+
body:
|
|
186
|
+
encoding: UTF-8
|
|
187
|
+
string: <?xml version="1.0" encoding="UTF-8"?><errors> <error code="64">The
|
|
188
|
+
Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.</error></errors>
|
|
195
189
|
http_version: '1.1'
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
method:
|
|
199
|
-
uri: https://publish.twitter.com
|
|
200
|
-
body:
|
|
190
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
191
|
+
- request:
|
|
192
|
+
method: get
|
|
193
|
+
uri: https://publish.twitter.com/oembed?url=https%3A%2F%2Ftwitter.com%2FRailsGirlsSoC%2Fstatus%2F702136612822634496&format=json
|
|
194
|
+
body:
|
|
195
|
+
encoding: US-ASCII
|
|
196
|
+
string: ''
|
|
201
197
|
headers:
|
|
202
|
-
|
|
198
|
+
Accept-Encoding:
|
|
203
199
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
204
|
-
|
|
200
|
+
User-Agent:
|
|
205
201
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
206
|
-
response:
|
|
207
|
-
status:
|
|
202
|
+
response:
|
|
203
|
+
status:
|
|
208
204
|
code: 200
|
|
209
205
|
message: OK
|
|
210
206
|
headers:
|
|
211
|
-
|
|
207
|
+
Cache-Control:
|
|
212
208
|
- must-revalidate, max-age=3153600000
|
|
213
|
-
|
|
209
|
+
Content-Disposition:
|
|
214
210
|
- attachment; filename=json.json
|
|
215
|
-
|
|
211
|
+
Content-Length:
|
|
216
212
|
- '511'
|
|
217
|
-
|
|
213
|
+
Content-Type:
|
|
218
214
|
- application/json; charset=utf-8
|
|
219
|
-
|
|
215
|
+
Date:
|
|
220
216
|
- Sun, 22 May 2016 05:28:56 GMT
|
|
221
|
-
|
|
217
|
+
Expires:
|
|
222
218
|
- Tue, 28 Apr 2116 05:28:56 GMT
|
|
223
|
-
|
|
219
|
+
Last-Modified:
|
|
224
220
|
- Sun, 22 May 2016 05:28:56 GMT
|
|
225
|
-
|
|
221
|
+
Server:
|
|
226
222
|
- tsa_a
|
|
227
|
-
|
|
223
|
+
Set-Cookie:
|
|
228
224
|
- guest_id=v1%3A146389493674598630; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
229
225
|
22-May-2018 05:28:56 UTC
|
|
230
|
-
|
|
226
|
+
Strict-Transport-Security:
|
|
231
227
|
- max-age=631138519
|
|
232
|
-
|
|
228
|
+
X-Connection-Hash:
|
|
233
229
|
- af69b197ce2eeb32bfa62ea1f1c8647e
|
|
234
|
-
|
|
230
|
+
X-Content-Type-Options:
|
|
235
231
|
- nosniff
|
|
236
|
-
|
|
232
|
+
X-Frame-Options:
|
|
237
233
|
- SAMEORIGIN
|
|
238
|
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+
method: get
|
|
246
|
+
uri: https://publish.twitter.com/oembed?url=https%3A%2F%2Fwww.twitter.com%2Fbpoweski%2Fstatus%2F71633762&format=json
|
|
247
|
+
body:
|
|
248
|
+
encoding: US-ASCII
|
|
249
|
+
string: ''
|
|
272
250
|
headers:
|
|
273
|
-
|
|
251
|
+
Accept-Encoding:
|
|
274
252
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
275
|
-
|
|
253
|
+
User-Agent:
|
|
276
254
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
277
|
-
response:
|
|
278
|
-
status:
|
|
255
|
+
response:
|
|
256
|
+
status:
|
|
279
257
|
code: 200
|
|
280
258
|
message: OK
|
|
281
259
|
headers:
|
|
282
|
-
|
|
260
|
+
Cache-Control:
|
|
283
261
|
- must-revalidate, max-age=3153600000
|
|
284
|
-
|
|
262
|
+
Content-Disposition:
|
|
285
263
|
- attachment; filename=json.json
|
|
286
|
-
|
|
264
|
+
Content-Length:
|
|
287
265
|
- '377'
|
|
288
|
-
|
|
266
|
+
Content-Type:
|
|
289
267
|
- application/json; charset=utf-8
|
|
290
|
-
|
|
268
|
+
Date:
|
|
291
269
|
- Sun, 22 May 2016 05:28:58 GMT
|
|
292
|
-
|
|
270
|
+
Expires:
|
|
293
271
|
- Tue, 28 Apr 2116 05:28:58 GMT
|
|
294
|
-
|
|
272
|
+
Last-Modified:
|
|
295
273
|
- Sun, 22 May 2016 05:28:58 GMT
|
|
296
|
-
|
|
274
|
+
Server:
|
|
297
275
|
- tsa_a
|
|
298
|
-
|
|
276
|
+
Set-Cookie:
|
|
299
277
|
- guest_id=v1%3A146389493840609737; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
300
278
|
22-May-2018 05:28:58 UTC
|
|
301
|
-
|
|
279
|
+
Strict-Transport-Security:
|
|
302
280
|
- max-age=631138519
|
|
303
|
-
|
|
281
|
+
X-Connection-Hash:
|
|
304
282
|
- 753e3b3ca5ace007543400fc1a736700
|
|
305
|
-
|
|
283
|
+
X-Content-Type-Options:
|
|
306
284
|
- nosniff
|
|
307
|
-
|
|
285
|
+
X-Frame-Options:
|
|
308
286
|
- SAMEORIGIN
|
|
309
|
-
|
|
287
|
+
X-Response-Time:
|
|
310
288
|
- '15'
|
|
311
|
-
|
|
289
|
+
X-Xss-Protection:
|
|
312
290
|
- 1; mode=block
|
|
313
|
-
body:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
291
|
+
body:
|
|
292
|
+
encoding: UTF-8
|
|
293
|
+
string: '{"url":"https:\/\/twitter.com\/bpoweski\/status\/71633762","author_name":"Ben
|
|
294
|
+
Poweski","author_url":"https:\/\/twitter.com\/bpoweski","html":"\u003Cblockquote
|
|
295
|
+
class=\"twitter-tweet\"\u003E\u003Cp lang=\"en\" dir=\"ltr\"\u003Eworking
|
|
296
|
+
on my Ruby Security book\u003C\/p\u003E— Ben Poweski (@bpoweski) \u003Ca
|
|
297
|
+
href=\"https:\/\/twitter.com\/bpoweski\/status\/71633762\"\u003EMay 20, 2007\u003C\/a\u003E\u003C\/blockquote\u003E\n\u003Cscript
|
|
298
|
+
async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"\u003E\u003C\/script\u003E","width":550,"type":"rich","cache_age":"3153600000","provider_name":"Twitter","provider_url":"https:\/\/twitter.com","height":null,"version":"1.0"}'
|
|
319
299
|
http_version: '1.1'
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
method:
|
|
323
|
-
uri: https://publish.twitter.com
|
|
324
|
-
body:
|
|
300
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
301
|
+
- request:
|
|
302
|
+
method: get
|
|
303
|
+
uri: https://publish.twitter.com/oembed?url=https%3A%2F%2Ftwitter.com%2FRailsGirlsSoC%2Fstatus%2F702136612822634496&format=xml
|
|
304
|
+
body:
|
|
305
|
+
encoding: US-ASCII
|
|
306
|
+
string: ''
|
|
325
307
|
headers:
|
|
326
|
-
|
|
308
|
+
Accept-Encoding:
|
|
327
309
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
328
|
-
|
|
310
|
+
User-Agent:
|
|
329
311
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
330
|
-
response:
|
|
331
|
-
status:
|
|
312
|
+
response:
|
|
313
|
+
status:
|
|
332
314
|
code: 400
|
|
333
315
|
message: Bad Request
|
|
334
316
|
headers:
|
|
335
|
-
|
|
317
|
+
Content-Disposition:
|
|
336
318
|
- attachment; filename=json.json
|
|
337
|
-
|
|
319
|
+
Content-Length:
|
|
338
320
|
- '60'
|
|
339
|
-
|
|
321
|
+
Content-Type:
|
|
340
322
|
- application/json; charset=utf-8
|
|
341
|
-
|
|
323
|
+
Date:
|
|
342
324
|
- Sun, 22 May 2016 05:28:58 GMT
|
|
343
|
-
|
|
325
|
+
Server:
|
|
344
326
|
- tsa_a
|
|
345
|
-
|
|
327
|
+
Set-Cookie:
|
|
346
328
|
- guest_id=v1%3A146389493885489875; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
347
329
|
22-May-2018 05:28:58 UTC
|
|
348
|
-
|
|
330
|
+
Strict-Transport-Security:
|
|
349
331
|
- max-age=631138519
|
|
350
|
-
|
|
332
|
+
X-Connection-Hash:
|
|
351
333
|
- a457da9c9aa85d3abd203831bbbb83d3
|
|
352
|
-
|
|
334
|
+
X-Content-Type-Options:
|
|
353
335
|
- nosniff
|
|
354
|
-
|
|
336
|
+
X-Frame-Options:
|
|
355
337
|
- SAMEORIGIN
|
|
356
|
-
|
|
338
|
+
X-Response-Time:
|
|
357
339
|
- '7'
|
|
358
|
-
|
|
340
|
+
X-Xss-Protection:
|
|
359
341
|
- 1; mode=block
|
|
360
|
-
body:
|
|
342
|
+
body:
|
|
343
|
+
encoding: UTF-8
|
|
344
|
+
string: '{"errors":["xml not implemented"]}'
|
|
361
345
|
http_version: '1.1'
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
method:
|
|
365
|
-
uri: https://publish.twitter.com
|
|
366
|
-
body:
|
|
346
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
347
|
+
- request:
|
|
348
|
+
method: get
|
|
349
|
+
uri: https://publish.twitter.com/oembed?url=https%3A%2F%2Fwww.twitter.com%2Fbpoweski%2Fstatus%2F71633762&format=xml
|
|
350
|
+
body:
|
|
351
|
+
encoding: US-ASCII
|
|
352
|
+
string: ''
|
|
367
353
|
headers:
|
|
368
|
-
|
|
354
|
+
Accept-Encoding:
|
|
369
355
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
370
|
-
|
|
356
|
+
User-Agent:
|
|
371
357
|
- Mozilla/5.0 (compatible; ruby-oembed/0.10.0)
|
|
372
|
-
response:
|
|
373
|
-
status:
|
|
358
|
+
response:
|
|
359
|
+
status:
|
|
374
360
|
code: 400
|
|
375
361
|
message: Bad Request
|
|
376
362
|
headers:
|
|
377
|
-
|
|
363
|
+
Content-Disposition:
|
|
378
364
|
- attachment; filename=json.json
|
|
379
|
-
|
|
365
|
+
Content-Length:
|
|
380
366
|
- '60'
|
|
381
|
-
|
|
367
|
+
Content-Type:
|
|
382
368
|
- application/json; charset=utf-8
|
|
383
|
-
|
|
369
|
+
Date:
|
|
384
370
|
- Sun, 22 May 2016 05:28:59 GMT
|
|
385
|
-
|
|
371
|
+
Server:
|
|
386
372
|
- tsa_a
|
|
387
|
-
|
|
373
|
+
Set-Cookie:
|
|
388
374
|
- guest_id=v1%3A146389493910837135; Domain=.twitter.com; Path=/; Expires=Tue,
|
|
389
375
|
22-May-2018 05:28:59 UTC
|
|
390
|
-
|
|
376
|
+
Strict-Transport-Security:
|
|
391
377
|
- max-age=631138519
|
|
392
|
-
|
|
378
|
+
X-Connection-Hash:
|
|
393
379
|
- 3543953c1c553fbcf1c441417b26f66d
|
|
394
|
-
|
|
380
|
+
X-Content-Type-Options:
|
|
395
381
|
- nosniff
|
|
396
|
-
|
|
382
|
+
X-Frame-Options:
|
|
397
383
|
- SAMEORIGIN
|
|
398
|
-
|
|
384
|
+
X-Response-Time:
|
|
399
385
|
- '6'
|
|
400
|
-
|
|
386
|
+
X-Xss-Protection:
|
|
401
387
|
- 1; mode=block
|
|
402
|
-
body:
|
|
388
|
+
body:
|
|
389
|
+
encoding: UTF-8
|
|
390
|
+
string: '{"errors":["xml not implemented"]}'
|
|
403
391
|
http_version: '1.1'
|
|
392
|
+
recorded_at: Sat, 28 Mar 2020 02:32:33 GMT
|
|
393
|
+
- request:
|
|
394
|
+
method: get
|
|
395
|
+
uri: https://publish.twitter.com/oembed?format=json&url=https://twitter.com/RailsGirlsSoC/status/702136612822634496
|
|
396
|
+
body:
|
|
397
|
+
encoding: US-ASCII
|
|
398
|
+
string: ''
|
|
399
|
+
headers:
|
|
400
|
+
Accept-Encoding:
|
|
401
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
402
|
+
Accept:
|
|
403
|
+
- "*/*"
|
|
404
|
+
User-Agent:
|
|
405
|
+
- Mozilla/5.0 (compatible; ruby-oembed/0.12.0)
|
|
406
|
+
response:
|
|
407
|
+
status:
|
|
408
|
+
code: 200
|
|
409
|
+
message: OK
|
|
410
|
+
headers:
|
|
411
|
+
Cache-Control:
|
|
412
|
+
- must-revalidate, max-age=3153600000
|
|
413
|
+
Content-Disposition:
|
|
414
|
+
- attachment; filename=json.json
|
|
415
|
+
Content-Length:
|
|
416
|
+
- '534'
|
|
417
|
+
Content-Type:
|
|
418
|
+
- application/json; charset=utf-8
|
|
419
|
+
Date:
|
|
420
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
421
|
+
Expires:
|
|
422
|
+
- Mon, 04 Mar 2120 02:57:13 GMT
|
|
423
|
+
Last-Modified:
|
|
424
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
425
|
+
Server:
|
|
426
|
+
- tsa_b
|
|
427
|
+
Set-Cookie:
|
|
428
|
+
- guest_id=v1%3A158536423309272551; Max-Age=63072000; Expires=Mon, 28 Mar 2022
|
|
429
|
+
02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
430
|
+
- personalization_id="v1_KiUPAkKw0EcXtxGVGK/V+g=="; Max-Age=63072000; Expires=Mon,
|
|
431
|
+
28 Mar 2022 02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
432
|
+
Strict-Transport-Security:
|
|
433
|
+
- max-age=631138519
|
|
434
|
+
X-Connection-Hash:
|
|
435
|
+
- 59bf8165569d5ff7d12803bcf8cb4a3d
|
|
436
|
+
X-Content-Type-Options:
|
|
437
|
+
- nosniff
|
|
438
|
+
X-Frame-Options:
|
|
439
|
+
- SAMEORIGIN
|
|
440
|
+
X-Response-Time:
|
|
441
|
+
- '13'
|
|
442
|
+
X-Xss-Protection:
|
|
443
|
+
- '0'
|
|
444
|
+
body:
|
|
445
|
+
encoding: ASCII-8BIT
|
|
446
|
+
string: !binary |-
|
|
447
|
+
eyJ1cmwiOiJodHRwczpcL1wvdHdpdHRlci5jb21cL1JhaWxzR2lybHNTb0NcL3N0YXR1c1wvNzAyMTM2NjEyODIyNjM0NDk2IiwiYXV0aG9yX25hbWUiOiJSYWlscyBHaXJscyBTdW1tZXIgb2YgQ29kZSIsImF1dGhvcl91cmwiOiJodHRwczpcL1wvdHdpdHRlci5jb21cL1JhaWxzR2lybHNTb0MiLCJodG1sIjoiXHUwMDNDYmxvY2txdW90ZSBjbGFzcz1cInR3aXR0ZXItdHdlZXRcIlx1MDAzRVx1MDAzQ3AgbGFuZz1cImVuXCIgZGlyPVwibHRyXCJcdTAwM0VPdXIgMjAxNiBmdW5kcmFpc2luZyBjYW1wYWlnbiBpcyBub3cgb3BlbiEhIExldOKAmXMgbWFrZSBhbm90aGVyIGFtYXppbmcgc3VtbWVyIGhhcHBlbiHinKhcdUQ4M0RcdURDOUNcdUQ4M0RcdURDQUFcdUQ4M0RcdURDOUHinKhcdUQ4M0RcdURDNDkgXHUwMDNDYSBocmVmPVwiaHR0cHM6XC9cL3QuY29cL1I4SmczNnhhUXhcIlx1MDAzRWh0dHBzOlwvXC90LmNvXC9SOEpnMzZ4YVF4XHUwMDNDXC9hXHUwMDNFIFx1MDAzQ2EgaHJlZj1cImh0dHBzOlwvXC90LmNvXC9tSXdLUjBmekdSXCJcdTAwM0VwaWMudHdpdHRlci5jb21cL21Jd0tSMGZ6R1JcdTAwM0NcL2FcdTAwM0VcdTAwM0NcL3BcdTAwM0UmbWRhc2g7IFJhaWxzIEdpcmxzIFN1bW1lciBvZiBDb2RlIChAUmFpbHNHaXJsc1NvQykgXHUwMDNDYSBocmVmPVwiaHR0cHM6XC9cL3R3aXR0ZXIuY29tXC9SYWlsc0dpcmxzU29DXC9zdGF0dXNcLzcwMjEzNjYxMjgyMjYzNDQ5Nj9yZWZfc3JjPXR3c3JjJTVFdGZ3XCJcdTAwM0VGZWJydWFyeSAyMywgMjAxNlx1MDAzQ1wvYVx1MDAzRVx1MDAzQ1wvYmxvY2txdW90ZVx1MDAzRVxuXHUwMDNDc2NyaXB0IGFzeW5jIHNyYz1cImh0dHBzOlwvXC9wbGF0Zm9ybS50d2l0dGVyLmNvbVwvd2lkZ2V0cy5qc1wiIGNoYXJzZXQ9XCJ1dGYtOFwiXHUwMDNFXHUwMDNDXC9zY3JpcHRcdTAwM0VcbiIsIndpZHRoIjo1NTAsImhlaWdodCI6bnVsbCwidHlwZSI6InJpY2giLCJjYWNoZV9hZ2UiOiIzMTUzNjAwMDAwIiwicHJvdmlkZXJfbmFtZSI6IlR3aXR0ZXIiLCJwcm92aWRlcl91cmwiOiJodHRwczpcL1wvdHdpdHRlci5jb20iLCJ2ZXJzaW9uIjoiMS4wIn0=
|
|
448
|
+
http_version: null
|
|
449
|
+
recorded_at: Sat, 28 Mar 2020 02:57:13 GMT
|
|
450
|
+
- request:
|
|
451
|
+
method: get
|
|
452
|
+
uri: https://publish.twitter.com/oembed?format=json&url=https://www.twitter.com/bpoweski/status/71633762
|
|
453
|
+
body:
|
|
454
|
+
encoding: US-ASCII
|
|
455
|
+
string: ''
|
|
456
|
+
headers:
|
|
457
|
+
Accept-Encoding:
|
|
458
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
459
|
+
Accept:
|
|
460
|
+
- "*/*"
|
|
461
|
+
User-Agent:
|
|
462
|
+
- Mozilla/5.0 (compatible; ruby-oembed/0.12.0)
|
|
463
|
+
response:
|
|
464
|
+
status:
|
|
465
|
+
code: 200
|
|
466
|
+
message: OK
|
|
467
|
+
headers:
|
|
468
|
+
Cache-Control:
|
|
469
|
+
- must-revalidate, max-age=3153600000
|
|
470
|
+
Content-Disposition:
|
|
471
|
+
- attachment; filename=json.json
|
|
472
|
+
Content-Length:
|
|
473
|
+
- '390'
|
|
474
|
+
Content-Type:
|
|
475
|
+
- application/json; charset=utf-8
|
|
476
|
+
Date:
|
|
477
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
478
|
+
Expires:
|
|
479
|
+
- Mon, 04 Mar 2120 02:57:13 GMT
|
|
480
|
+
Last-Modified:
|
|
481
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
482
|
+
Server:
|
|
483
|
+
- tsa_b
|
|
484
|
+
Set-Cookie:
|
|
485
|
+
- guest_id=v1%3A158536423333913733; Max-Age=63072000; Expires=Mon, 28 Mar 2022
|
|
486
|
+
02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
487
|
+
- personalization_id="v1_IZHXNs49gzXyq6HVztwoIA=="; Max-Age=63072000; Expires=Mon,
|
|
488
|
+
28 Mar 2022 02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
489
|
+
Strict-Transport-Security:
|
|
490
|
+
- max-age=631138519
|
|
491
|
+
X-Connection-Hash:
|
|
492
|
+
- c8cde87a8443acca9f0c0d47bc2aca11
|
|
493
|
+
X-Content-Type-Options:
|
|
494
|
+
- nosniff
|
|
495
|
+
X-Frame-Options:
|
|
496
|
+
- SAMEORIGIN
|
|
497
|
+
X-Response-Time:
|
|
498
|
+
- '17'
|
|
499
|
+
X-Xss-Protection:
|
|
500
|
+
- '0'
|
|
501
|
+
body:
|
|
502
|
+
encoding: ASCII-8BIT
|
|
503
|
+
string: '{"url":"https:\/\/twitter.com\/bpoweski\/status\/71633762","author_name":"Ben
|
|
504
|
+
Poweski","author_url":"https:\/\/twitter.com\/bpoweski","html":"\u003Cblockquote
|
|
505
|
+
class=\"twitter-tweet\"\u003E\u003Cp lang=\"en\" dir=\"ltr\"\u003Eworking
|
|
506
|
+
on my Ruby Security book\u003C\/p\u003E— Ben Poweski (@bpoweski) \u003Ca
|
|
507
|
+
href=\"https:\/\/twitter.com\/bpoweski\/status\/71633762?ref_src=twsrc%5Etfw\"\u003EMay
|
|
508
|
+
20, 2007\u003C\/a\u003E\u003C\/blockquote\u003E\n\u003Cscript async src=\"https:\/\/platform.twitter.com\/widgets.js\"
|
|
509
|
+
charset=\"utf-8\"\u003E\u003C\/script\u003E\n","width":550,"height":null,"type":"rich","cache_age":"3153600000","provider_name":"Twitter","provider_url":"https:\/\/twitter.com","version":"1.0"}'
|
|
510
|
+
http_version: null
|
|
511
|
+
recorded_at: Sat, 28 Mar 2020 02:57:13 GMT
|
|
512
|
+
- request:
|
|
513
|
+
method: get
|
|
514
|
+
uri: https://publish.twitter.com/oembed?format=xml&url=https://twitter.com/RailsGirlsSoC/status/702136612822634496
|
|
515
|
+
body:
|
|
516
|
+
encoding: US-ASCII
|
|
517
|
+
string: ''
|
|
518
|
+
headers:
|
|
519
|
+
Accept-Encoding:
|
|
520
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
521
|
+
Accept:
|
|
522
|
+
- "*/*"
|
|
523
|
+
User-Agent:
|
|
524
|
+
- Mozilla/5.0 (compatible; ruby-oembed/0.12.0)
|
|
525
|
+
response:
|
|
526
|
+
status:
|
|
527
|
+
code: 400
|
|
528
|
+
message: Bad Request
|
|
529
|
+
headers:
|
|
530
|
+
Content-Disposition:
|
|
531
|
+
- attachment; filename=json.json
|
|
532
|
+
Content-Length:
|
|
533
|
+
- '82'
|
|
534
|
+
Content-Type:
|
|
535
|
+
- application/json; charset=utf-8
|
|
536
|
+
Date:
|
|
537
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
538
|
+
Server:
|
|
539
|
+
- tsa_b
|
|
540
|
+
Set-Cookie:
|
|
541
|
+
- guest_id=v1%3A158536423357150992; Max-Age=63072000; Expires=Mon, 28 Mar 2022
|
|
542
|
+
02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
543
|
+
- personalization_id="v1_1iBNx2XMQpbCzil5XE4fYA=="; Max-Age=63072000; Expires=Mon,
|
|
544
|
+
28 Mar 2022 02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
545
|
+
Strict-Transport-Security:
|
|
546
|
+
- max-age=631138519
|
|
547
|
+
X-Connection-Hash:
|
|
548
|
+
- 8ebc794f0b8d456857bd216adbc36041
|
|
549
|
+
X-Content-Type-Options:
|
|
550
|
+
- nosniff
|
|
551
|
+
X-Frame-Options:
|
|
552
|
+
- SAMEORIGIN
|
|
553
|
+
X-Response-Time:
|
|
554
|
+
- '5'
|
|
555
|
+
X-Xss-Protection:
|
|
556
|
+
- '0'
|
|
557
|
+
body:
|
|
558
|
+
encoding: ASCII-8BIT
|
|
559
|
+
string: '{"errors":[{"code":356,"message":"xml not implemented"}]}'
|
|
560
|
+
http_version: null
|
|
561
|
+
recorded_at: Sat, 28 Mar 2020 02:57:13 GMT
|
|
562
|
+
- request:
|
|
563
|
+
method: get
|
|
564
|
+
uri: https://publish.twitter.com/oembed?format=xml&url=https://www.twitter.com/bpoweski/status/71633762
|
|
565
|
+
body:
|
|
566
|
+
encoding: US-ASCII
|
|
567
|
+
string: ''
|
|
568
|
+
headers:
|
|
569
|
+
Accept-Encoding:
|
|
570
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
571
|
+
Accept:
|
|
572
|
+
- "*/*"
|
|
573
|
+
User-Agent:
|
|
574
|
+
- Mozilla/5.0 (compatible; ruby-oembed/0.12.0)
|
|
575
|
+
response:
|
|
576
|
+
status:
|
|
577
|
+
code: 400
|
|
578
|
+
message: Bad Request
|
|
579
|
+
headers:
|
|
580
|
+
Content-Disposition:
|
|
581
|
+
- attachment; filename=json.json
|
|
582
|
+
Content-Length:
|
|
583
|
+
- '82'
|
|
584
|
+
Content-Type:
|
|
585
|
+
- application/json; charset=utf-8
|
|
586
|
+
Date:
|
|
587
|
+
- Sat, 28 Mar 2020 02:57:13 GMT
|
|
588
|
+
Server:
|
|
589
|
+
- tsa_b
|
|
590
|
+
Set-Cookie:
|
|
591
|
+
- guest_id=v1%3A158536423380340030; Max-Age=63072000; Expires=Mon, 28 Mar 2022
|
|
592
|
+
02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
593
|
+
- personalization_id="v1_2BcqqmIDYZ4fd9wqkZG0lg=="; Max-Age=63072000; Expires=Mon,
|
|
594
|
+
28 Mar 2022 02:57:13 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None
|
|
595
|
+
Strict-Transport-Security:
|
|
596
|
+
- max-age=631138519
|
|
597
|
+
X-Connection-Hash:
|
|
598
|
+
- 7adc752de391db7dc78aaf4c394223fd
|
|
599
|
+
X-Content-Type-Options:
|
|
600
|
+
- nosniff
|
|
601
|
+
X-Frame-Options:
|
|
602
|
+
- SAMEORIGIN
|
|
603
|
+
X-Response-Time:
|
|
604
|
+
- '5'
|
|
605
|
+
X-Xss-Protection:
|
|
606
|
+
- '0'
|
|
607
|
+
body:
|
|
608
|
+
encoding: ASCII-8BIT
|
|
609
|
+
string: '{"errors":[{"code":356,"message":"xml not implemented"}]}'
|
|
610
|
+
http_version: null
|
|
611
|
+
recorded_at: Sat, 28 Mar 2020 02:57:13 GMT
|
|
612
|
+
recorded_with: VCR 5.1.0
|