code: def fetch_recent_submissions(self, max_duration):
          
          if max_duration:
              self.min_date = self.max_date - SECONDS_IN_A_DAY * max_duration
          for submission in self.subreddit.new(limit=None):
              if submission.created_utc <= self.min_date:
                  break
              if submission.created_utc > self.max_date:
                  continue
              self.submissions[submission.id] = MiniSubmission(submission)
docs: Fetch recent submissions in subreddit with boundaries.
  
          Does not include posts within the last day as their scores may not be
          representative.
  
          :param max_duration: When set, specifies the number of days to include