oh-my-embed 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 +9 -0
- data/.rspec +2 -0
- data/.travis.yml +9 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +164 -0
- data/Rakefile +6 -0
- data/bin/console +17 -0
- data/bin/setup +8 -0
- data/lib/oh_my_embed.rb +52 -0
- data/lib/oh_my_embed/crawler.rb +77 -0
- data/lib/oh_my_embed/provider.rb +116 -0
- data/lib/oh_my_embed/providers/facebook_post.rb +20 -0
- data/lib/oh_my_embed/providers/facebook_video.rb +15 -0
- data/lib/oh_my_embed/providers/flickr.rb +15 -0
- data/lib/oh_my_embed/providers/instagram.rb +15 -0
- data/lib/oh_my_embed/providers/kickstarter.rb +15 -0
- data/lib/oh_my_embed/providers/slideshare.rb +19 -0
- data/lib/oh_my_embed/providers/soundcloud.rb +14 -0
- data/lib/oh_my_embed/providers/spotify.rb +17 -0
- data/lib/oh_my_embed/providers/twitter.rb +14 -0
- data/lib/oh_my_embed/providers/youtube.rb +18 -0
- data/lib/oh_my_embed/response.rb +110 -0
- data/lib/oh_my_embed/version.rb +3 -0
- data/oh-my-embed.gemspec +33 -0
- data/spec/fixtures/vcr_cassettes/facebook_posts.yml +65 -0
- data/spec/fixtures/vcr_cassettes/facebook_videos.yml +65 -0
- data/spec/fixtures/vcr_cassettes/flickr.yml +90 -0
- data/spec/fixtures/vcr_cassettes/instagram.yml +75 -0
- data/spec/fixtures/vcr_cassettes/kickstarter.yml +65 -0
- data/spec/fixtures/vcr_cassettes/slideshare.yml +87 -0
- data/spec/fixtures/vcr_cassettes/soundcloud.yml +57 -0
- data/spec/fixtures/vcr_cassettes/spotify.yml +44 -0
- data/spec/fixtures/vcr_cassettes/twitter.yml +66 -0
- data/spec/fixtures/vcr_cassettes/youtube.yml +57 -0
- data/spec/oh_my_embed/crawler_spec.rb +99 -0
- data/spec/oh_my_embed/provider_spec.rb +103 -0
- data/spec/oh_my_embed/providers/facebook_post_spec.rb +40 -0
- data/spec/oh_my_embed/providers/facebook_video_spec.rb +40 -0
- data/spec/oh_my_embed/providers/flickr_spec.rb +44 -0
- data/spec/oh_my_embed/providers/instagram_spec.rb +44 -0
- data/spec/oh_my_embed/providers/kickstarter_spec.rb +44 -0
- data/spec/oh_my_embed/providers/slideshare_spec.rb +44 -0
- data/spec/oh_my_embed/providers/soundcloud_spec.rb +44 -0
- data/spec/oh_my_embed/providers/spotify_spec.rb +41 -0
- data/spec/oh_my_embed/providers/twitter_spec.rb +40 -0
- data/spec/oh_my_embed/providers/youtube_spec.rb +44 -0
- data/spec/oh_my_embed/response_spec.rb +174 -0
- data/spec/oh_my_embed_spec.rb +7 -0
- data/spec/spec_helper.rb +17 -0
- metadata +234 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.flickr.com/services/oembed/?format=json&url=https://www.flickr.com/photos/66038491@N06/26861401435/in/explore-2016-05-07/
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Sun, 08 May 2016 11:40:25 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json
|
25
|
+
Content-Length:
|
26
|
+
- '469'
|
27
|
+
P3p:
|
28
|
+
- policyref="https://policies.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM
|
29
|
+
DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND
|
30
|
+
PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
|
31
|
+
Set-Cookie:
|
32
|
+
- flrb=38; expires=Sun, 08-May-2016 12:40:25 GMT; path=/; domain=.flickr.com;
|
33
|
+
httponly
|
34
|
+
- flrbcr=1462707625-b67a3d9b0854c842ce53753e27d64234075acae7; expires=Fri, 04-Nov-2016
|
35
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
36
|
+
- flrbgdrp=1462707625-4bef76fc70128fe2d5e12762eef9e22e79aa7c17; expires=Fri,
|
37
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
38
|
+
- flrbgmrp=1462707625-ec8251e42ce735707df484b5897653b576bc89e0; expires=Fri,
|
39
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
40
|
+
- flrbgrp=1462707625-6ae545335b071762e4b82d69e93fad7e8b1dee32; expires=Fri,
|
41
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
42
|
+
- flrbp=1462707625-e00b0e2b6460b7887d36e964b61257e6be46813a; expires=Fri, 04-Nov-2016
|
43
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
44
|
+
- flrbra=1462707625-efffcc30db4701886336e10e336e43e83ecf6213; expires=Fri, 04-Nov-2016
|
45
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
46
|
+
- flrbras=1462707625-52a1f0b599c56a17d6892637eed1ae7d3cae8a03; expires=Fri,
|
47
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
48
|
+
- flrbre=1462707625-11de9df7ec4a347965b44c5fb975ecf049c7a4c5; expires=Fri, 04-Nov-2016
|
49
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
50
|
+
- flrbrf=1462707625-53f18346c2fb15d0c5a996e0815e3d3a98cab359; expires=Fri, 04-Nov-2016
|
51
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
52
|
+
- flrbrgs=1462707625-9edf83e5ae95e7661cccdee2b2d4a0dd2b1c412b; expires=Fri,
|
53
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
54
|
+
- flrbrp=1462707625-f132f53f1bbbb806053439cd8ea0eb8edfecf1e1; expires=Fri, 04-Nov-2016
|
55
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
56
|
+
- flrbrps=1462707625-ecffa6ee671eb9c904dfe1b6c7fbcfea32c1136f; expires=Fri,
|
57
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
58
|
+
- flrbrst=1462707625-626662e8137b6b90d32fd96b0ee9616468974c06; expires=Fri,
|
59
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
60
|
+
- flrbs=1462707625-ebc58ed661a0b3f0b6060d18521809fcb596116d; expires=Fri, 04-Nov-2016
|
61
|
+
11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
62
|
+
- flrtags=1462707625-c3553fd8df0f152d5ee19d383a2f970731d937e8; expires=Fri,
|
63
|
+
04-Nov-2016 11:40:25 GMT; path=/; domain=.flickr.com; httponly
|
64
|
+
- localization=en-us%3Bde%3Bde; expires=Sun, 06-May-2018 11:40:25 GMT; path=/;
|
65
|
+
domain=.flickr.com
|
66
|
+
- xb=062622; expires=Wed, 09-May-2018 11:40:25 GMT; path=/; domain=.flickr.com
|
67
|
+
Cache-Control:
|
68
|
+
- private
|
69
|
+
X-Served-By:
|
70
|
+
- www251.flickr.bf1.yahoo.com
|
71
|
+
Vary:
|
72
|
+
- Accept-Encoding
|
73
|
+
Age:
|
74
|
+
- '3'
|
75
|
+
Via:
|
76
|
+
- http/1.1 fts109.flickr.bf1.yahoo.com (ApacheTrafficServer [cMsSf ]), http/1.1
|
77
|
+
r05.ycpi.dea.yahoo.net (ApacheTrafficServer [cMsSf ])
|
78
|
+
Server:
|
79
|
+
- ATS
|
80
|
+
Connection:
|
81
|
+
- keep-alive
|
82
|
+
Y-Trace:
|
83
|
+
- BAEAQAAAAAAchDpGnO0DPwAAAAAAAAAA.W.ofeoVHYkAAAAAAAAAAAAFMlMoc1MpAAUyUyh1zva5cLpGAAAAAA--
|
84
|
+
body:
|
85
|
+
encoding: ASCII-8BIT
|
86
|
+
string: |
|
87
|
+
{"type":"photo","flickr_type":"photo","title":"T-21","author_name":"BeyondBrickz","author_url":"https:\/\/www.flickr.com\/photos\/66038491@N06\/","width":"1024","height":"629","url":"https:\/\/farm8.staticflickr.com\/7231\/26861401435_c1dbfe8703_b.jpg","web_page":"https:\/\/www.flickr.com\/photos\/66038491@N06\/26861401435\/","thumbnail_url":"https:\/\/farm8.staticflickr.com\/7231\/26861401435_c1dbfe8703_q.jpg","thumbnail_width":150,"thumbnail_height":150,"web_page_short_url":"https:\/\/flic.kr\/p\/GVDGNX","license":"All Rights Reserved","license_id":0,"html":"<a data-flickr-embed=\"true\" href=\"https:\/\/www.flickr.com\/photos\/66038491@N06\/26861401435\/\" title=\"T-21 by BeyondBrickz, on Flickr\"><img src=\"https:\/\/farm8.staticflickr.com\/7231\/26861401435_c1dbfe8703_b.jpg\" width=\"1024\" height=\"629\" alt=\"T-21\"><\/a><script async src=\"https:\/\/embedr.flickr.com\/assets\/client-code.js\" charset=\"utf-8\"><\/script>","version":"1.0","cache_age":3600,"provider_name":"Flickr","provider_url":"https:\/\/www.flickr.com\/"}
|
88
|
+
http_version:
|
89
|
+
recorded_at: Sun, 08 May 2016 11:40:26 GMT
|
90
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,75 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.instagram.com/oembed/?format=json&url=http://instagr.am/p/fA9uwTtkSN
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Content-Language:
|
22
|
+
- en
|
23
|
+
Expires:
|
24
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
25
|
+
Vary:
|
26
|
+
- Cookie, Accept-Language, Accept-Encoding
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Cache-Control:
|
30
|
+
- private, no-cache, no-store, must-revalidate
|
31
|
+
Date:
|
32
|
+
- Sun, 08 May 2016 10:22:56 GMT
|
33
|
+
Content-Type:
|
34
|
+
- application/json
|
35
|
+
Set-Cookie:
|
36
|
+
- csrftoken=5b8bafe22a2d41248b3be8426b4f1170; expires=Sun, 07-May-2017 10:22:56
|
37
|
+
GMT; Max-Age=31449600; Path=/
|
38
|
+
- mid=Vy8TgAAEAAHr9e0EiKy1oiFOtj6E; expires=Sat, 03-May-2036 10:22:56 GMT; Max-Age=630720000;
|
39
|
+
Path=/
|
40
|
+
- s_network=; expires=Sun, 08-May-2016 11:22:56 GMT; Max-Age=3600; Path=/
|
41
|
+
- sessionid=IGSCf4e12422bb040f780b62a76f51d81658f436f18061debf80dcf2eefa20332090%3AQ4gZtzAIRGkrIW93eddUvjGtZa6jgSUk%3A%7B%22asns%22%3A%7B%2237.201.168.72%22%3A6830%2C%22time%22%3A1462702976%7D%7D;
|
42
|
+
expires=Sat, 06-Aug-2016 10:22:56 GMT; httponly; Max-Age=7776000; Path=/
|
43
|
+
Connection:
|
44
|
+
- keep-alive
|
45
|
+
Content-Length:
|
46
|
+
- '1402'
|
47
|
+
body:
|
48
|
+
encoding: ASCII-8BIT
|
49
|
+
string: '{"provider_url": "https://www.instagram.com", "media_id": "558717847597368461_9538472",
|
50
|
+
"author_name": "diegoquinteiro", "height": null, "thumbnail_url": "https://scontent-fra3-1.cdninstagram.com/t51.2885-15/e15/11358196_1472850273007829_614249870_n.jpg?ig_cache_key=NTU4NzE3ODQ3NTk3MzY4NDYx.2",
|
51
|
+
"thumbnail_width": 640, "thumbnail_height": 640, "provider_name": "Instagram",
|
52
|
+
"title": "Wii Gato (Lipe Sleep)", "html": "\u003cblockquote class=\"instagram-media\"
|
53
|
+
data-instgrm-captioned data-instgrm-version=\"6\" style=\" background:#FFF;
|
54
|
+
border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px
|
55
|
+
0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0; width:99.375%;
|
56
|
+
width:-webkit-calc(100% - 2px); width:calc(100% - 2px);\"\u003e\u003cdiv style=\"padding:8px;\"\u003e
|
57
|
+
\u003cdiv style=\" background:#F8F8F8; line-height:0; margin-top:40px; padding:50%
|
58
|
+
0; text-align:center; width:100%;\"\u003e \u003cdiv style=\" background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAAGFBMVEUiIiI9PT0eHh4gIB4hIBkcHBwcHBwcHBydr+JQAAAACHRSTlMABA4YHyQsM5jtaMwAAADfSURBVDjL7ZVBEgMhCAQBAf//42xcNbpAqakcM0ftUmFAAIBE81IqBJdS3lS6zs3bIpB9WED3YYXFPmHRfT8sgyrCP1x8uEUxLMzNWElFOYCV6mHWWwMzdPEKHlhLw7NWJqkHc4uIZphavDzA2JPzUDsBZziNae2S6owH8xPmX8G7zzgKEOPUoYHvGz1TBCxMkd3kwNVbU0gKHkx+iZILf77IofhrY1nYFnB/lQPb79drWOyJVa/DAvg9B/rLB4cC+Nqgdz/TvBbBnr6GBReqn/nRmDgaQEej7WhonozjF+Y2I/fZou/qAAAAAElFTkSuQmCC);
|
59
|
+
display:block; height:44px; margin:0 auto -44px; position:relative; top:-22px;
|
60
|
+
width:44px;\"\u003e\u003c/div\u003e\u003c/div\u003e \u003cp style=\" margin:8px
|
61
|
+
0 0 0; padding:0 4px;\"\u003e \u003ca href=\"https://www.instagram.com/p/fA9uwTtkSN/\"
|
62
|
+
style=\" color:#000; font-family:Arial,sans-serif; font-size:14px; font-style:normal;
|
63
|
+
font-weight:normal; line-height:17px; text-decoration:none; word-wrap:break-word;\"
|
64
|
+
target=\"_blank\"\u003eWii Gato (Lipe Sleep)\u003c/a\u003e\u003c/p\u003e \u003cp
|
65
|
+
style=\" color:#c9c8cd; font-family:Arial,sans-serif; font-size:14px; line-height:17px;
|
66
|
+
margin-bottom:0; margin-top:8px; overflow:hidden; padding:8px 0 7px; text-align:center;
|
67
|
+
text-overflow:ellipsis; white-space:nowrap;\"\u003eA video posted by @diegoquinteiro
|
68
|
+
on \u003ctime style=\" font-family:Arial,sans-serif; font-size:14px; line-height:17px;\"
|
69
|
+
datetime=\"2013-10-03T18:19:39+00:00\"\u003eOct 3, 2013 at 11:19am PDT\u003c/time\u003e\u003c/p\u003e\u003c/div\u003e\u003c/blockquote\u003e\n\u003cscript
|
70
|
+
async defer src=\"//platform.instagram.com/en_US/embeds.js\"\u003e\u003c/script\u003e",
|
71
|
+
"width": 658, "version": "1.0", "author_url": "https://www.instagram.com/diegoquinteiro",
|
72
|
+
"author_id": 9538472, "type": "rich"}'
|
73
|
+
http_version:
|
74
|
+
recorded_at: Sun, 08 May 2016 10:22:56 GMT
|
75
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.kickstarter.com/services/oembed?format=json&url=https://www.kickstarter.com/projects/531257408/professional-3-stage-knife-sharpener?ref=category_popular
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Content-Type:
|
24
|
+
- application/json; charset=utf-8
|
25
|
+
Strict-Transport-Security:
|
26
|
+
- max-age=31557600
|
27
|
+
X-Frame-Options:
|
28
|
+
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- 1; mode=block
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
Heartbleed:
|
34
|
+
- NO; see http://heartbleedheader.com
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
37
|
+
X-Request-Id:
|
38
|
+
- 38a20eff-15ff-4cd6-a5f6-fd9db97950bc
|
39
|
+
X-Runtime:
|
40
|
+
- '0.020571'
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
43
|
+
Accept-Ranges:
|
44
|
+
- bytes
|
45
|
+
Date:
|
46
|
+
- Sun, 08 May 2016 11:58:02 GMT
|
47
|
+
Via:
|
48
|
+
- 1.1 varnish
|
49
|
+
Age:
|
50
|
+
- '0'
|
51
|
+
Connection:
|
52
|
+
- keep-alive
|
53
|
+
X-Served-By:
|
54
|
+
- cache-ams4148-AMS
|
55
|
+
X-Cache:
|
56
|
+
- MISS
|
57
|
+
X-Cache-Hits:
|
58
|
+
- '0'
|
59
|
+
body:
|
60
|
+
encoding: ASCII-8BIT
|
61
|
+
string: |
|
62
|
+
{"version":"1.0","type":"rich","provider_name":"Kickstarter","provider_url":"https://www.kickstarter.com/","title":"Professional 3 Stage Knife Sharpener","author_name":"Kongqiang","author_url":"https://www.kickstarter.com/profile/531257408","thumbnail_url":"https://ksr-ugc.imgix.net/projects/2452435/photo-original.jpg?w=560&h=315&fit=fill&bg=FFFFFF&v=1461877181&auto=format&q=92&s=aae8e61c91e611fd27cc2db1c25a8916","thumbnail_width":560,"thumbnail_height":315.0,"width":480,"height":270.0,"html":"<iframe frameborder=\"0\" height=\"270.0\" scrolling=\"no\" src=\"https://www.kickstarter.com/projects/531257408/professional-3-stage-knife-sharpener/widget/video.html\" width=\"480\"></iframe>"}
|
63
|
+
http_version:
|
64
|
+
recorded_at: Sun, 08 May 2016 11:58:02 GMT
|
65
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,87 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://www.slideshare.net/api/oembed/2?format=json&url=http://de.slideshare.net/haraldf/business-quotes-for-2011
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 08 May 2016 10:08:12 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
Status:
|
28
|
+
- 200 OK
|
29
|
+
X-Content-Type-Options:
|
30
|
+
- nosniff
|
31
|
+
- nosniff
|
32
|
+
X-Runtime:
|
33
|
+
- '0.029925'
|
34
|
+
X-Request-Uuid:
|
35
|
+
- klA26xRYoRi0KQ4PET8oZw==
|
36
|
+
X-Xss-Protection:
|
37
|
+
- 1; mode=block
|
38
|
+
X-Ua-Compatible:
|
39
|
+
- IE=Edge,chrome=1
|
40
|
+
Cache-Control:
|
41
|
+
- max-age=0, private, must-revalidate
|
42
|
+
X-Bench-Route:
|
43
|
+
- oembed/get_oembed_code
|
44
|
+
X-Request-Id:
|
45
|
+
- 5c5aaef23f32736692a20264b64065c6
|
46
|
+
P3p:
|
47
|
+
- CP="OTI DSP COR CUR ADM DEV PSD IVD CONo OUR IND"
|
48
|
+
X-Varnish:
|
49
|
+
- '401515260'
|
50
|
+
Age:
|
51
|
+
- '0'
|
52
|
+
Accept-Ranges:
|
53
|
+
- bytes
|
54
|
+
X-Fs-Uuid:
|
55
|
+
- 0d60bf8acd8f4c14c085e9fac22a0000
|
56
|
+
X-Li-Fabric:
|
57
|
+
- prod-lva1
|
58
|
+
Set-Cookie:
|
59
|
+
- SERVERID=r88|Vy8QD|Vy8QD; path=/
|
60
|
+
- _uv_id=1897455083; Path=/; Domain=.slideshare.net
|
61
|
+
- bcookie="v=2&fa22755a-e691-4093-86f4-fb717cc13105"; domain=.slideshare.net;
|
62
|
+
Path=/; Expires=Tue, 08-May-2018 21:45:44 GMT
|
63
|
+
Transfer-Encoding:
|
64
|
+
- chunked
|
65
|
+
Connection:
|
66
|
+
- keep-alive
|
67
|
+
X-Li-Pop:
|
68
|
+
- prod-tln1
|
69
|
+
X-Li-Uuid:
|
70
|
+
- DWC/is2PTBTAhen6wioAAA==
|
71
|
+
body:
|
72
|
+
encoding: ASCII-8BIT
|
73
|
+
string: '{"slide_image_baseurl_suffix":"-1024.jpg","type":"rich","provider_name":"SlideShare","height":355,"total_slides":75,"title":"Business
|
74
|
+
Quotes for 2011","provider_url":"http://www.slideshare.net","version":"1.0","slide_image_baseurl":"//image.slidesharecdn.com/110103quotes2010-12-110103073149-phpapp01/95/slide-","conversion_version":2,"width":425,"thumbnail_width":170,"version_no":"1294104671","author_url":"http://www.slideshare.net/haraldf","thumbnail_height":128,"slideshow_id":6435157,"html":"\u003Ciframe
|
75
|
+
src=\"https://www.slideshare.net/slideshow/embed_code/key/6PCWPGFw9SwsAY\"
|
76
|
+
width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\"
|
77
|
+
scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px;
|
78
|
+
max-width: 100%;\" allowfullscreen\u003E \u003C/iframe\u003E \u003Cdiv style=\"margin-bottom:5px\"\u003E
|
79
|
+
\u003Cstrong\u003E \u003Ca href=\"https://www.slideshare.net/haraldf/business-quotes-for-2011\"
|
80
|
+
title=\"Business Quotes for 2011\" target=\"_blank\"\u003EBusiness Quotes
|
81
|
+
for 2011\u003C/a\u003E \u003C/strong\u003E from \u003Cstrong\u003E\u003Ca
|
82
|
+
href=\"http://www.slideshare.net/haraldf\" target=\"_blank\"\u003EHarald Felgner
|
83
|
+
(PhD)\u003C/a\u003E\u003C/strong\u003E \u003C/div\u003E\n\n","author_name":"Harald
|
84
|
+
Felgner (PhD)","thumbnail":"//cdn.slidesharecdn.com/ss_thumbnails/110103quotes2010-12-110103073149-phpapp01-thumbnail.jpg?cb=1294104671"}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Sun, 08 May 2016 10:08:12 GMT
|
87
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://soundcloud.com/oembed?format=json&url=https://soundcloud.com/forss/flickermood
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Headers:
|
22
|
+
- Accept, Authorization, Content-Type, Origin
|
23
|
+
Access-Control-Allow-Methods:
|
24
|
+
- GET, PUT, POST, DELETE
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- "*"
|
27
|
+
Access-Control-Expose-Headers:
|
28
|
+
- Date
|
29
|
+
Cache-Control:
|
30
|
+
- private, max-age=0, must-revalidate
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Date:
|
34
|
+
- Sun, 08 May 2016 11:49:57 GMT
|
35
|
+
Etag:
|
36
|
+
- '"2d6b1f97d0ed1cbecef9424944baa728"'
|
37
|
+
Server:
|
38
|
+
- am/2
|
39
|
+
Set-Cookie:
|
40
|
+
- sc_anonymous_id=126181-468397-422745-556022; path=/; expires=Wed, 06 May 2026
|
41
|
+
11:49:57 GMT; domain=.soundcloud.com
|
42
|
+
Status:
|
43
|
+
- 200 OK
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
Content-Length:
|
47
|
+
- '449'
|
48
|
+
body:
|
49
|
+
encoding: ASCII-8BIT
|
50
|
+
string: '{"version":1.0,"type":"rich","provider_name":"SoundCloud","provider_url":"http://soundcloud.com","height":400,"width":"100%","title":"Flickermood
|
51
|
+
by Forss","description":"From the Soulhack album,\u0026nbsp;recently featured
|
52
|
+
in this ad \u003Ca href=\"https://www.dswshoes.com/tv_commercial.jsp?m=october2007\"\u003Ehttps://www.dswshoes.com/tv_commercial.jsp?m=october2007\u003C/a\u003E
|
53
|
+
","thumbnail_url":"http://i1.sndcdn.com/artworks-000067273316-smsiqx-t500x500.jpg","html":"\u003Ciframe
|
54
|
+
width=\"100%\" height=\"400\" scrolling=\"no\" frameborder=\"no\" src=\"https://w.soundcloud.com/player/?visual=true\u0026url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F293\u0026show_artwork=true\"\u003E\u003C/iframe\u003E","author_name":"Forss","author_url":"http://soundcloud.com/forss"}'
|
55
|
+
http_version:
|
56
|
+
recorded_at: Sun, 08 May 2016 11:49:57 GMT
|
57
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://embed.spotify.com/oembed/?format=json&url=http://open.spotify.com/track/298gs9ATwr2rD9tGYJKlQR
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Sun, 08 May 2016 12:10:20 GMT
|
25
|
+
Content-Type:
|
26
|
+
- text/html
|
27
|
+
Transfer-Encoding:
|
28
|
+
- chunked
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Keep-Alive:
|
32
|
+
- timeout=10
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
Strict-Transport-Security:
|
38
|
+
- max-age=31536000;
|
39
|
+
body:
|
40
|
+
encoding: ASCII-8BIT
|
41
|
+
string: '{"provider_url":"https:\/\/www.spotify.com","version":"1.0","thumbnail_width":300,"height":380,"thumbnail_height":300,"title":"John De Sohn - Dance Our Tears Away - Radio Edit","width":300,"thumbnail_url":"https:\/\/d3rt1990lpmkn.cloudfront.net\/cover\/35ff8ecde854e7c713dc4ffad2f31441e7bc1207","provider_name":"Spotify","type":"rich","html":"<iframe src=\"https:\/\/embed.spotify.com\/?uri=spotify:track:298gs9ATwr2rD9tGYJKlQR\" width=\"300\" height=\"380\" frameborder=\"0\" allowtransparency=\"true\"><\/iframe>"}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Sun, 08 May 2016 12:10:20 GMT
|
44
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://publish.twitter.com/oembed?format=json&url=https://twitter.com/Interior/status/507185938620219395
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- must-revalidate, max-age=3153600000
|
23
|
+
Content-Disposition:
|
24
|
+
- attachment; filename=json.json
|
25
|
+
Content-Length:
|
26
|
+
- '501'
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Date:
|
30
|
+
- Sun, 08 May 2016 10:34:44 GMT
|
31
|
+
Expires:
|
32
|
+
- Tue, 14 Apr 2116 10:34:44 GMT
|
33
|
+
Last-Modified:
|
34
|
+
- Sun, 08 May 2016 10:34:44 GMT
|
35
|
+
Server:
|
36
|
+
- tsa_o
|
37
|
+
Set-Cookie:
|
38
|
+
- guest_id=v1%3A146270368433227856; Domain=.twitter.com; Path=/; Expires=Tue,
|
39
|
+
08-May-2018 10:34:44 UTC
|
40
|
+
Strict-Transport-Security:
|
41
|
+
- max-age=631138519
|
42
|
+
X-Connection-Hash:
|
43
|
+
- 7cb3ac64bc2efd30d993cea7a81550d7
|
44
|
+
X-Content-Type-Options:
|
45
|
+
- nosniff
|
46
|
+
X-Frame-Options:
|
47
|
+
- SAMEORIGIN
|
48
|
+
X-Response-Time:
|
49
|
+
- '110'
|
50
|
+
X-Xss-Protection:
|
51
|
+
- 1; mode=block
|
52
|
+
body:
|
53
|
+
encoding: ASCII-8BIT
|
54
|
+
string: '{"url":"https:\/\/twitter.com\/Interior\/status\/507185938620219395","author_name":"US
|
55
|
+
Dept of Interior","author_url":"https:\/\/twitter.com\/Interior","html":"\u003Cblockquote
|
56
|
+
class=\"twitter-tweet\"\u003E\u003Cp lang=\"en\" dir=\"ltr\"\u003EHappy 50th
|
57
|
+
anniversary to the Wilderness Act! Here's a great wilderness photo from
|
58
|
+
\u003Ca href=\"https:\/\/twitter.com\/YosemiteNPS\"\u003E@YosemiteNPS\u003C\/a\u003E.
|
59
|
+
\u003Ca href=\"https:\/\/twitter.com\/hashtag\/Wilderness50?src=hash\"\u003E#Wilderness50\u003C\/a\u003E
|
60
|
+
\u003Ca href=\"http:\/\/t.co\/HMhbyTg18X\"\u003Epic.twitter.com\/HMhbyTg18X\u003C\/a\u003E\u003C\/p\u003E—
|
61
|
+
US Dept of Interior (@Interior) \u003Ca href=\"https:\/\/twitter.com\/Interior\/status\/507185938620219395\"\u003ESeptember
|
62
|
+
3, 2014\u003C\/a\u003E\u003C\/blockquote\u003E\n\u003Cscript async src=\"\/\/platform.twitter.com\/widgets.js\"
|
63
|
+
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"}'
|
64
|
+
http_version:
|
65
|
+
recorded_at: Sun, 08 May 2016 10:34:44 GMT
|
66
|
+
recorded_with: VCR 3.0.1
|