diff options
author | asuyou <asuyou@users.noreply.github.com> | 2021-10-30 18:06:56 +0100 |
---|---|---|
committer | asuyou <asuyou@users.noreply.github.com> | 2021-10-30 18:06:56 +0100 |
commit | 9e82aa1976eeca20d643073596cdca0196695617 (patch) | |
tree | 0e31343d530976cc7d9829fdf6e5fcf5989a1349 | |
parent | Added quality choice based on format (diff) | |
download | metube-9e82aa1976eeca20d643073596cdca0196695617.tar.gz metube-9e82aa1976eeca20d643073596cdca0196695617.tar.bz2 metube-9e82aa1976eeca20d643073596cdca0196695617.zip |
Fixed "custom:" download format
-rw-r--r-- | app/dl_formats.py | 2 |
1 files changed, 1 insertions, 1 deletions
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" |