README
metascraper-iframe
Get iframe for embedding content for the supported providers.
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 @microlink.io · Twitter @microlinkhq