summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-08-14 05:20:29 -0700
committerxyz <gky44px1999@gmail.com>2021-08-14 05:20:29 -0700
commitee98baa469a1805dbffdf9b155e12390150875c6 (patch)
tree1729bc722bb464bbb14edf38c8b11d3d2be281e2
parent395a0b8f57d7cd24f0094aa96adcda13c57c3927 (diff)
script to update gallery
-rw-r--r--.config/myconf/gallery_urls4
-rwxr-xr-x.local/bin/updgall3
2 files changed, 7 insertions, 0 deletions
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"