Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Allow searching only some videos in channel #47

Open
noman-land opened this issue Jun 3, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@noman-land
Copy link

noman-land commented Jun 3, 2023

This is an alternative to #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.

@NotJoeMartinez
Copy link
Owner

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 NotJoeMartinez added the enhancement New feature or request label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants