From b81c9178d717fedbc86f1d259a1af7c465148685 Mon Sep 17 00:00:00 2001 From: Kevin Brey Date: Tue, 10 Apr 2018 01:32:06 -0500 Subject: [PATCH] fix: syntax error --- youtube-dl-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl-server.py b/youtube-dl-server.py index 4aa14231..f2ef3264 100644 --- a/youtube-dl-server.py +++ b/youtube-dl-server.py @@ -37,7 +37,7 @@ def dl_worker(): def download(url): print("Starting download of " + url) - subprocess.run(["youtube-dl", "-l", "/youtube-dl/.incomplete/%(title)s.%(ext)s", "-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]", "--exec", "touch {} && mv {} /youtube-dl/", "--merge-output-format", "mp4", url]) + subprocess.run(["youtube-dl", "-o", "/youtube-dl/.incomplete/%(title)s.%(ext)s", "-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]", "--exec", "touch {} && mv {} /youtube-dl/", "--merge-output-format", "mp4", url]) print("Finished downloading " + url) dl_q = Queue();