From ee98baa469a1805dbffdf9b155e12390150875c6 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 14 Aug 2021 05:20:29 -0700 Subject: script to update gallery --- .config/myconf/gallery_urls | 4 ++++ .local/bin/updgall | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 .config/myconf/gallery_urls create mode 100755 .local/bin/updgall diff --git a/.config/myconf/gallery_urls b/.config/myconf/gallery_urls new file mode 100644 index 00000000..8a1da6af --- /dev/null +++ b/.config/myconf/gallery_urls @@ -0,0 +1,4 @@ +https://www.pixiv.net/users/13379747/artworks +https://www.deviantart.com/wlop/gallery +https://www.deviantart.com/minimalistic-animoo/gallery/ +https://www.deviantart.com/theminimalists/gallery/ diff --git a/.local/bin/updgall b/.local/bin/updgall new file mode 100755 index 00000000..6e0c22b0 --- /dev/null +++ b/.local/bin/updgall @@ -0,0 +1,3 @@ +#!/bin/sh + +xargs gallery-dl --download-archive "$XDG_DOCUMENTS_DIR/database/gallery-dl.sqlite3" -d "$XDG_PICTURES_DIR/anime" < "$XDG_CONFIG_HOME/myconf/gallery_urls" -- cgit v1.2.3-70-g09d2