async def get_subtitles(self) -> webvtt.WebVTT | None:
        """
        Retrieves the subtitles for the video.

        Returns
        -------
        :class:`webvtt.WebVTT` | None
            Returns the subtitles for the video. If the video does not have subtitles, returns None.
            Refer https://github.com/glut23/webvtt-py for more information.

        Examples
        --------
        .. code-block:: python

            tweet = await client.get_tweet_by_id('00000000000')
            video = tweet.media[0]
            subtitles = await video.get_subtitles()
            for l in subtitles:
                print(l.start)
                print(l.end)
                print(l.text)
        """
        subtitles_playlist = await self._get_subtitles_playlist()
        if not subtitles_playlist:
            return None
        response, _ = await self._client.get(self._base_url + subtitles_playlist.segments[0].uri)
        return webvtt.from_string(response)

        Retrieves the subtitles for the video.

        Returns
        -------
        :class:`webvtt.WebVTT` | None
            Returns the subtitles for the video. If the video does not have subtitles, returns None.
            Refer https://github.com/glut23/webvtt-py for more information.

        Examples
        --------
        .. code-block:: python

            tweet = await client.get_tweet_by_id('00000000000')
            video = tweet.media[0]
            subtitles = await video.get_subtitles()
            for l in subtitles:
                print(l.start)
                print(l.end)
                print(l.text)
        
twikit/media.py