From 9ee45a53fc441fb0bcc08bf8730a54a43b163444 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 19 Oct 2024 04:14:14 +0300 Subject: [PATCH] Vdl: Disable proxy env in favor ALL_PROXY. --- home/program/bash/module/Vdl.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home/program/bash/module/Vdl.nix b/home/program/bash/module/Vdl.nix index 270f40e..980ab76 100644 --- a/home/program/bash/module/Vdl.nix +++ b/home/program/bash/module/Vdl.nix @@ -1,8 +1,6 @@ { ... }: { text = '' - export VDL_PROXY="" - # Download video from URL. When no `[LINK]` specified, it tries to update previously downloaded link. # Usage: vdl [LINK] function vdl() { @@ -28,7 +26,7 @@ [[ -f "Src.txt" ]] || echo "''${target}" > Src.txt # Download [LINK] content. - yt-dlp ''${VDL_PROXY} -S 'res:1080,codec:av1,codec:vp9,codec:h264' --download-archive Index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' ''${target} # || _vdl_retry + yt-dlp -S 'res:1080,codec:av1,codec:vp9,codec:h264' --download-archive Index.txt --embed-thumbnail --embed-subs --write-auto-subs --embed-metadata --merge-output-format mkv -cio '%(playlist_index)000006d_%(id)s.%(ext)s' ''${target} # || _vdl_retry } # Temporary fix for vk downloads.