1.0.2 • Published 6 years ago
fadper v1.0.2
fadper
This is my side project to automatically download image by using Puppeteer
And yeah.. The result is quite impressive.

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/pathAnd 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: imgimageList
Contain lists of the name and the link
name: stringName of this job. Use for naming the output folderlink: stringLink for download images.
target
The CSS pointer target to HTML element. E.g. .image-container or img.
Selected element must have src attribute.