def extract_automatic_captions(self, *args, **kwargs):
    if (self._downloader.params.get('writeautomaticsub', False) or self._downloader.params.get('listsubtitles')):
        return self._get_automatic_captions(*args, **kwargs)
    return {}
def extract_automatic_captions(self, *args, **kwargs):
    if (self._downloader.params.get('writeautomaticsub', False) or self._downloader.params.get('listsubtitles')):
        return self._get_automatic_captions(*args, **kwargs)
    return {}