Closed CosmosisT closed 2 years ago
const youtube = require('scrape-youtube');
Perhaps obvious but youtube.search is no longer a function this way; any means of updating the example to help others understand I do enjoy this quite a bit! :)
const youtube = require('scrape-youtube').youtube; youtube.search("hello-world").then((results) => { console.log(results); });
Thanks for reporting. This was a mistake in the code, the example should work fine in 2.1.13
Perfect! Was just updating and noticed that immediately, works like a charm. :)
Perhaps obvious but youtube.search is no longer a function this way; any means of updating the example to help others understand I do enjoy this quite a bit! :)