line-stickers-scraper

Crates.ioline-stickers-scraper
lib.rsline-stickers-scraper
version0.1.1
sourcesrc
created_at2018-04-28 09:04:03.500297+00
updated_at2018-04-30 05:10:00.815263+00
descriptionExecutable in Rust to scrap and save LINE sticker PNGs from URL
homepage
repositoryhttps://github.com/guangie88/line-stickers-scraper-rs
max_upload_size
id62733
size14,174
Weiguang (guangie88)

documentation

README

line-stickers-scraper-rs

Build Status Build status Crates.io

Experimental executable in Rust to scrap and save LINE sticker PNGs from URL.

Saves all scrapped LINE sticker PNGs from given URL into given output directory.

As with all scraper, this is highly dependent on the website DOM layout, so this is likely to break over time (especially this is experimental 😊).

Installation

cargo install line-stickers-scraper

This installs lss into your Cargo binary directory.

Example usage

lss https://store.line.me/stickershop/product/7842/en -o output/ -vvv

This performs a GET request from the above URL:

  • -o output/
    • and saves all the scrapped PNG image files into output/ directory. The file names are extracted based on some unique ID from the image web URL.
  • -vvv
    • and prints logs at verbosity level of 3.

For more argument details, type:

lss -h
Commit count: 5

cargo fmt