fix default format (closes #85)
This commit is contained in:
parent
224deb9792
commit
51b8100362
|
|
@ -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:]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue