add 1440p quality (closes #11)

This commit is contained in:
ashnitman
2021-01-12 20:12:21 +02:00
parent ac9e4b1db4
commit 490f679b38
2 changed files with 2 additions and 1 deletions

View File

@@ -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:'):