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)