1.0.7 • Published 4 years ago
@viice/crawl-files v1.0.7
crawl-cli
$ npm install @viice/crawl-files -g
$ crawl-cli run [url] [ua] [dir] [tag]
Options description:
Option | Describe | Example |
---|---|---|
--url | Url that needs crawler | --url=https://cn.bing.com/ |
--ua | Set ua | --ua=android |
--dir | Set the directory of the generated files | --dir=hello |
--tag | Get custom tag configuration | --tag="{tag:'img',attr:'data-url',mime:'image'}" |
License
This content is released under the MIT License.