From d437814d3b3ddc493d9ecd645b3f4a81f45d9f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 4 Feb 2018 23:38:07 +0100 Subject: [PATCH] simply dl original audio on #audio (?) --- robot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/robot.py b/robot.py index 261b762..f1c5608 100755 --- a/robot.py +++ b/robot.py @@ -55,10 +55,10 @@ def download_ydl(urls, subdir, date, extract=False): } if extract: ydl_opts['format'] = 'bestaudio' - ydl_opts['postprocessors'] = [{ - 'key': 'FFmpegExtractAudio', - 'preferredcodec': 'wav' - }] + # ydl_opts['postprocessors'] = [{ + # 'key': 'FFmpegExtractAudio', + # 'preferredcodec': 'wav' + # }] with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download(urls) out_dir = f'{OUT_DIR}/{subdir}/'