Skip to content

based on scraper, to write a simple tool for scanning web files. 基于scraper,写一个扫描网络文件的简单工具。

License

Notifications You must be signed in to change notification settings

aiyoudiao/scraper-scan-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scraper-scan-verification

based on scraper, to write a simple tool for scanning web files. 基于scraper,写一个扫描网络文件的简单工具。

Notes 说明

node >= 16.16.0

Installation 安装

npm i -g iscan

Use 使用

iscan

如果你的运行目录中没有setting.json文件,那么当你运行这行命令时会自动在当前目录下生成一个setting.json文件的配置,配置如下:

{
  "root": "./temp", // 本地临时存储文件的根目录
  "keywords": [], // 关键字列表
  "sites": [], // 网站URL列表
  "log": "./log.json", // 日志文件
  "retention": false, // 保留你扫描过的文件
  "exclude": [] // 要排除的文件,比如那些不进行扫描,可以填入部分文件名
}

If you do not have a setting.json file in your directory, then when you run this command, a setting.json file configuration will be generated automatically in the current directory, as follows:

{
  "root": "./temp", // the root directory of the local temporary storage file
  "keywords": [], // List of keywords
  "sites": [], // List of website urls
  "log": "./log.json", // log file
  "retention": false, // Keep the files you scanned
  "exclude": [], // Files to exclude, such as those not scanned, with a partial filename
}

请至少填充 setting.json 中的 keywords 和 sites ,不然程序不会运行。

Please fill in at least keywords and sites in setting.json or the program won't run.

About

based on scraper, to write a simple tool for scanning web files. 基于scraper,写一个扫描网络文件的简单工具。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published