aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasuyou <asuyou@users.noreply.github.com>2021-10-30 18:06:56 +0100
committerasuyou <asuyou@users.noreply.github.com>2021-10-30 18:06:56 +0100
commit9e82aa1976eeca20d643073596cdca0196695617 (patch)
tree0e31343d530976cc7d9829fdf6e5fcf5989a1349
parentAdded quality choice based on format (diff)
downloadmetube-9e82aa1976eeca20d643073596cdca0196695617.tar.gz
metube-9e82aa1976eeca20d643073596cdca0196695617.tar.bz2
metube-9e82aa1976eeca20d643073596cdca0196695617.zip
Fixed "custom:" download format
-rw-r--r--app/dl_formats.py2
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"
bgstack15