Skip to content

[RedditBridge] Added time interval and filter for min comment count#4471

Merged
dvikan merged 4 commits intoRSS-Bridge:masterfrom
chibicitiberiu:master
Mar 23, 2025
Merged

[RedditBridge] Added time interval and filter for min comment count#4471
dvikan merged 4 commits intoRSS-Bridge:masterfrom
chibicitiberiu:master

Conversation

@chibicitiberiu
Copy link
Contributor

When using the 'top' sorting order for reddit, most times you want to limit to a time interval (e.g. top in the last month). In the search UI, there is a time interval filter that will end up as a query parameter t=interval .

Also, added filtering and sorting by comment count.

@github-actions
Copy link

github-actions bot commented Mar 9, 2025

Pull request artifacts

Bridge Context Status
Reddit 1 single (current) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:
Reddit 1 single (pr) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:
Reddit 2 multi (current) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:
Reddit 2 multi (pr) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:
Reddit 3 user (current) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:
Reddit 3 user (pr) HTTP status 429 Too Many Requests
Type: RateLimitException
Message:

last change: Sunday 2025-03-23 19:41:45

@dvikan
Copy link
Contributor

dvikan commented Mar 23, 2025

i dont understand the purpose of having if, elseif, elseif for filtering on score and comment count

@dvikan
Copy link
Contributor

dvikan commented Mar 23, 2025

anyways, it works...

@dvikan dvikan merged commit 7260f28 into RSS-Bridge:master Mar 23, 2025
9 checks passed
@chibicitiberiu
Copy link
Contributor Author

i dont understand the purpose of having if, elseif, elseif for filtering on score and comment count

I thought it made more sense, if both a minimum score and minimum number of comments are provided, the filter does an OR between these 2 conditions rather than an AND (e.g. if a post gets a lot of comments but not a lot of upvotes, it probably has an interesting discussion that might be worth seeing).

floviolleau pushed a commit to floviolleau/rss-bridge that referenced this pull request Aug 18, 2025
…SS-Bridge#4471)

* Reddit Bridge - added filter for min comment count and time interval.

* [RedditBridge] Add sort by comment count

* lint

* consistent commas

---------

Co-authored-by: Dag <me@dvikan.no>
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

Successfully merging this pull request may close these issues.

2 participants