From 64e999d93cac580da1895dacae38c08cb927ad1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 22 Jul 2024 18:14:38 +0200 Subject: [PATCH] youtube-dl.sh: update - fix hash bang - use yt-dlp - get cookies from my current browser of choice --- youtube-dl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/youtube-dl.sh b/youtube-dl.sh index 8dae724..4f34d4d 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -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