fix default format (closes #85)
This commit is contained in:
@@ -12,7 +12,7 @@ def get_format(format: str, quality: str) -> str:
|
|||||||
Returns:
|
Returns:
|
||||||
dl_format: Formatted download string
|
dl_format: Formatted download string
|
||||||
"""
|
"""
|
||||||
format = format or "best"
|
format = format or "any"
|
||||||
|
|
||||||
if format.startswith("custom:"):
|
if format.startswith("custom:"):
|
||||||
return format[7:]
|
return format[7:]
|
||||||
|
|||||||
Reference in New Issue
Block a user