Describe the bug
A clear and concise description of what the bug is.
I want to detect whether twitter links on my site are still valid, but twitter returns a 400 error for them because they sniff the user-agent and only respond 200 to an allowlist of browsers.
To Reproduce
Steps to reproduce the behavior.
blc -r https://jasik.xyz - but you can honestly just run curl -v https://twitter.com/calebjasik
Expected behavior
A clear and concise description of what you expected to happen.
I would expect that the link checker could actually detect whether the link works. I don't know whether this is out of scope of the commandline tool or not, I guess it's something I would have to do with the library - manually setting up the user-agent to be valid?
Describe the bug A clear and concise description of what the bug is. I want to detect whether twitter links on my site are still valid, but twitter returns a 400 error for them because they sniff the user-agent and only respond 200 to an allowlist of browsers.
To Reproduce Steps to reproduce the behavior.
blc -r https://jasik.xyz
- but you can honestly just runcurl -v https://twitter.com/calebjasik
Expected behavior A clear and concise description of what you expected to happen.
I would expect that the link checker could actually detect whether the link works. I don't know whether this is out of scope of the commandline tool or not, I guess it's something I would have to do with the library - manually setting up the user-agent to be valid?
Environment: