node-ytsr
node-ytsr copied to clipboard
description is always null
Simplest test:
const ytsr = require("ytsr");
// Filter to avoid results which don't have descriptions
const filter = await ytsr.getFilters("Github");
const searchResults = await ytsr(filter.get('Type').get('Video').url);
console.log(searchResults.items.map(e => e.description));
// outputs [null, null, ...]
I'm sure the videos have descriptions but all of them return null, so maybe it's failing to read them from the search response.