Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Add cookie support between redirects #182

Description

@jonatan-ivanov

There are sites that are sending a redirect with a cookie if the request does not have one, for examlpe Twitter started doing this, so those links are now marked as broken even if they are not:

echo 'https://twitter.com' |  markdown-link-check

You can also verify this with curl, this should fail:

curl --verbose --location 'https://twitter.com'

But if you enable cookies, it works:

curl --verbose --location --cookie --junk-session-cookies 'https://twitter.com'

Workaround: sending some static cookies in the headers but having support for this would be nice, since sites can change the cookies they mandate any time. See: jonatan-ivanov/develotters-blog@727cfd5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions