案例
Collect a release download and its checksum URL
输入
Download: https://example.org/releases/v2?arch=arm64
Checksum: https://example.org/releases/v2.sha256Expected answer
https://example.org/releases/v2?arch=arm64
https://example.org/releases/v2.sha256- 显示总数
Off- 排序
Off- 去重
Off
Count repeated links in a retry log
Repeated appearances remain in the result, so this counts occurrences, not distinct destinations.
输入
retry https://api.example.org/jobs
retry https://api.example.org/jobs
done https://api.example.org/statusExpected answer
Total found: 3
https://api.example.org/jobs
https://api.example.org/jobs
https://api.example.org/status- 显示总数
On- 排序
Off- 去重
Off
Build a sorted list of distinct crawl destinations
输入
https://z.example.org/
https://a.example.org/
https://z.example.org/Expected answer
Total found: 2
https://a.example.org/
https://z.example.org/- 显示总数
On- 排序
On- 去重
On
Retain different protocols for the same archive host
输入
ftp://archive.example.org/pub/data.csv
https://archive.example.org/pub/data.csv
ftp://archive.example.org/pub/data.csvExpected answer
ftp://archive.example.org/pub/data.csv
https://archive.example.org/pub/data.csv- 显示总数
Off- 排序
Off- 去重
On
Distinguish bare domains from complete URLs
This extractor requires a scheme such as https://; a bare domain is not a match.
输入
Visit example.org or email demo@example.orgExpected answer
Empty result- 显示总数
Off- 排序
On- 去重
Off
参数
| 参数 | 默认值 | 输入与选项 |
|---|---|---|
| 显示总数 | false | 开启或关闭 |
| 排序 | false | 开启或关闭 |
| 去重 | false | 开启或关闭 |