UNPKG

fb-video-scrapper

Version:

Scrape and extract facebook video url and thumnails

14 lines (12 loc) 261 B
import fetchHtml from "./fetchHtml"; import parser from "./parser"; async function get (link: string) { try { const html = await fetchHtml(link); return parser(html); } catch (err) { throw err; } } module.exports = get;