node-ytsr icon indicating copy to clipboard operation
node-ytsr copied to clipboard

description is always null

Open Secreto31126 opened this issue 3 years ago • 0 comments

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.

Secreto31126 avatar Sep 18 '22 04:09 Secreto31126