mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
5aa3870f55c56855a62003146b50815ac52c06f8
…
…
…
…
…
pixiv downloader
A pixiv downloader written in Rust.
Features
- Write exif metatata to picture.
- Merge ugoira(GIF) pictures to video files.
TODO
Setup
Docker
mkdir -p pixiv_downloader && cd pixiv_downloader
curl -L https://github.com/lifegpc/pixiv_downloader/raw/master/docker-compose.yml -o docker-compose.yml
docker-compose up -d
Rust features flags
all
Enable all unconflicted features, this will enable db_all, exif and ugoira.
db
Enable database support, at least one implement is needed.
db_all
Enable database support with all implement. This will enable db and db_sqlite.
db_sqlite
Enable database support with sqlite3.
exif
Enable exif support.
Notice
- Exiv2 is needed. If exiv2 library is not included in system library path. Make sure correct
CMAKE_PREFIX_PATHis set. - If you are build on windows system. You need apply patches in exif/patchs folder to make sure Exiv2 support UTF-8 encoding path.
ugoira
Enable the feature that merge ugoira(GIF) pictures(ZIP file) to video files(MP4 file).
Notice
- libzip and FFmpeg is needed. If these libraries are not included in system library path. Make sure
CMAKE_PREFIX_PATHandPKG_CONFIG_PATHare seted. - FFmpeg library should be linked with libX264. Other H.264 encoder may works.
OpenSSL
Due to schannel not works so well, OpenSSL is needed on Windows system. You may need specify some environment variables to make sure OpenSSL is found. (See openssl for more information.)
Languages
Rust
92.3%
C
2.2%
C++
1.7%
CMake
1.1%
Python
1.1%
Other
1.6%