Extract URLs

Extracts Uniform Resource Locators (URLs) from the input. The protocol (http, ftp etc.) is required otherwise there will be far too many false positives.

Input: TextResult: Text

Text input

Tool options

Examples

Collect a release download and its checksum URL

Input

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
Display total
Off
Sort
Off
Unique
Off
Count repeated links in a retry log

Repeated appearances remain in the result, so this counts occurrences, not distinct destinations.

Input

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
Display total
On
Sort
Off
Unique
Off
Build a sorted list of distinct crawl destinations

Input

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/
Display total
On
Sort
On
Unique
On
Retain different protocols for the same archive host

Input

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
Display total
Off
Sort
Off
Unique
On
Distinguish bare domains from complete URLs

This extractor requires a scheme such as https://; a bare domain is not a match.

Input

Visit example.org or email demo@example.org

Expected answer

Empty result
Display total
Off
Sort
On
Unique
Off

Parameters

ParameterDefault valueInput and choices
Display totalfalseOn or off
SortfalseOn or off
UniquefalseOn or off

Related tools

Browse extractors tools