diff options
| -rw-r--r-- | youtube_dl/downloader/external.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py index e47e3bf4c..faac11805 100644 --- a/youtube_dl/downloader/external.py +++ b/youtube_dl/downloader/external.py @@ -47,8 +47,8 @@ class ExternalFD(FileDownloader):      def _source_address(self, command_option):          command_part = [] -        source_address = self.ydl.params.get('source_address') -        if source_address is None: +        source_address = self.params.get('source_address') +        if source_address:              command_part = [command_option, source_address]          return command_part | 
