broken-link-checker
broken-link-checker copied to clipboard
Setting cookies?
Hi guys,
I've been trying to set cookies with BLC, but didn't succeed yet. Therefore, BLC is getting "blocked" by a Cookie Wall and cannot proceed. Normally, when using ?policy=accepted behind the URL, it would automatically "accept" the cookies, but that doesn't seem to work either, because it gets redirected to a 301 Moved Permanently and doesn't proceed from there.
Also, using --header "Cookie: key=value" with wget seem to work OK. Do we have something similar to work with for BLC or do you have any other ideas how to deal with this?
Thanks!
Volkan
I haven't begun to research automating cookies in this library. The main hurdle has been form automation for logins, but maybe a custom header like you suggested would prevent that need. There is currently no such option to support this, however.
That's too bad. I think BLC would really benefit from the possibility of adding custom headers as it's quite a common feature that people tend to use. I hope it will be added soon. Thanks a lot for your response.
I agree. I just can't comment on when or which version it will be implemented.