Authenticating with LinkChecker

不羁的心 提交于 2019-12-10 21:41:50

问题


I want to use LinkChecker to validate links across my web pages. However I must be authenticated to view most pages I want to test.

How do I authenticate to a website when I am using LinkChecker?


回答1:


The options for setting the username and passwords for authentication are set in the linkcheckerrc config file. You can edit that config file by starting LinkChecker and going to the options dialog.

For syntax see the authentication section:

http://wummel.github.com/linkchecker/man5/linkcheckerrc.5.html

Note that I have found I need to restart LinkChecker to get the config file to be read after changing it.



来源:https://stackoverflow.com/questions/11852353/authenticating-with-linkchecker

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!