Playlist Item Selection
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
Abort download if filesize is smaller than SIZEExample:
Abort download if filesize is larger than SIZEExample:
Date Filters
Download only videos uploaded on this dateThe date can be “YYYYMMDD” or in the format
[now|today|yesterday][-N[day|week|month|year]]Example:Download only videos uploaded on or before this dateThe date formats accepted are the same as
--dateExample:Download only videos uploaded on or after this dateThe date formats accepted are the same as
--dateExample:Advanced Filters
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
!fieldto check if the field is not present - Use
&to check multiple conditions - Use
\to escape&or quotes if needed
--match-filters - to interactively ask whether to download each video.Example:Do not use any
--match-filtersSame as
--match-filters but stops the download process when a video is rejectedDo not use any
--break-match-filtersPlaylist Handling
Download only the video, if the URL refers to a video and a playlist
Download the playlist, if the URL refers to a video and a playlist
Age Restriction
Download only videos suitable for the given ageExample:
Archive
Download only videos not listed in the archive file. Record the IDs of all downloaded videos in itExample:
Do not use archive file
Download Limits
Abort after downloading NUMBER filesExample:
Stop the download process when encountering a file that is in the archive supplied with the
--download-archive optionDo not stop the download process when encountering a file that is in the archive
Alters
--max-downloads, --break-on-existing, --break-match-filters, and autonumber to reset per input URL--break-on-existing and similar options terminates the entire download queueNumber of allowed failures until the rest of the playlist is skippedExample: