From 77e40a723f180073233d8facd73daefb8ad34732 Mon Sep 17 00:00:00 2001 From: pirate486743186 Date: Fri, 27 Aug 2021 11:23:42 +0200 Subject: create yt-dlp.profile --- etc/inc/disable-programs.inc | 3 +++ etc/profile-m-z/yt-dlp.profile | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 etc/profile-m-z/yt-dlp.profile (limited to 'etc') diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index ea7c2ea82..8b6938cd8 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -455,6 +455,7 @@ blacklist ${HOME}/.config/youtube-dlg blacklist ${HOME}/.config/youtube-music-desktop-app blacklist ${HOME}/.config/youtube-viewer blacklist ${HOME}/.config/youtubemusic-nativefier-040164 +blacklist ${HOME}/.config/yt-dlp blacklist ${HOME}/.config/zathura blacklist ${HOME}/.config/zim blacklist ${HOME}/.config/zoomus.conf @@ -940,6 +941,7 @@ blacklist ${HOME}/hyperrogue.ini blacklist ${HOME}/i2p blacklist ${HOME}/mps blacklist ${HOME}/wallet.dat +blacklist ${HOME}/yt-dlp.conf blacklist ${RUNUSER}/*firefox* blacklist /tmp/.wine-* blacklist /tmp/akonadi-* @@ -1119,4 +1121,5 @@ blacklist ${HOME}/.cache/yandex-browser blacklist ${HOME}/.cache/yandex-browser-beta blacklist ${HOME}/.cache/youtube-dl blacklist ${HOME}/.cache/youtube-viewer +blacklist ${HOME}/.cache/yt-dlp blacklist ${HOME}/.cache/zim diff --git a/etc/profile-m-z/yt-dlp.profile b/etc/profile-m-z/yt-dlp.profile new file mode 100644 index 000000000..ab90c837e --- /dev/null +++ b/etc/profile-m-z/yt-dlp.profile @@ -0,0 +1,18 @@ +# Firejail profile for yt-dlp +# Description: Downloader of videos of various sites +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include yt-dlp.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.cache/yt-dlp +noblacklist ${HOME}/.config/yt-dlp +noblacklist ${HOME}/yt-dlp.conf + +private-bin yt-dlp +private-etc yt-dlp.conf + +# Redirect +include youtube-dl.profile -- cgit v1.2.3-70-g09d2