From de22dff161264dae75fab0c52d51eea12b8cb654 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 7 Sep 2022 18:02:18 -0700 Subject: [PATCH] Let video_list show thumbnail urls for easy downloading. --- frontends/ycdl_cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontends/ycdl_cli.py b/frontends/ycdl_cli.py index f95dca7..5a89559 100644 --- a/frontends/ycdl_cli.py +++ b/frontends/ycdl_cli.py @@ -185,6 +185,7 @@ def video_list_argparse(args): published=video.published, published_string=video.published_string, state=video.state, + thumbnail=video.thumbnail, title=video.title, views=video.views, ) @@ -498,6 +499,7 @@ def main(argv): p_video_list.examples = [ '--state pending --limit 100', '--channel UCzIiTeduaanyEboRfwJJznA --orderby views', + '--channel UC6nSFpj9HTCZ5t-N3Rm3-HA --format "{thumbnail} {id}.jpg" | threaded_dl !i {basename}' ] p_video_list.add_argument( '--channel', @@ -514,7 +516,7 @@ def main(argv): A string like "{published_string}:{id} {title}" to format the attributes of the video. The available attributes are author_id, duration, id, live_broadcast, published, published_string, state, - title, views. + title, views, thumbnail. ''', ) p_video_list.add_argument(