booru-tools/README.md

33 lines
954 B
Markdown
Raw Normal View History

2023-09-24 18:16:11 +00:00
# booru-tools
2023-09-29 04:51:25 +00:00
scripts for downloading and tagging images from booru websites
2023-09-29 04:55:29 +00:00
- stores tags in `user.xdg.tags` xattr
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- tags work with KDE dolphin / KDE's baloo file indexer, idk about other desktop environments
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- see https://wiki.archlinux.org/title/Extended_attributes
2023-09-29 04:51:25 +00:00
2023-09-29 04:55:29 +00:00
- These took me a whole morning to write. Its very much WIP...
## Depends on:
`jq` for json parsing
`torsocks` if you're downloading through tor
2023-09-29 04:51:25 +00:00
```
./gelbdl.sh [-t] [-s]
Simply make a files.txt inside a folder and paste all your links, then run this script to download them all!
-h shows this help message
-t downloads using tor (requires torsocks)
-s sets the delay after each request, defaults to 1
```
```
./gelbtag.sh [-t] [-s]
Tags existing pictures inside a folder
-h shows this help message
-t downloads using tor (requires torsocks)
-s sets the delay after each request, defaults to 1
```