Skip to content

Commit

Permalink
Merge pull request #132 from ndaidong/v3.0.0
Browse files Browse the repository at this point in the history
v3.0.0
  • Loading branch information
ndaidong committed Apr 8, 2022
2 parents 232c310 + 04595c3 commit 5e5a235
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 23 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0rc5",
"version": "3.0.0",
"name": "oembed-parser",
"description": "Get oEmbed data from given URL.",
"homepage": "https://www.npmjs.com/package/oembed-parser",
Expand Down Expand Up @@ -28,7 +28,7 @@
"reset": "node reset"
},
"dependencies": {
"axios": "^0.26.0",
"axios": "^0.26.1",
"bellajs": "^11.0.2"
},
"babel": {
Expand All @@ -46,8 +46,8 @@
]
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.16.8",
"esbuild": "^0.14.23",
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
"esbuild": "^0.14.34",
"jest": "^27.5.1",
"nock": "^13.2.4"
},
Expand Down
80 changes: 63 additions & 17 deletions src/utils/providers.latest.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// provider data, synchronized at 2022-03-02T07:06:00.702Z
// provider data, synchronized at 2022-04-08T03:55:41.101Z

/* eslint-disable */

Expand Down Expand Up @@ -118,17 +118,10 @@ export const providers = [
"endpoints": [
{
"schemes": [
"https://amtraker.com/view.html*",
"https://www.amtraker.com/view.html*",
"https://beta.amtraker.com/view.html*",
"https://whereismytrain.us/view.html*",
"https://www.whereismytrain.us/view.html*",
"https://whereismyfuckingtrain.com/view.html*",
"https://www.whereismyfuckingtrain.com/view.html*",
"https://amtrak.cc/view.html*",
"https://www.amtrak.cc/view.html*"
"https://amtraker.com/trains/*",
"https://beta.amtraker.com/trains/*"
],
"url": "https://api.amtrak.cc/v2/oembed",
"url": "https://api.amtraker.com/v2/oembed",
"discovery": false
}
]
Expand Down Expand Up @@ -343,6 +336,22 @@ export const providers = [
}
]
},
{
"provider_name": "Bookingmood",
"provider_url": "https://www.bookingmood.com",
"endpoints": [
{
"schemes": [
"https://www.bookingmood.com/embed/*/*"
],
"url": "https://bookingmood.com/api/oembed",
"formats": [
"json",
"xml"
]
}
]
},
{
"provider_name": "Box Office Buz",
"provider_url": "http://boxofficebuz.com",
Expand Down Expand Up @@ -1306,9 +1315,10 @@ export const providers = [
"endpoints": [
{
"schemes": [
"https://view.gmetri.com/*"
"https://view.gmetri.com/*",
"https://*.gmetri.com/*"
],
"url": "https://z5-viewer-socket.in.gmetri.com/oembed/",
"url": "https://embed.gmetri.com/oembed/",
"discovery": true
}
]
Expand All @@ -1330,13 +1340,15 @@ export const providers = [
},
{
"provider_name": "Grain",
"provider_url": "https://grain.co",
"provider_url": "https://grain.com",
"endpoints": [
{
"schemes": [
"https://grain.co/highlight/*"
"https://grain.co/highlight/*",
"https://grain.co/share/*",
"https://grain.com/share/*"
],
"url": "http://api.grain.co/_/api/oembed"
"url": "https://api.grain.com/_/api/oembed"
}
]
},
Expand Down Expand Up @@ -1503,6 +1515,22 @@ export const providers = [
}
]
},
{
"provider_name": "Incredible",
"provider_url": "https://incredible.dev",
"endpoints": [
{
"schemes": [
"https://incredible.dev/watch/*"
],
"url": "https://oembed.incredible.dev/oembed",
"discovery": true,
"formats": [
"json"
]
}
]
},
{
"provider_name": "Indaco",
"provider_url": "https://player.indacolive.com/",
Expand Down Expand Up @@ -2391,6 +2419,21 @@ export const providers = [
}
]
},
{
"provider_name": "Panda Video",
"provider_url": "https://pandavideo.com/",
"endpoints": [
{
"schemes": [
"https://*.tv.pandavideo.com.br/embed/?v=*",
"https://*.tv.pandavideo.com.br/*/playlist.m3u8",
"https://dashboard.pandavideo.com.br/#/videos/*"
],
"url": "https://api-v2.pandavideo.com.br/oembed",
"discovery": true
}
]
},
{
"provider_name": "Pastery",
"provider_url": "https://www.pastery.net",
Expand Down Expand Up @@ -3706,7 +3749,10 @@ export const providers = [
"provider_url": "https://www.wecandeo.com/",
"endpoints": [
{
"url": "https://play.wecandeo.com/oembed",
"schemes": [
"https://play.wecandeo.com/video/v/*"
],
"url": "https://play.wecandeo.com/oembed/",
"discovery": true
}
]
Expand Down
5 changes: 3 additions & 2 deletions src/utils/providers.prev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// provider data, synchronized at 2022-02-21T07:55:54.830Z
// provider data, synchronized at 2022-03-02T07:06:00.702Z

/* eslint-disable */

Expand Down Expand Up @@ -3192,7 +3192,8 @@ export const providers = [
{
"schemes": [
"https://sway.com/*",
"https://www.sway.com/*"
"https://www.sway.com/*",
"https://sway.office.com/*"
],
"url": "https://sway.com/api/v1.0/oembed",
"discovery": true
Expand Down

0 comments on commit 5e5a235

Please sign in to comment.