Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
manbearwiz committed Apr 10, 2018
1 parent aa40ed0 commit b81c917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube-dl-server.py
Expand Up @@ -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();
Expand Down

0 comments on commit b81c917

Please sign in to comment.