mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
Merge remote-tracking branch 'origin/master'
Conflicts: youtube_dl/downloader/external.py
This commit is contained in:
commit
ea71034bd3
|
@ -47,8 +47,8 @@ class ExternalFD(FileDownloader):
|
||||||
|
|
||||||
def _source_address(self, command_option):
|
def _source_address(self, command_option):
|
||||||
command_part = []
|
command_part = []
|
||||||
source_address = self.ydl.params.get('source_address')
|
source_address = self.params.get('source_address')
|
||||||
if source_address is None:
|
if source_address:
|
||||||
command_part = [command_option, source_address]
|
command_part = [command_option, source_address]
|
||||||
return command_part
|
return command_part
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue