diff --git a/README.adoc b/README.adoc index 3e16528..d12a0d1 100644 --- a/README.adoc +++ b/README.adoc @@ -33,9 +33,10 @@ ytdl_format="bestvideo[height<=1080]+bestaudio/best[height<=1080]" -------------------------------------------------------------------------------- |=============================================================================== -| *download_dir* | The directory to which the videos will be downloaded. -| *keep_for_days* | Download only videos newer than this many days and delete older videos. -| *ytdl_format* | Same syntax as link:{url-ytdl-format}[youtube-dl --format]. Default is "best". +| *download_dir* | The directory to which the videos will be downloaded. +| *keep_for_days* | Download only videos newer than this many days and delete older videos. +| *ytdl_format* | Same syntax as link:{url-ytdl-format}[youtube-dl --format]. Default is "best". +| *ytdl_extra_args* | Extra arguments for `youtube-dl`. Optional. |=============================================================================== diff --git a/download-yt-feeds b/download-yt-feeds old mode 100755 new mode 100644 index 103756f..a1933cc --- a/download-yt-feeds +++ b/download-yt-feeds @@ -61,6 +61,7 @@ function main() --dateafter "now-${keep_for_days}days" \ --output "${download_dir}/%(uploader)s/%(title)s.%(ext)s" \ --format "${ytdl_format}" \ + "${ytdl_extra_args}" \ "${feed}" done