summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-09-07 11:13:46 -0700
committerxyz <gky44px1999@gmail.com>2021-09-07 11:13:46 -0700
commita9c193649f84bed082595b882435cfd253f5da7a (patch)
treec57f675fd5af0fb8648747914f40327ff5605e57
parenta06dfba8d49c0c8f7d0468ab1a03212a73a329d4 (diff)
gallery-dl use -i option for input file
-rw-r--r--.config/myconf/gallery_urls1
-rwxr-xr-x.local/bin/updgall2
2 files changed, 2 insertions, 1 deletions
diff --git a/.config/myconf/gallery_urls b/.config/myconf/gallery_urls
index 8a1da6af..c0ffd026 100644
--- a/.config/myconf/gallery_urls
+++ b/.config/myconf/gallery_urls
@@ -1,3 +1,4 @@
+# input file format see https://github.com/mikf/gallery-dl/blob/13d4045a8a5a6fd45cb20df399f44055b25f5cca/gallery_dl/__init__.py#L33-L58
https://www.pixiv.net/users/13379747/artworks
https://www.deviantart.com/wlop/gallery
https://www.deviantart.com/minimalistic-animoo/gallery/
diff --git a/.local/bin/updgall b/.local/bin/updgall
index 6e0c22b0..fdbc0dd2 100755
--- a/.local/bin/updgall
+++ b/.local/bin/updgall
@@ -1,3 +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"
+gallery-dl --download-archive "$XDG_DOCUMENTS_DIR/database/gallery-dl.sqlite3" -d "$XDG_PICTURES_DIR/anime" -i "$XDG_CONFIG_HOME/myconf/gallery_urls"