提取 URL

从输入中识别并提取 URL。

输入: 文本结果: 文本

文本输入

工具选项

案例

Collect a release download and its checksum URL

输入

Download: https://example.org/releases/v2?arch=arm64
Checksum: https://example.org/releases/v2.sha256

Expected 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/status

Expected 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.csv

Expected 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.org

Expected answer

Empty result
显示总数
Off
排序
On
去重
Off

参数

参数默认值输入与选项
显示总数false开启或关闭
排序false开启或关闭
去重false开启或关闭

相关工具

提取

操作参考

查看原始技术文档 (English)