From 87e7073f6242c9387f0a25c750f9ca6ecdb8f7ec Mon Sep 17 00:00:00 2001 From: oskvr37 Date: Sun, 9 Feb 2025 15:21:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20add=20TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tiddl/cli/auth.py | 2 ++ tiddl/download.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tiddl/cli/auth.py b/tiddl/cli/auth.py index fd5f9a4..9b467a3 100644 --- a/tiddl/cli/auth.py +++ b/tiddl/cli/auth.py @@ -22,6 +22,8 @@ def AuthGroup(): def login(ctx: Context): """Add token to the config""" + # TODO: refresh token automatically + auth = ctx.obj.config.auth if auth.token: diff --git a/tiddl/download.py b/tiddl/download.py index 22aad8f..5909743 100644 --- a/tiddl/download.py +++ b/tiddl/download.py @@ -105,8 +105,9 @@ def downloadTrackStream(track_stream: TrackStream) -> tuple[bytes, str]: def parseVideoStream(video_stream: VideoStream) -> list[str]: """Parse `video_stream` manifest and return video urls""" - # TOOD: add video quality arg. - # for now we download the highest quality + # TODO: add video quality arg, + # for now we download the highest quality. + # -vq option in download command class VideoManifest(BaseModel): mimeType: str