summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nushell/youtube.nu2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nushell/youtube.nu b/.config/nushell/youtube.nu
index c34b21b..ec14ad1 100644
--- a/.config/nushell/youtube.nu
+++ b/.config/nushell/youtube.nu
@@ -1,5 +1,5 @@
export def download [video_url: string] {
- yt-dlp --cookies-from-browser firefox --downloader aria2c --downloader-args '-c -j 3 -x 3 -s 3 -k 1M' --sponsorblock-mark default --sponsorblock-remove sponsor --restrict-filenames -P $"($env.MISCPATH)/Youtube/" --output '%(channel)s_%(channel_id)s/%(playlist|Misc)s/%(upload_date)s.%(id)s.%(title)s.%(ext)s' $video_url
+ yt-dlp --cookies-from-browser firefox --downloader aria2c --downloader-args '-c -j 3 -x 3 -s 3 -k 1M' --sponsorblock-mark default --sponsorblock-remove sponsor --restrict-filenames -P $"($env.MISCPATH)/Youtube/" --output '%(channel)s_%(channel_id)s/%(playlist|Misc)s/%(playlist_index|)s%(upload_date)s.%(id)s.%(title)s.%(ext)s' $video_url
}
export def stream [video_url: string] {