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

Comments

@Zero3K
Copy link

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

This comment has been minimized.

Copy link
Owner

commented Aug 18, 2018

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

This comment has been minimized.

Copy link
Owner

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.

@omarroth omarroth closed this Aug 27, 2018
@Zero3K

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Contributor

commented Aug 29, 2018

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

@r-a-y

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link
Owner

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.

@omarroth

This comment has been minimized.

Copy link
Owner

commented Sep 23, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.