From ef059f3dbd73295219c242b34353bc20da4e7fa6 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Fri, 25 Feb 2022 17:54:28 +0100 Subject: [PATCH] Extend docs for the videos command --- README.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ec5c00..0fc28c9 100644 --- a/README.md +++ b/README.md @@ -114,18 +114,42 @@ playlist URLs for videos. ### Listing videos -List recent streams for a given channel: +List recent channel videos (10 by default): ``` twitch-dl videos bananasaurus_rex ``` -Use the `--game` option to specify one or more games to show: +Limit to videos of one or more games: ``` twitch-dl videos --game "doom eternal" --game "cave story" bananasaurus_rex ``` +List all channel videos at once: + +``` +twitch-dl videos bananasaurus_rex --all +``` + +List all channel videos in pages of 10: + +``` +twitch-dl videos bananasaurus_rex --pager +``` + +Page size can be adjusted by passing number of items per page: + +``` +twitch-dl videos bananasaurus_rex --pager 5 +``` + +Returns all videos as a JSON list. Useful for scripting. + +``` +twitch-dl videos bananasaurus_rex --json --all +``` + ### Downloading videos Download a video by ID or URL: