Skip to content

A feature-rich command-line audio/video downloader

[downloader/external] Simplify

Sergey M․ae7773942ecf
diff --git a/youtube_dl/downloader/external.py b/youtube_dl/downloader/external.py
index 012057ecb5..faac11805c 100644
--- a/youtube_dl/downloader/external.py
+++ b/youtube_dl/downloader/external.py
@@ -47,7 +47,7 @@ class ExternalFD(FileDownloader):
def _source_address(self, command_option):
command_part = []
- source_address = self.ydl.params.get('source_address')
+ source_address = self.params.get('source_address')
if source_address:
command_part = [command_option, source_address]
return command_part