youtube-dl.sh: update

- fix hash bang
- use yt-dlp
- get cookies from my current browser of choice
This commit is contained in:
Lukáš Kucharczyk 2024-07-22 18:14:38 +02:00
parent e309917948
commit 64e999d93c
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#!/run/current-system/sw/bin/bash
#!/usr/bin/env bash
youtube-dl "$1" \
yt-dlp "$1" \
--download-archive "~/Videos/YT/history.conf" \
--prefer-free-formats\
--write-description \
--output "~/Videos/YT/%(uploader)s/%(upload_date)s - %(title)s.%(ext)s"
--cookies-from-browser vivaldi