1.0.2 • Published 4 years ago

fadper v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

fadper

This is my side project to automatically download image by using Puppeteer

And yeah.. The result is quite impressive.

screenshot

Usage

Selected element must have src attribute.

First, you need two things, The image-list.yaml configuration file and download folder.

Then type this in your console.

fadper -c ./path/to/image-list.yaml -o ./download/path

And your downloaded image should be in the download folder

  • -c, --config-file <config file> specify path to configuration file.
  • -o, --output <download path> specify path to save images

Configuration file

Example:

imageList:
  - name: image-folder-name-1
    link: https://unsplash.com/
target: img

imageList

Contain lists of the name and the link

  • name: string Name of this job. Use for naming the output folder
  • link: string Link for download images.

target

The CSS pointer target to HTML element. E.g. .image-container or img.

Selected element must have src attribute.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago