def extract_subtitles(self, *args, **kwargs):
    if (self._downloader.params.get('writesubtitles', False) or self._downloader.params.get('listsubtitles')):
        return self._get_subtitles(*args, **kwargs)
    return {}
def extract_subtitles(self, *args, **kwargs):
    if (self._downloader.params.get('writesubtitles', False) or self._downloader.params.get('listsubtitles')):
        return self._get_subtitles(*args, **kwargs)
    return {}