mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 04:05:08 +03:00
💡 add TODO
This commit is contained in:
@@ -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:
|
||||
|
||||
+3
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user