code: def download_saved_posts(self, max_count: int = None, fast_update: bool = False,
                               post_filter: Optional[Callable[[Post], bool]] = None) -> None:
          
          self.context.log("Retrieving saved posts...")
          count = 1
          for post in Profile.from_username(self.context, self.context.username).get_saved_posts():
              if max_count is not None and count > max_count:
                  break
              if post_filter is not None and not post_filter(post):
                  self.context.log("<{} skipped>".format(post), flush=True)
                  continue
              self.context.log("[{:>3}] ".format(count), end=str(), flush=True)
              count += 1
              with self.context.error_catcher('Download saved posts'):
                  downloaded = self.download_post(post, target=':saved')
                  if fast_update and not downloaded:
                      break
docs: Download user's saved pictures.
  
          :param max_count: Maximum count of pictures to download
          :param fast_update: If true, abort when first already-downloaded picture is encountered
          :param post_filter: function(post), which returns True if given picture should be downloaded