Fixed "custom:" download format

This commit is contained in:
asuyou 2021-10-30 18:06:56 +01:00
parent d051814259
commit 9e82aa1976
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def get_format(format: str, quality: str) -> str:
video_fmt = "" video_fmt = ""
final_fmt = "" final_fmt = ""
if format.startswith("custom: "): if format.startswith("custom:"):
final_fmt = format[7:] final_fmt = format[7:]
elif format == "any": elif format == "any":
final_fmt = "bv*+ba/b" final_fmt = "bv*+ba/b"