diff options
-rw-r--r-- | bash/youtube.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bash/youtube.sh b/bash/youtube.sh index 584d09b..6ffb2da 100644 --- a/bash/youtube.sh +++ b/bash/youtube.sh @@ -6,15 +6,16 @@ export YT_TEMPLATE="~/Downloads/yt-dl/%(uploader)s/%(upload_date)s %(title)s.%(e # Always downloads video, doesn't look at the download-archive yt_dl() { - youtube-dl "$1" -o "$YT_TEMPLATE" + youtube-dl "$1" -o "$YT_TEMPLATE" --write-description } export -f yt_dl download() { youtube-dl "$1" \ --download-archive ~/Nextcloud/cache/youtube-dl-seen.conf \ - --prefer-free-formats \ - --playlist-end $2 \ + --prefer-free-formats \ + --playlist-end $2 \ + --write-description \ --output "$YT_TEMPLATE" } export -f download |