You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Lychee with the --dump option to collect all links from my website. The workflow involves generating a list of unique URLs and subsequently testing each link.
However, I recently encountered an issue: a URL that ends with a trailing period is not captured correctly. For example, on my website I have the following link:
I've tested with both, a local web server and a local file. In both cases, the URL gets correctly extracted.
See #1641.
Is your setup special somehow? E.g. are you parsing actual HTML files, or maybe you use a different file ending like .md (i.e. you're trying to dump Markdown files) or no file ending at all?
I use Lychee with the --dump option to collect all links from my website. The workflow involves generating a list of unique URLs and subsequently testing each link.
However, I recently encountered an issue: a URL that ends with a trailing period is not captured correctly. For example, on my website I have the following link:
This link is embedded as:
When I run lychee --dump, the output only includes:
The missing trailing period results in an incomplete URL, leading to a broken page when the link is tested.
It would be ideal if the link extraction logic could be adjusted to capture the complete URL—including any trailing punctuation.
The text was updated successfully, but these errors were encountered: