diff --git a/coub-dl.py b/coub-dl.py index ed4f131..6415007 100644 --- a/coub-dl.py +++ b/coub-dl.py @@ -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!')