valerebron / usetube

search & get datas from youtube no google account needed
GNU General Public License v3.0
50 stars 18 forks source link

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

Open Judahh opened 2 years ago

valerebron commented 2 years ago

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 ?