1.1.5 • Published 6 years ago

tamnt-image-pro v1.1.5

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

tamnt-image-pro

A module is built to download images from the website via the command

Installation

Use the package manager npm to install tamnt-image.

npm install -g tamnt-image-pro

Usage

Init config file:

tamnt-image-pro init

Edit config file:

{
  "item": ".snize-product", // Class contains image and name
  "image": {
    "tag": ".snize-item-image", // Class image: "The destination is tag 'img'"
    "attr": "src" // Attribuild get link ('src', 'data-src',...)
  },
  "name": ".snize-title", // Class want get name
  "nextPage": {
    "mode": "redirect", // Mode next page ('redirect', 'normal')
    "format": "https://www.beyondpolish.com/pages/search-results-page?q=perfect+match&page={0}", // redirect: link format
    "minPage": 1, // redirect: min page
    "maxPage": 23, // redirect: max page
    "el": ".page_next", // normal: Class Page "The destination is tag 'a' if you choose the redirect mode"
    "click": true // normal: (true: Click, false: redirect)
  },
  "url": "http://www.ibdbeauty.com/Products/Just-Gel-Polish/Polish/index.html", // normal: Domain want get
  "domain": "https://www.beyondpolish.com", // Main domain
  "openChrome": true // true: Open, false: Not Open
}

Run command:

tamnt-image-pro run

Contributing

Nguyễn Thành Tâm tamfly_production@yahoo.com

License

MIT

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago