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