11 releases (4 breaking)
0.5.1 | Jul 28, 2024 |
---|---|
0.5.0 | Jul 11, 2024 |
0.4.0 | Jul 10, 2024 |
0.3.0 | Jul 3, 2024 |
0.1.2 | May 1, 2024 |
#256 in Authentication
61 downloads per month
17KB
183 lines
boostydownloader
A simple application to bulk-download content from Boosty and Gelbooru. Made with my own library imgdl-rs (https://github.com/crptmem/imgdl-rs)
Installation
$ cargo install boostydownload
Usage
Boosty:
$ boostydownload boosty --blog <BLOG_NAME>
Without authorization:
$ boostydownload boosty --blog USERNAME
With authorization:
$ boostydownload boosty --blog USERNAME --access-token ACCESS_TOKEN
If requested blog have more than 300 posts:
$ boostydownload boosty --blog USERNAME --limit POSTS_COUNT
Gelbooru:
$ boostydownload gelbooru --url <SITE_ROOT_URL> --tags --proxy [PROXY]
By default content is downloaded to $PWD/img
. You can change path by --path
argument.
Obtaining access token
Go to https://boosty.to, open developer tools in your browser,
go to Storage (Application) -> Cookies. You need auth
, click on it and in
right panel click RMB on accessToken
and copy it.
Dependencies
~10–23MB
~358K SLoC