2 releases
Uses old Rust 2015
0.1.1 | Apr 30, 2018 |
---|---|
0.1.0 | Apr 28, 2018 |
#8 in #sticker
9KB
127 lines
line-stickers-scraper-rs
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.
- and saves all the scrapped PNG image files into
-vvv
- and prints logs at verbosity level of 3.
For more argument details, type:
lss -h
Dependencies
~24–32MB
~598K SLoC