All Projects → xeron → danbooru-ruby-grabber

xeron / danbooru-ruby-grabber

Licence: MIT license
Danbooru, Konachan, Behoimi (3dbooru) and Yandere images downloader

Programming Languages

ruby
36898 projects - #4 most used programming language
Gherkin
971 projects

Projects that are alternatives of or similar to danbooru-ruby-grabber

scripter
一些脚本和工具
Stars: ✭ 20 (-48.72%)
Mutual labels:  danbooru, konachan, yandere
BooruSharp
A C# library to browse Booru websites (Gelbooru, Konachan, E621...) easily
Stars: ✭ 46 (+17.95%)
Mutual labels:  danbooru, konachan
GelbooruEnhancement
Image Viewer and Endless Scroll userscripts for Gelbooru and various other boorus
Stars: ✭ 41 (+5.13%)
Mutual labels:  konachan, yandere
konadl
Multithreaded Konachan / Yandere (moebooru based site) Image Bulk Downloader | 多线程K站Y站下载器
Stars: ✭ 64 (+64.1%)
Mutual labels:  konachan, yandere
Hideri
A fully-featured bot for discord, supporting popular sites like reddit, hitomila, tsumino, nhentai, exhentai, and more
Stars: ✭ 18 (-53.85%)
Mutual labels:  danbooru, konachan
Geeqie
claiming to be the best image viewer / photo collection browser
Stars: ✭ 239 (+512.82%)
Mutual labels:  images
oz-clear-unused-images-obsidian
Obsidian plugin to clear the images that are not used in note files anymore
Stars: ✭ 92 (+135.9%)
Mutual labels:  images
Transferee
一个帮助您完成从缩略视图到原视图无缝过渡转变的神奇框架
Stars: ✭ 2,697 (+6815.38%)
Mutual labels:  images
React Native Swiper Flatlist
👆 Swiper component implemented with FlatList using Hooks & Typescript + strict automation tests with Detox
Stars: ✭ 217 (+456.41%)
Mutual labels:  images
cloudinary-api
Shorter and lighter APIs for Cloudinary
Stars: ✭ 41 (+5.13%)
Mutual labels:  images
Pikax
一个基于requests的P站下载器/ A pixiv downloader based on requests
Stars: ✭ 49 (+25.64%)
Mutual labels:  images
nasa-images
product like nasa images gallery using react - redux
Stars: ✭ 17 (-56.41%)
Mutual labels:  images
Parsr
Transforms PDF, Documents and Images into Enriched Structured Data
Stars: ✭ 2,736 (+6915.38%)
Mutual labels:  images
wordpress-plugin
Speed up your WordPress website. Optimize your JPEG and PNG images automatically with TinyPNG.
Stars: ✭ 78 (+100%)
Mutual labels:  images
Vectorlogozone
3,000+ gorgeous SVG logos, perfect for your README or credits page
Stars: ✭ 239 (+512.82%)
Mutual labels:  images
react-butterfiles
🦋 Component for building file fields - from basic file inputs to drag and drop image galleries.
Stars: ✭ 44 (+12.82%)
Mutual labels:  images
Svg Credit Card Payment Icons
SVG Credit Card & Payment Icons: 6 Styles, 80 Icons
Stars: ✭ 227 (+482.05%)
Mutual labels:  images
avif-sample-images
AVIF example images, licensed under CC-BY-SA.
Stars: ✭ 37 (-5.13%)
Mutual labels:  images
MediaSliderView
Pure java based, highly customizable media slider gallery supporting both images and videos for android.
Stars: ✭ 85 (+117.95%)
Mutual labels:  images
React Lazy Images
🖼️ 🛋️ Components and utilities for lazy image loading in React
Stars: ✭ 254 (+551.28%)
Mutual labels:  images

Build Status

Overview

danbooru-ruby-grabber is a danbooru downloader — simple script which downloads images from danbooru.donmai.us, konachan.com, behoimi.org and yande.re. Support of any danbooru-powered site could be added easily.

Usage

Usage: danbooru.rb [options] "tags"

Target:
    -b, --board BOARDNAME            Target board. Supported options: danbooru (default), konachan, behoimi, yandere
    -P, --pool POOL_ID               Pool ID (tags will be ignored)

Storage options:
    -s, --storage DIR                Storage mode (all images in one dir and symlinks in tagged dirs)
    -d, --directory BASE_DIR         Base directory to save images. By default it uses the same location as script
    -f, --filename PATTERN           Filename pattern. Supported options: id (default), md5, tags, url (old default)
    Note: `-f tags` could miss some files due to filesystems' filename length limitation.

Authentication:
    This is optional, but recommended since some boards block access without authentication.
    -u, --user USERNAME              Username
    -p, --password PASSWORD          Password (API Key for danbooru)

Tools:
    Ruby's file saver is used by default. You can change it using this options. `wget` or `curl` binaries should be available.
    -w, --wget                       Download using wget
    -c, --curl                       Download using curl

Limits:
    This option could be used multiple times with different limiters.
    -l, --limit LIMITER              Limiters in the following format: limiter=number. Supported limiters: pages, posts, per_page

Help:
    -h, --help                       Print a help message

Notes

  • To prevent duplicates files are stored using post id based filenames. You can change this behavior using -f option.

  • Using -f tags could miss some files due to filesystems' filename length limitation.

  • Always use -u and -p options with danbooru, because they block requests without login and password.

  • Number of tags you can use at the same time could be limited by board (for example danbooru limits basic accounts by 2 tags)

  • Images are stored in tag-named directory.

  • Script creates file named files.bbs with all tags of each image.

Installation

You need json and nokogiri gems to be installed. You can install them by this command:

gem install json nokogiri

Note: may be you need to use sudo.

Bonus

Have fun.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].