From 5c82b2ac9edaac8fcd7f7c5aa4c55afeb43c9026 Mon Sep 17 00:00:00 2001 From: AustrianToast Date: Fri, 21 Jun 2024 02:49:03 +0200 Subject: [PATCH] add Rule34 --- Rule34/.gitignore | 1 + Rule34/gallery-dl.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 Rule34/.gitignore create mode 100755 Rule34/gallery-dl.sh diff --git a/Rule34/.gitignore b/Rule34/.gitignore new file mode 100644 index 0000000..3121c5e --- /dev/null +++ b/Rule34/.gitignore @@ -0,0 +1 @@ +to_download_r34.txt diff --git a/Rule34/gallery-dl.sh b/Rule34/gallery-dl.sh new file mode 100755 index 0000000..d1bffdc --- /dev/null +++ b/Rule34/gallery-dl.sh @@ -0,0 +1,11 @@ +#!/usr/bin/bash + +#cd /srv/dev-disk-by-uuid-b7a4d72a-4b42-4599-9712-c044e8fe3213/NSFB/Hentai || exit 1 +#cp downloaded_r34.txt to_download_r34.txt || exit 1 +#gallery-dl --config ./config.json --input-file-delete to_download_r34.txt + +if [ ! -s to_download_r34.txt ]; then + echo "file empty" +else + echo "file not empty" +fi