mirror of
https://github.com/alexta69/metube.git
synced 2026-06-16 16:20:07 +00:00
fix default format (closes #85)
This commit is contained in:
+1
-1
@@ -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