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

Add filters for searching #126

Closed
Zero3K opened this issue Aug 18, 2018 · 7 comments
Closed

Add filters for searching #126

Zero3K opened this issue Aug 18, 2018 · 7 comments

Comments

@Zero3K
Copy link

Zero3K commented Aug 18, 2018

It would be nice if there were search filters added that could let a user see videos uploaded during a certain time frame, sort them by date, etc.

@omarroth
Copy link
Contributor

Absolutely! Invidious already supports them internally, they would just need to be exposed nicely. See #30 to see more on how they would probably be implemented. to provide some info here as well, it would probably look like sort:relevance, date:today, etc, similar to Reddit or DDG.

@omarroth
Copy link
Contributor

omarroth commented Aug 27, 2018

Added with 2ba0063, you can see the supported options here.

You can specify filters in your search query, for example:
sort:rating date:today query will search for query from today sorted by rating. Currently content_type is not available, when it is supported in the API it will be added.

@Zero3K
Copy link
Author

Zero3K commented Aug 29, 2018

There's no date option when using sort: (using sort:date currently results in a 500 error). Also, I was hoping to see a box that is hidden by default and can be shown by clicking on a button or something that contains filtering options (like how Youtube does it).

@dimqua
Copy link
Contributor

dimqua commented Aug 29, 2018

Yes, a more user-friendly advanced search would be nice to have.

@r-a-y
Copy link

r-a-y commented Sep 3, 2018

Would it be possible to add the ability to filter videos by channel?

Let's say I'm on a channel page (/channel/X), the search box should be autopopulated with a channel filter such as channel:X.

Btw, great project! Invidious loads way faster than the official YouTube site on Firefox.

@omarroth
Copy link
Contributor

omarroth commented Sep 4, 2018

Absolutely! Unfortunately (from my testing at least), when searching a channel other search filters won't work, so I'd like to have some way of indicating that to the user.

This was referenced Sep 23, 2018
@omarroth
Copy link
Contributor

type:TYPE has been implemented, so users can now filter e.g. channels with type:TYPE, and per-channel search has been added with #165. I'd recommend opening new issues for additional functionality, user-friendly search is now tracked in #179.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants