diff --git a/delojza.py b/delojza.py index b0e31e8..5d48c77 100755 --- a/delojza.py +++ b/delojza.py @@ -78,7 +78,7 @@ class DelojzaBot: 'outtmpl': os.path.join(self.tmp_dir, '{}__%(title)s__%(id)s.%(ext)s'.format(datestr(date))) } if extract: - ydl_opts['format'] = 'bestaudio' + ydl_opts['format'] = 'bestaudio/best' ydl_opts['postprocessors'] = [{ 'key': 'FFmpegExtractAudio', 'preferredcodec': 'mp3',