From 9e82aa1976eeca20d643073596cdca0196695617 Mon Sep 17 00:00:00 2001 From: asuyou Date: Sat, 30 Oct 2021 18:06:56 +0100 Subject: Fixed "custom:" download format --- app/dl_formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dl_formats.py b/app/dl_formats.py index 184f9f9..f1b3881 100644 --- a/app/dl_formats.py +++ b/app/dl_formats.py @@ -16,7 +16,7 @@ def get_format(format: str, quality: str) -> str: video_fmt = "" final_fmt = "" - if format.startswith("custom: "): + if format.startswith("custom:"): final_fmt = format[7:] elif format == "any": final_fmt = "bv*+ba/b" -- cgit