Skip to content

Reddit links can not be checked? + Default list of exclusions #297

@tooomm

Description

@tooomm

I found an older discussion on issue with checking Reddit links and posted my observation there too: lycheeverse/lychee#1324 (comment)

After adding a link to project related subreddit to a README file, it always returns an error on the link:
[403] Network error: Forbidden

The link follows the usual pattern (https:/www.reddit.com/r/SUBREDDITNAME/) and does work just fine when putting it into the browser directly.

Can somebody confirms this or is aware


I had to add --exclude www.reddit.com to the args in lychee-action.

Reading #53 then, I found out that e.g. twitter links are actually always excluded as false positives that would always fail:
https://github.com/lycheeverse/lychee/blob/master/lychee-lib/src/filter/mod.rs#L34-L39

Should reddit also be listed there?


I also saw certain w3.org links that are also skipped automatically:
https://github.com/lycheeverse/lychee/blob/master/lychee-lib/src/filter/mod.rs#L42-L52
But looking at e.g. https://www.w3schools.com/xml/schema_intro.asp, they actually list a different link not covered right now, which I circumvent by excluding www.w3.org in general:
http://www.w3.org/2001/XMLSchema-instance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions