No description
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| LICENSE.md | ||
| README.md | ||
| uploader.py | ||
oxibooru-uploader
little script i pawed together to automagically upload files into oxibooru
usage: uploader.py [-h] [--tags TAGS] [--tags-from-file] [--source SOURCE] [--source-from-file] [--safety SAFETY] [--token TOKEN] [--host HOST] file
positional arguments:
file file to upload
options:
-h, --help show this help message and exit
--tags TAGS list of tags, space or comma seperated
--tags-from-file load tags from 'Keywords' field in the file's metadata
--source SOURCE source url of the image
--source-from-file load source from 'Source' field in the file's metadata
--safety SAFETY safety rating of the image, e.g. safe, sketchy, unsafe, etc.
--token TOKEN Auth token, can alternatively passed as OXI_TOKEN environment variable
--host HOST Oxibooru host, can alternatively passed as OXI_HOST environment variable
Requirements
python-requestsneeds to be available to send the API request.- if the
-from-fileoptions are used for tags and source,exiftoolneeds to be available on yourPATH