code: def medias(self, timeframe=None):
          
          info = self.info
          if timeframe is not None:
              start, end = TimedMediasIterator.get_times(timeframe)
              timestamp = info.get("taken_at_timestamp") or info["media"]
              if not (start >= timestamp >= end):
                  raise StopIteration
          yield info
docs: Return a generator that yields only the refered post.
  
          Yields:
              dict: a media dictionary obtained from the given post.
  
          Raises:
              StopIteration: if the post does not fit the timeframe.