Skip to content

Commit

Permalink
Merge pull request #167 from extractus/3.1.7
Browse files Browse the repository at this point in the history
3.1.7
  • Loading branch information
ndaidong authored Dec 2, 2022
2 parents 382545d + 09dc3d5 commit 2380c1e
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 341 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If test coverage decreased, please check test scripts and try to improve this nu

## Documentation

If you've changed APIs, please update README and [the examples](https://github.com/extractus/oembed-extractor/tree/main/examples).
If you've changed APIs, please update README and [the examples](examples).


## Clean commit histories
Expand All @@ -84,6 +84,6 @@ For people new to git, please refer the following guides:

## License

By contributing to `@extractus/oembed-extractor`, you agree that your contributions will be licensed under its [MIT license](https://github.com/extractus/oembed-extractor/blob/main/LICENSE).
By contributing to `@extractus/oembed-extractor`, you agree that your contributions will be licensed under its [MIT license](LICENSE).

---
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ You can use one or combination of these tools to build news sites, create automa

## Demo

- [Give it a try!](https://demos.pwshub.com/oembed-parser)
- [Example FaaS](https://oembed.deta.dev/?url=https://www.instagram.com/tv/CVlR5GFqF68/)
- [Give it a try!](https://extractor-demos.pages.dev/oembed-extractor)
- [Example FaaS](https://extractus.deno.dev/extract?apikey=rn0wbHos2e73W6ghQf705bdF&type=oembed&url=https://www.instagram.com/tv/CVlR5GFqF68/)


## Install & Usage
Expand Down Expand Up @@ -61,12 +61,12 @@ console.log(result)
### Deno

```ts
// deno < 1.28
import { extract } from 'https://esm.sh/@extractus/oembed-extractor'

// deno > 1.28
import { extract } from 'npm:@extractus/oembed-extractor'

// deno < 1.28
// import { extract } from 'https://esm.sh/@extractus/oembed-extractor'

const result = await extract('https://www.youtube.com/watch?v=x2bqscVkGxk')
console.log(result)
```
Expand All @@ -77,7 +77,7 @@ console.log(result)
import { extract } from 'https://unpkg.com/@extractus/oembed-extractor@latest/dist/oembed-extractor.esm.js'
```

Please check [the examples](https://github.com/extractus/oembed-extractor/tree/main/examples) for reference.
Please check [the examples](examples) for reference.


### Deta cloud
Expand Down
75 changes: 12 additions & 63 deletions dist/cjs/oembed-extractor.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// @extractus/[email protected].6, by @extractus - built with esbuild at 2022-11-30T09:21:00.562Z - published under MIT license
// @extractus/[email protected].7, by @extractus - built with esbuild at 2022-12-02T14:38:50.554Z - published under MIT license
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
Expand Down Expand Up @@ -3014,12 +3014,6 @@ var providers = [
],
"e": "adilo.bigcommand.com/web/oembed"
},
{
"s": [
"play\\.adpaths\\.com/experience/*"
],
"e": "play.adpaths.com/oembed/*"
},
{
"s": [
"v\\.afree\\.ca/ST/",
Expand Down Expand Up @@ -3075,12 +3069,6 @@ var providers = [
],
"e": "api.anniemusic.app/api/v1/oembed"
},
{
"s": [
"renderer\\.apester\\.com/v2/*?preview=true&iframe_preview=true"
],
"e": "display.apester.com/oembed"
},
{
"s": [
"storymaps\\.arcgis\\.com/stories/*"
Expand Down Expand Up @@ -3282,7 +3270,7 @@ var providers = [
"s": [
"codehs\\.com/editor/share_abacus/*"
],
"e": "codehs.com/api/sharedprogram/*/oembed/"
"e": "codehs.com/api/sharedprogram/1/oembed/"
},
{
"s": [
Expand Down Expand Up @@ -3396,12 +3384,6 @@ var providers = [
],
"e": "backend.deviantart.com/oembed"
},
{
"s": [
"*\\.didacte\\.com/a/course/*"
],
"e": "*.didacte.com/cards/oembed"
},
{
"s": [
"www\\.ultimedia\\.com/central/video/edit/id/*/topic_id/*/",
Expand Down Expand Up @@ -3463,10 +3445,6 @@ var providers = [
],
"e": "embedery.com/api/oembed"
},
{
"s": [],
"e": "api.embed.ly/1/oembed"
},
{
"s": [
"music\\.enystre\\.com/lyrics/*"
Expand Down Expand Up @@ -4009,17 +3987,6 @@ var providers = [
],
"e": "me.me/oembed"
},
{
"s": [
"*\\.medialab\\.app/share/watch/*",
"*\\.medialab\\.co/share/watch/*",
"*\\.medialab\\.app/share/social/*",
"*\\.medialab\\.co/share/social/*",
"*\\.medialab\\.app/share/embed/*",
"*\\.medialab\\.co/share/embed/*"
],
"e": "*.medialab.(co|app)/api/oembed/"
},
{
"s": [
"mdstrm\\.com/embed/*",
Expand Down Expand Up @@ -4139,10 +4106,6 @@ var providers = [
],
"e": "www.nfb.ca/remote/services/oembed/"
},
{
"s": [],
"e": "www.nftndx.io/oembed"
},
{
"s": [
"nopaste\\.ml/*"
Expand Down Expand Up @@ -4202,10 +4165,6 @@ var providers = [
],
"e": "omny.fm/oembed"
},
{
"s": [],
"e": "www.ora.tv/oembed/*?format=json"
},
{
"s": [
"orbitvu\\.co/001/*/ov3601/view",
Expand Down Expand Up @@ -4286,9 +4245,9 @@ var providers = [
},
{
"s": [
"*\\.pitchhub\\.com/en/public/player/*"
"player\\.pitchhub\\.com/en/public/player/*"
],
"e": "*.pitchhub.com.com/en/public/oembed"
"e": "player.pitchhub.com/en/public/oembed"
},
{
"s": [
Expand Down Expand Up @@ -4338,6 +4297,12 @@ var providers = [
],
"e": "prezi.com/v/oembed"
},
{
"s": [
"qtpi\\.gg/fashion/*"
],
"e": "qtpi.gg/fashion/oembed"
},
{
"s": [
"www\\.quiz\\.biz/quizz-*\\.html"
Expand Down Expand Up @@ -4522,12 +4487,6 @@ var providers = [
],
"e": "sketchfab.com/oembed"
},
{
"s": [
"*\\.slateapp\\.com/work/*"
],
"e": "*.slateapp.com/api/v2/oembed"
},
{
"s": [
"www\\.slideshare\\.net/*/*",
Expand Down Expand Up @@ -4666,12 +4625,6 @@ var providers = [
],
"e": "sway.office.com/api/v1.0/oembed"
},
{
"s": [
"player\\.switcherstudio\\.com/*"
],
"e": "player.switcherstudio.com/oembed"
},
{
"s": [
"share\\.synthesia\\.io/*"
Expand Down Expand Up @@ -4838,10 +4791,6 @@ var providers = [
],
"e": "api.veervr.tv/oembed"
},
{
"s": [],
"e": "verse.com/services/oembed/"
},
{
"s": [
"www\\.vevo\\.com/*"
Expand Down Expand Up @@ -4935,9 +4884,9 @@ var providers = [
},
{
"s": [
"*\\.wiredrive\\.com/*"
"whimsical\\.com/*"
],
"e": "*.wiredrive.com/present-oembed/"
"e": "whimsical.com/api/oembed"
},
{
"s": [
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@extractus/oembed-extractor",
"version": "3.1.6",
"version": "3.1.7",
"main": "./@extractus/oembed-extractor.js"
}
Loading

0 comments on commit 2380c1e

Please sign in to comment.