Closed jrwren closed 2 years ago
Alright I had to go through a bunch of the documentation for the Reddit interface to narrow it down. First off, by default the BDFR gets the 'hot' list, which cannot be sorted by time. So in the BDFR code, your 'day' option is just ignored anyway. If you use 'top', 'controversial', or the search function, then the option will be considered.
Even then though, the time filter doesn't actually filter based on the creation date for the post. It's more circumspect and vague than that. If you use 'top' sorting and a 'day' filter, then you get top posts in the last days, not necessarily posts made in the last day which are top in the upvoted list. These lists may have a lot of overlap but that isn't guaranteed, especially on weird subreddits with abnormal patterns of viewing and upvoting.
Specify the 'top' sort filter and you'll get what you're trying to through the BDFR. My testing didn't give any examples where there was a difference between the creation date and the hour limit, or whatever time limit, but apparently it can happen so be aware of that.
What about the combination of --user, -S new , and -t day? Maybe --user is like one of those weird subreddits with abnormal patterns. Bummer. Thank you.
@jrwren 'new' isn't a type that the time filter can be applied to. it's just 'top' and 'controversial'
Description
I am downloading daily update for a users posts with a command like this:
bin/python -m bdfr download "$ruser"/ --user "$ruser" -t day --authenticate --no-dupes --submitted --folder-scheme '' --file-scheme '{TITLE}_{SUBREDDIT}_{POSTID}'
I expect the
-t day
to limit this to the posts for the last 24hrs.I see
Command
Environment (please complete the following information):
Logs
Notice many downloads older than 1 day.