mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
parent
cdc0495cf1
commit
f4ab045cdc
@ -8,6 +8,7 @@ Twitch Downloader change log
|
|||||||
* Added `--no-join` option to `download` to skip ffmpeg join (#36)
|
* Added `--no-join` option to `download` to skip ffmpeg join (#36)
|
||||||
* Added `--overwrite` option to `download` to overwrite target without prompting
|
* Added `--overwrite` option to `download` to overwrite target without prompting
|
||||||
for confirmation (#37)
|
for confirmation (#37)
|
||||||
|
* Added `--pager` option to `videos`, don't page by default (#30)
|
||||||
|
|
||||||
1.11.0 (2020-09-03)
|
1.11.0 (2020-09-03)
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -65,6 +65,13 @@ def videos(args):
|
|||||||
for video in videos["edges"]:
|
for video in videos["edges"]:
|
||||||
print_video(video["node"])
|
print_video(video["node"])
|
||||||
|
|
||||||
|
if not args.pager:
|
||||||
|
print_out(
|
||||||
|
"\n<dim>There are more videos. "
|
||||||
|
"Increase the --limit or use --pager to see the rest.</dim>"
|
||||||
|
)
|
||||||
|
break
|
||||||
|
|
||||||
if not has_more or not _continue():
|
if not has_more or not _continue():
|
||||||
break
|
break
|
||||||
|
|
||||||
|
@ -77,6 +77,11 @@ COMMANDS = [
|
|||||||
"choices": ["archive", "highlight", "upload"],
|
"choices": ["archive", "highlight", "upload"],
|
||||||
"default": "archive",
|
"default": "archive",
|
||||||
}),
|
}),
|
||||||
|
(["-p", "--pager"], {
|
||||||
|
"help": "If there are more results than LIMIT, ask to show next page",
|
||||||
|
"action": "store_true",
|
||||||
|
"default": False,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Command(
|
Command(
|
||||||
|
Loading…
Reference in New Issue
Block a user