usetube icon indicating copy to clipboard operation
usetube copied to clipboard

Is there a way to get all videos from a channel, filtered by tags?

Open Judahh opened this issue 3 years ago • 1 comments

Judahh avatar Sep 19 '22 21:09 Judahh

Hum I'm not sure about that. I let this line uncommented : https://github.com/valerebron/usetube/blob/master/src/helpers/getData.ts#L52

This line write json data from youtube http request in a file named raw.js. you should execute npm run test and seek for 'tag' or the name of a tag you're looking for. Also you could try to find a page on youtube.com wich displayed video filtered by tags and create a new https://github.com/valerebron/usetube/blob/master/src/getChannelVideos.ts but filtered by tag. getChannelVideosByTags.ts ?

valerebron avatar Nov 08 '22 16:11 valerebron