From 756d4c2afb654067d01b5c62e15ff8f4985c3db8 Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Tue, 6 Feb 2024 20:33:58 -0800 Subject: [PATCH] Reduce quality of downloaded videos --- robocyp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robocyp.py b/robocyp.py index ea0a40b..659f982 100755 --- a/robocyp.py +++ b/robocyp.py @@ -16,7 +16,7 @@ _playlists = {} # output template: CHANNEL/DATE_TITLE_[ID].ext DEFAULT_OUTPUT_TMPL = "%(channel)s/%(upload_date)s_%(title)s_[%(id)s].%(ext)s" # download video 1080p or lower with audio -DEFAULT_FORMAT = "bestvideo[height<=1080]+bestaudio/best[height<=1080]" +DEFAULT_FORMAT = "bestvideo[height<=720]+bestaudio/best[height<=720]" def _truncate_title(title: str, length: int = 30) -> str: