Simple library which helps you to retrieve...
- the source of various video streaming sites
- the urls to these streaming sites.
$ npm install sourcescrapperconst { scrappers } = require('sourcescrapper');
(async () => {
const url = 'some url';
const scrapper = scrappers.all.getFirstApplicable(url);
const scrap = await scrapper.run(url);
if (scrap.info && scrap.info.source.length > 0)
console.log(scrap.info.source[0].url);
})();