项目作者: Farzy

项目描述 :
Download pictures from a Cheerz PhotoBooth live event
高级语言: Rust
项目地址: git://github.com/Farzy/cheerz-dl.git
创建时间: 2020-09-23T15:23:05Z
项目社区:https://github.com/Farzy/cheerz-dl

开源协议:Apache License 2.0

下载


Cheerz-dl

Download pictures from a Cheerz Photobooth link.

All you need to have is the private URL of the photo gallery.

The script is written in Rust. Yes it’s overkill! But it was a fun challenge.

Building

```shell script
cargo build

  1. # Running
  2. ## Syntax
  3. ```text
  4. Cheerz downloader 1.0.0
  5. Farzad FARID <farzy@farzy.org>:Gilles RASIGADE
  6. Download all pictures from a Cheerz event
  7. USAGE:
  8. cheerz-dl [OPTIONS] <url>
  9. FLAGS:
  10. -h, --help Prints help information
  11. -V, --version Prints version information
  12. OPTIONS:
  13. -d, --directory <directory> Directory to download pictures to [default: /tmp/cheerz]
  14. ARGS:
  15. <url> URL provided by Cheerz for the event

Using the Docker image

```shell script
docker run -v /tmp/cheerz:/tmp/cheerz farzadfarid/cheerz-dl URL

  1. ## Locally
  2. ```shell script
  3. cargo run -- URL

Debugging

Prefix the binary with RUST_LOG=cheerz_dl=debug in order to
display debug messages.

Using RUST_LOG=debug is more verbose and displays libraries’ debug messages too.

Licence

Copyright 2020 Gilles Rasigade, Farzad FARID

Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.