metascraper-iframe
v5.45.25
Published
Embed a representation of an URL on third party sites
Downloads
1,829
Maintainers
Readme
Install
$ npm install metascraper-iframe --save
Supported providers
The library will check for iframe presence using different techniques:
- HTML markup: Looking for oEmbed links presence via
application/json+oembed
/text/xml+oembed
selectors. - oEmbed providers: Consulting provider that implements oembed.com via oembed-spec.
- Twitter iframe: Checking for
twitter:player
presence, meaning the target URL impementes Twitter Player Card spec.
API
metascraper-iframe([options])
options
gotOpts
Type: object
Any option provided here will passed to got#options.
License
metascraper-iframe © Microlink, released under the MIT License. Authored and maintained by Microlink with help from contributors.
microlink.io · GitHub microlinkhq · X @microlinkhq