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

Is there a way to filter search results? #1

Open
ulises-c opened this issue Oct 7, 2023 · 1 comment
Open

Is there a way to filter search results? #1

ulises-c opened this issue Oct 7, 2023 · 1 comment

Comments

@ulises-c
Copy link

ulises-c commented Oct 7, 2023

For example filter to exclude NSFW or search for subreddits instead of posts?

@avadhesh18
Copy link
Owner

Anything that works on Reddit search, works on RDX

site: - Restricts search to a specific website. Example: site:example.com

author: - Searches for posts by a specific user. Example: author:username

nsfw: - Include or exclude NSFW (Not Safe For Work) content. Use nsfw:yes to include or nsfw:no to exclude.

self: - Include or exclude self-posts (text posts). Use self:yes for self-posts or self:no for non-self-posts.

subreddit: - Restricts search to a specific subreddit. Example: subreddit:subredditname

url: - Searches for posts with a specific URL. Example: url:text

flair: - Searches for posts with a specific flair. Example: flair:"flairtext"

title: - Searches for posts with specific words in the title. Example: title:"word"

text: - Searches for posts with specific words in the body text. Example: text:"word"

These functions can be combined in a single search query for more precise results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants