code: def download_subtitles(subtitles, pool_class=ProviderPool, **kwargs):
      
      with pool_class(**kwargs) as pool:
          for subtitle in subtitles:
              logger.info('Downloading subtitle %r', subtitle)
              pool.download_subtitle(subtitle)
docs: Download :attr:`~subliminal.subtitle.Subtitle.content` of `subtitles`.
  
      :param subtitles: subtitles to download.
      :type subtitles: list of :class:`~subliminal.subtitle.Subtitle`
      :param pool_class: class to use as provider pool.
      :type pool_class: :class:`ProviderPool`, :class:`AsyncProviderPool` or similar
      :param \*\*kwargs: additional parameters for the provided `pool_class` constructor.