yt-fts icon indicating copy to clipboard operation
yt-fts copied to clipboard

[Feature request] Allow searching only some videos in channel

Open noman-land opened this issue 2 years ago • 1 comments

This is an alternative to https://github.com/NotJoeMartinez/yt-fts/issues/18 to achieve similar goals.

It would be nice to be able to supply a regex on video titles as well as searching for content.

Using Lex Fridman's channel as an example:

His podcast has 376 videos: https://www.youtube.com/playlist?list=PLrAXtmErZgOdP_8GztsuKi9nrraNbKKp4

However his "channel" has 689 videos: https://www.youtube.com/@lexfridman/videos

After downloading the channel content and querying through the episodes, a regex of /(Podcast)(?! Clips)/ will return all his podcast episodes but none of the other content.

This is obviously not as reliable as allowing a playlist URL but it might be a handy feature nonetheless and would seemingly only involve adjusting the search command with a new flag.

noman-land avatar Jun 03 '23 01:06 noman-land

This could be added to the search feature as a --title flag and would work well with the current implementation of sqlite advanced search syntax.

yt-fts search "podcast* clips*" --channel "Lex Fridman" --title 

I'd still like to integrate the suggested playlist download feature #18 would allow for users to save playlists with videos from multiple channels and download unlisted videos from channel.

Also you can currently search individual videos with the --video but it's limited to one video by the search ID and has a different use than what you are suggesting.

yt-fts search "conscious" --video "L_Guz73e6fw"

NotJoeMartinez avatar Jun 06 '23 04:06 NotJoeMartinez