Let video_list show thumbnail urls for easy downloading.

master
voussoir 2022-09-07 18:02:18 -07:00
parent 834c25882f
commit de22dff161
No known key found for this signature in database
GPG Key ID: 5F7554F8C26DACCB
1 changed files with 3 additions and 1 deletions

View File

@ -185,6 +185,7 @@ def video_list_argparse(args):
published=video.published, published=video.published,
published_string=video.published_string, published_string=video.published_string,
state=video.state, state=video.state,
thumbnail=video.thumbnail,
title=video.title, title=video.title,
views=video.views, views=video.views,
) )
@ -498,6 +499,7 @@ def main(argv):
p_video_list.examples = [ p_video_list.examples = [
'--state pending --limit 100', '--state pending --limit 100',
'--channel UCzIiTeduaanyEboRfwJJznA --orderby views', '--channel UCzIiTeduaanyEboRfwJJznA --orderby views',
'--channel UC6nSFpj9HTCZ5t-N3Rm3-HA --format "{thumbnail} {id}.jpg" | threaded_dl !i {basename}'
] ]
p_video_list.add_argument( p_video_list.add_argument(
'--channel', '--channel',
@ -514,7 +516,7 @@ def main(argv):
A string like "{published_string}:{id} {title}" to format the A string like "{published_string}:{id} {title}" to format the
attributes of the video. The available attributes are author_id, attributes of the video. The available attributes are author_id,
duration, id, live_broadcast, published, published_string, state, duration, id, live_broadcast, published, published_string, state,
title, views. title, views, thumbnail.
''', ''',
) )
p_video_list.add_argument( p_video_list.add_argument(