Skip to content

Commit

Permalink
Move commands around in help message
Browse files Browse the repository at this point in the history
  • Loading branch information
Kethsar committed Sep 20, 2024
1 parent f88ef8a commit 8a38370
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ Options:
Pass in the given url as the audio fragment url. Must be a
Google Video url with an itag parameter of 140.
--capture-duration DURATION or TIMESTRING
Captures a livestream for the specified length of time
and then exits and finalizes the video.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 12:30:05).
-c
--cookies COOKIES_FILE
Give a cookies.txt file that has your youtube cookies. Allows
Expand Down Expand Up @@ -214,6 +219,15 @@ Options:
audio_only, alongside the final muxed file. This includes embedding
metadata and the thumbnail if set.
--start-delay DURATION or TIMESTRING
Waits for a specified length of time before starting to capture a stream from that time.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 12:30:05).
Note: * NOT supported when using also using '--live-from'.
* If the stream is scheduled and has not yet begun then
the delay does not start counting until the stream has begun.
* Ignored when resuming a download.
-td
--temporary-dir DIRECTORY
Set the working directory for the download. This is where the
Expand Down Expand Up @@ -291,20 +305,6 @@ Options:
after the stream started.
* '--live-from now' will start recording from the current stream time.
--start-delay DURATION or TIMESTRING
Waits for a specified length of time before starting to capture a stream from that time.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 12:30:05).
Note: * NOT supported when using also using '--live-from'.
* If the stream is scheduled and has not yet begun then
the delay does not start counting until the stream has begun.
* Ignored when resuming a download.
--capture-duration DURATION or TIMESTRING
Captures a livestream for the specified length of time
and then exits and finalizes the video.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 12:30:05).
Examples:
ytarchive -w
Waits for a stream. Will prompt for a URL and quality.
Expand Down
28 changes: 14 additions & 14 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ Options:
Pass in the given url as the audio fragment url. Must be a
Google Video url with an itag parameter of 140.
--capture-duration DURATION or TIMESTRING
Captures a livestream for the specified length of time
and then exits and finalizes the video.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 01:30:00).
-c
--cookies COOKIES_FILE
Give a cookies.txt file that has your youtube cookies. Allows
Expand Down Expand Up @@ -240,6 +245,15 @@ Options:
audio_only, alongside the final muxed file. This includes embedding
metadata and the thumbnail if set.
--start-delay DURATION or TIMESTRING
Waits for a specified length of time before starting to capture a stream.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 01:30:00).
Note: * NOT supported when using also using '--live-from'.
* If the stream is scheduled and has not yet begun then
the delay does not start counting until the stream has begun.
* Ignored when resuming a download.
-td
--temporary-dir DIRECTORY
Set the working directory for the download. This is where the
Expand Down Expand Up @@ -316,20 +330,6 @@ Options:
* '--live-from 1h10mm00s' will begin downloading from 1 hour 10 minutes
after the stream started.
* '--live-from now' will start recording from the current stream time.
--start-delay DURATION or TIMESTRING
Waits for a specified length of time before starting to capture a stream.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 01:30:00).
Note: * NOT supported when using also using '--live-from'.
* If the stream is scheduled and has not yet begun then
the delay does not start counting until the stream has begun.
* Ignored when resuming a download.
--capture-duration DURATION or TIMESTRING
Captures a livestream for the specified length of time
and then exits and finalizes the video.
Supports time durations (e.g. 1d8h10m) or time strings (e.g. 01:30:00).
Examples:
%[1]s -w
Expand Down

0 comments on commit 8a38370

Please sign in to comment.