now user configurations of youtube-dl won't cause coub-dl to fail
This commit is contained in:
parent
85f7ca4e73
commit
83a2f82d23
@ -46,13 +46,15 @@ def getDuration(ffprobe_output):
|
||||
|
||||
def downloadStreams():
|
||||
print_opt('Downloading audio stream... ', end='', flush=True)
|
||||
call(('/usr/bin/env', 'youtube-dl', '--extract-audio',
|
||||
call(('/usr/bin/env', 'youtube-dl', '--ignore-config',
|
||||
'--extract-audio',
|
||||
'--output', '{}.%(ext)s'.format(FILES[Stream.AUDIO]),
|
||||
URL),
|
||||
stdout=DEVNULL, stderr=DEVNULL)
|
||||
print_opt('Done!')
|
||||
print_opt('Downloading video stream... ', end='', flush=True)
|
||||
call(('/usr/bin/env', 'youtube-dl', '--output', '{}.%(ext)s'.format(FILES[Stream.VIDEO]),
|
||||
call(('/usr/bin/env', 'youtube-dl', '--ignore-config',
|
||||
'--output', '{}.%(ext)s'.format(FILES[Stream.VIDEO]),
|
||||
URL),
|
||||
stdout=DEVNULL, stderr=DEVNULL)
|
||||
print_opt('Done!')
|
||||
|
Loading…
Reference in New Issue
Block a user