Skip to main content

Playlist Item Selection

string
Comma-separated playlist_index of the items to downloadYou can specify a range using [START]:[STOP][:STEP]. For backward compatibility, START-STOP is also supported.Use negative indices to count from the right and negative STEP to download in reverse order.Example:

File Size Filters

string
Abort download if filesize is smaller than SIZEExample:
string
Abort download if filesize is larger than SIZEExample:

Date Filters

string
Download only videos uploaded on this dateThe date can be “YYYYMMDD” or in the format [now|today|yesterday][-N[day|week|month|year]]Example:
string
Download only videos uploaded on or before this dateThe date formats accepted are the same as --dateExample:
string
Download only videos uploaded on or after this dateThe date formats accepted are the same as --dateExample:

Advanced Filters

string
Generic video filter. Any “OUTPUT TEMPLATE” field can be compared with a number or a string using the operators defined in “Filtering Formats”You can:
  • Specify a field to match if the field is present
  • Use !field to check if the field is not present
  • Use & to check multiple conditions
  • Use \ to escape & or quotes if needed
If used multiple times, the filter matches if at least one of the conditions is met.Use --match-filters - to interactively ask whether to download each video.Example:
flag
default:"true"
Do not use any --match-filters
string
Same as --match-filters but stops the download process when a video is rejected
flag
default:"true"
Do not use any --break-match-filters

Playlist Handling

flag
Download only the video, if the URL refers to a video and a playlist
flag
Download the playlist, if the URL refers to a video and a playlist

Age Restriction

number
Download only videos suitable for the given ageExample:

Archive

string
Download only videos not listed in the archive file. Record the IDs of all downloaded videos in itExample:
flag
default:"true"
Do not use archive file

Download Limits

number
Abort after downloading NUMBER filesExample:
flag
Stop the download process when encountering a file that is in the archive supplied with the --download-archive option
flag
default:"true"
Do not stop the download process when encountering a file that is in the archive
flag
Alters --max-downloads, --break-on-existing, --break-match-filters, and autonumber to reset per input URL
flag
--break-on-existing and similar options terminates the entire download queue
number
Number of allowed failures until the rest of the playlist is skippedExample: