summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--downloader.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/downloader.lisp b/downloader.lisp
index 07ecb84..cafe46b 100644
--- a/downloader.lisp
+++ b/downloader.lisp
@@ -66,7 +66,7 @@
(trackinfo-file
(trackinfo-file tmpdir tmpname)))
(uiop:run-program
- (format nil "youtube-dl --audio-format opus --playlist-end 1 --write-info-json -x -o \"~a/~a.%(ext)s\" '~a'"
+ (format nil "youtube-dl --format-sort aext --prefer-free-formats --playlist-end 1 --write-info-json -x -o \"~a/~a.%(ext)s\" '~a'"
tmpdir tmpname url))
(let* ((info
(trackinfo trackinfo-file))