From 490f679b388c17547f0563401839df0dc942bd0d Mon Sep 17 00:00:00 2001 From: ashnitman Date: Tue, 12 Jan 2021 20:12:21 +0200 Subject: add 1440p quality (closes #11) --- app/ytdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/ytdl.py b/app/ytdl.py index 76c0f73..3f684d8 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -36,7 +36,7 @@ class Download: self.download_dir = download_dir if quality == 'best': self.format = None - elif quality in ('1080p', '720p', '480p'): + elif quality in ('1440p', '1080p', '720p', '480p'): res = quality[:-1] self.format = f'bestvideo[height<={res}]+bestaudio/best[height<={res}]' elif quality.startswith('custom:'): -- cgit