deadlink
deadlink copied to clipboard
Links with parens
Common in Wikipedia links.
Example: From https://en.wikipedia.org/wiki/Join_(SQL) link is recognized as https://en.wikipedia.org/wiki/Join_
.
Maybe as additional info for @nschloe:
The regular expression in _main.py
https://github.com/nschloe/deadlink/blob/a86802242e0cd12ccdb346c80863d0f2545f6d42/src/deadlink/_main.py#L19-L21 could be extended by parantheses by just adding them after the last =
. While the function in _get_urls_from_file()
at https://github.com/nschloe/deadlink/blob/a86802242e0cd12ccdb346c80863d0f2545f6d42/src/deadlink/_main.py#L26-L32 correctly finds links with parantheses when doing so, the links break along the way when using deadlink
to check for links with parens.