Add ytdl_extra_args.
This commit is contained in:
parent
fc25d0a1f6
commit
9c083ec36e
@ -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.
|
||||
|===============================================================================
|
||||
|
||||
|
||||
|
1
download-yt-feeds
Executable file → Normal file
1
download-yt-feeds
Executable file → Normal file
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user