diff options
author | Alex Shnitman <alexta69@gmail.com> | 2021-11-27 16:45:21 +0200 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2021-11-27 16:45:21 +0200 |
commit | 51b8100362891ff04a76e32f20336a3f9eb26a5a (patch) | |
tree | 6b0e9a472686b3befa286d47dbf5a2036ba5b93f /app | |
parent | add a YTDL_OPTIONS example (diff) | |
download | metube-51b8100362891ff04a76e32f20336a3f9eb26a5a.tar.gz metube-51b8100362891ff04a76e32f20336a3f9eb26a5a.tar.bz2 metube-51b8100362891ff04a76e32f20336a3f9eb26a5a.zip |
fix default format (closes #85)
Diffstat (limited to 'app')
-rw-r--r-- | app/dl_formats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dl_formats.py b/app/dl_formats.py index 1f27ee9..4593af3 100644 --- a/app/dl_formats.py +++ b/app/dl_formats.py @@ -12,7 +12,7 @@ def get_format(format: str, quality: str) -> str: Returns: dl_format: Formatted download string """ - format = format or "best" + format = format or "any" if format.startswith("custom:"): return format[7:] |