linkcheck icon indicating copy to clipboard operation
linkcheck copied to clipboard

[Feature Request] - BasicAuth

Open 6uhrmittag opened this issue 4 years ago • 2 comments

Adding BasicAuth via direkt Input(https://user:passwort@fqdn) or extra Header would be a nice option for secure environments.

6uhrmittag avatar May 15 '20 20:05 6uhrmittag

Being able to add headers would mean most of us would be able to use this tool on secured websites. linkcheck <url> --headers { token: "plop"}

san-slysz avatar Jan 26 '22 15:01 san-slysz

Hi, this feature would be very helpfull. I'd like to provide a pullrequest but I don't know anything about this programming with dart.

Looks like there have to be cheanges

  • for requests here https://github.com/filiph/linkcheck/blob/8ab5f5b516701f98c18cb2f16a73e5f93ebf7f12/lib/src/worker/worker.dart#L162 or here https://github.com/filiph/linkcheck/blob/8ab5f5b516701f98c18cb2f16a73e5f93ebf7f12/lib/src/worker/worker.dart#L206 and here https://github.com/filiph/linkcheck/blob/8ab5f5b516701f98c18cb2f16a73e5f93ebf7f12/lib/src/worker/worker.dart#L216

  • and handling of the flag --headers has to be implemented

SimonButtazzi avatar Dec 12 '23 08:12 SimonButtazzi