Extract urls from text
Add xurls -fix=all
to replace URLs with temporary redirects as wellxurls -fix
now shows more detailed info on broken URLsxurls -fix
now uses the method HEAD
before falling back to GET
xurls -fix
now provides a meaningful User-Agent
headerxurls -version
flagBinaries built on go version go1.20.3 linux/amd64
with:
CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v2.5.0"
Consider becoming a sponsor if you benefit from the work that went into this release!
gemini
and moz-extension
xurls -fix
could corrupt an input filexurls -fix
now only rewrites permanent redirectsxurls -fix
now checks URLs concurrently within each fileA special thanks to @gibson042, @raphaelreyna, @Seirdy and @dnkl for their contributions!
Binaries built on go version go1.17.7 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
Relaxed
to match email addresses once againcid
, mid
, and zoommtg
Binaries built on go version go1.16.6 linux/amd64
via a shell script.
Consider becoming a sponsor if you benefit from the work that went into this release!
xurls -fix
to fix HTTP URLs in plaintext files which redirect or can't be reachedBinaries built on go version go1.14.2 linux/amd64
.
Relaxed
to match punycode TLDs*
and _
markdown syntax|
as part of a URL's pathcmd/xurls
and large inputsBinaries built on go version go1.13 linux/amd64
.
mvdan.cc/xurls/v2
Strict
and Regexp
to functionsStrict
only accept well known schemesAnyScheme
to get the old Strict
behavior\p{Po}
(other punctuation) chars in URLsBinaries built on go version go1.11.1 linux/amd64
.
\p{M}
(marks) as valid characters, present in languages like Hindi.onion
is no longer a pseudo-TLDBinaries built on go version go1.8 linux/amd64
.
No noteworthy changes since 0.9.0
.
Relaxed
\p{So}
(other symbols) as valid charactersStrictMatching
to StrictMatchingScheme
#
as valid end character (empty fragment)=
as valid end character (for base64)