Closed fadytaher closed 3 years ago
Added in 2.1.6
youtube.search('Poets of the fall', { type: 'channel' }).then(
(results) => console.log(results.channels),
(err) => console.log(err)
);
const youtube = require('scrape-youtube').default;
youtube.search('Poets of the fall', { type: 'channel' }).then(
(results) => console.log(results.channels),
(err) => console.log(err)
);
getting undefined
using the above snippet
You need to update the package first.
Is there a away to scrape available youtube channels ?