Skip to content

Commit 5e5a235

Browse files
authored
Merge pull request #132 from ndaidong/v3.0.0
v3.0.0
2 parents 232c310 + 04595c3 commit 5e5a235

File tree

3 files changed

+70
-23
lines changed

3 files changed

+70
-23
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.0.0rc5",
2+
"version": "3.0.0",
33
"name": "oembed-parser",
44
"description": "Get oEmbed data from given URL.",
55
"homepage": "https://www.npmjs.com/package/oembed-parser",
@@ -28,7 +28,7 @@
2828
"reset": "node reset"
2929
},
3030
"dependencies": {
31-
"axios": "^0.26.0",
31+
"axios": "^0.26.1",
3232
"bellajs": "^11.0.2"
3333
},
3434
"babel": {
@@ -46,8 +46,8 @@
4646
]
4747
},
4848
"devDependencies": {
49-
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
50-
"esbuild": "^0.14.23",
49+
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
50+
"esbuild": "^0.14.34",
5151
"jest": "^27.5.1",
5252
"nock": "^13.2.4"
5353
},

src/utils/providers.latest.js

Lines changed: 63 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// provider data, synchronized at 2022-03-02T07:06:00.702Z
1+
// provider data, synchronized at 2022-04-08T03:55:41.101Z
22

33
/* eslint-disable */
44

@@ -118,17 +118,10 @@ export const providers = [
118118
"endpoints": [
119119
{
120120
"schemes": [
121-
"https://amtraker.com/view.html*",
122-
"https://www.amtraker.com/view.html*",
123-
"https://beta.amtraker.com/view.html*",
124-
"https://whereismytrain.us/view.html*",
125-
"https://www.whereismytrain.us/view.html*",
126-
"https://whereismyfuckingtrain.com/view.html*",
127-
"https://www.whereismyfuckingtrain.com/view.html*",
128-
"https://amtrak.cc/view.html*",
129-
"https://www.amtrak.cc/view.html*"
121+
"https://amtraker.com/trains/*",
122+
"https://beta.amtraker.com/trains/*"
130123
],
131-
"url": "https://api.amtrak.cc/v2/oembed",
124+
"url": "https://api.amtraker.com/v2/oembed",
132125
"discovery": false
133126
}
134127
]
@@ -343,6 +336,22 @@ export const providers = [
343336
}
344337
]
345338
},
339+
{
340+
"provider_name": "Bookingmood",
341+
"provider_url": "https://www.bookingmood.com",
342+
"endpoints": [
343+
{
344+
"schemes": [
345+
"https://www.bookingmood.com/embed/*/*"
346+
],
347+
"url": "https://bookingmood.com/api/oembed",
348+
"formats": [
349+
"json",
350+
"xml"
351+
]
352+
}
353+
]
354+
},
346355
{
347356
"provider_name": "Box Office Buz",
348357
"provider_url": "http://boxofficebuz.com",
@@ -1306,9 +1315,10 @@ export const providers = [
13061315
"endpoints": [
13071316
{
13081317
"schemes": [
1309-
"https://view.gmetri.com/*"
1318+
"https://view.gmetri.com/*",
1319+
"https://*.gmetri.com/*"
13101320
],
1311-
"url": "https://z5-viewer-socket.in.gmetri.com/oembed/",
1321+
"url": "https://embed.gmetri.com/oembed/",
13121322
"discovery": true
13131323
}
13141324
]
@@ -1330,13 +1340,15 @@ export const providers = [
13301340
},
13311341
{
13321342
"provider_name": "Grain",
1333-
"provider_url": "https://grain.co",
1343+
"provider_url": "https://grain.com",
13341344
"endpoints": [
13351345
{
13361346
"schemes": [
1337-
"https://grain.co/highlight/*"
1347+
"https://grain.co/highlight/*",
1348+
"https://grain.co/share/*",
1349+
"https://grain.com/share/*"
13381350
],
1339-
"url": "http://api.grain.co/_/api/oembed"
1351+
"url": "https://api.grain.com/_/api/oembed"
13401352
}
13411353
]
13421354
},
@@ -1503,6 +1515,22 @@ export const providers = [
15031515
}
15041516
]
15051517
},
1518+
{
1519+
"provider_name": "Incredible",
1520+
"provider_url": "https://incredible.dev",
1521+
"endpoints": [
1522+
{
1523+
"schemes": [
1524+
"https://incredible.dev/watch/*"
1525+
],
1526+
"url": "https://oembed.incredible.dev/oembed",
1527+
"discovery": true,
1528+
"formats": [
1529+
"json"
1530+
]
1531+
}
1532+
]
1533+
},
15061534
{
15071535
"provider_name": "Indaco",
15081536
"provider_url": "https://player.indacolive.com/",
@@ -2391,6 +2419,21 @@ export const providers = [
23912419
}
23922420
]
23932421
},
2422+
{
2423+
"provider_name": "Panda Video",
2424+
"provider_url": "https://pandavideo.com/",
2425+
"endpoints": [
2426+
{
2427+
"schemes": [
2428+
"https://*.tv.pandavideo.com.br/embed/?v=*",
2429+
"https://*.tv.pandavideo.com.br/*/playlist.m3u8",
2430+
"https://dashboard.pandavideo.com.br/#/videos/*"
2431+
],
2432+
"url": "https://api-v2.pandavideo.com.br/oembed",
2433+
"discovery": true
2434+
}
2435+
]
2436+
},
23942437
{
23952438
"provider_name": "Pastery",
23962439
"provider_url": "https://www.pastery.net",
@@ -3706,7 +3749,10 @@ export const providers = [
37063749
"provider_url": "https://www.wecandeo.com/",
37073750
"endpoints": [
37083751
{
3709-
"url": "https://play.wecandeo.com/oembed",
3752+
"schemes": [
3753+
"https://play.wecandeo.com/video/v/*"
3754+
],
3755+
"url": "https://play.wecandeo.com/oembed/",
37103756
"discovery": true
37113757
}
37123758
]

src/utils/providers.prev.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// provider data, synchronized at 2022-02-21T07:55:54.830Z
1+
// provider data, synchronized at 2022-03-02T07:06:00.702Z
22

33
/* eslint-disable */
44

@@ -3192,7 +3192,8 @@ export const providers = [
31923192
{
31933193
"schemes": [
31943194
"https://sway.com/*",
3195-
"https://www.sway.com/*"
3195+
"https://www.sway.com/*",
3196+
"https://sway.office.com/*"
31963197
],
31973198
"url": "https://sway.com/api/v1.0/oembed",
31983199
"discovery": true

0 commit comments

Comments
 (0)