Usage: photon.py [-h] [-u ROOT] [-c COOK] [-r REGEX] [-e {csv,json}] [-o OUTPUT] [-l LEVEL] [-t THREADS] [-d DELAY] [-v] [-s SEEDS [SEEDS ...]] [--stdout STD] [--user-agent USER_AGENT] [--exclude EXCLUDE] [--timeout TIMEOUT] [-p PROXIES] [--clone] [--headers] [--dns] [--keys] [--update] [--only-urls] [--wayback]
可选参数:
-h, --help 显示此帮助信息并退出
-u ROOT, --url ROOT 根 URL
-c COOK, --cookie COOK Cookie
-r REGEX, --regex REGEX 正则表达式模式
-e {csv,json}, --export {csv,json} 导出格式
-o OUTPUT, --output OUTPUT 输出目录
-l LEVEL, --level LEVEL 爬行的级别
-t THREADS, --threads THREADS 线程数
-d DELAY, --delay DELAY 请求之间的延迟
-v, --verbose 详细输出
-s SEEDS [SEEDS ...], --seeds SEEDS [SEEDS ...] 额外的种子 URL
--stdout STD 将变量发送到标准输出
--user-agent USER_AGENT 自定义用户代理
--exclude EXCLUDE 排除与此正则表达式匹配的 URL
--timeout TIMEOUT HTTP 请求超时
-p PROXIES, --proxy PROXIES 代理服务器 IP:PORT 或 DOMAIN:PORT
--clone 将网站克隆到本地
--headers 添加标头
--dns 枚举子域和 DNS 数据
--keys 查找密钥
--update 更新 Photon
--only-urls 仅提取 URL
--wayback 从 archive.org 获取 URL 作为种子