Skip to content

Relative links aren't detected from STDIN or local files #671

@nacnudus

Description

@nacnudus

A similar issue was reported in #183 and addressed by #217. However, this doesn't work when files are passed into STDIN, or for local files.

lychee --dump --base https://www.example.com example.html # works
lychee --dump --base https://www.example.com example # doesn't work
cat example.html | lychee --dump --base https://www.example.com # doesn't work

Could this be fixed by having --base force HTML mode?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions