Scrape available channels
fadytaher opened this issue · 3 comments
fadytaher commented
Is there a away to scrape available youtube channels ?
DrKain commented
Added in 2.1.6
youtube.search('Poets of the fall', { type: 'channel' }).then(
(results) => console.log(results.channels),
(err) => console.log(err)
);
fadytaher commented
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
DrKain commented
You need to update the package first.