Fixed "custom:" download format

This commit is contained in:
asuyou 2021-10-30 18:06:56 +01:00
parent d051814259
commit 9e82aa1976

View file

@ -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"