From f05de0e5f5e9b03f3a1ef853c323d94fe93192d0 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Tue, 13 Jun 2023 16:25:08 -0400 Subject: [PATCH] Use a different user-agent. (#4313) Signed-off-by: dblock --- _plugins/link-checker.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_plugins/link-checker.rb b/_plugins/link-checker.rb index 25f1c6e7..5dfd53c9 100644 --- a/_plugins/link-checker.rb +++ b/_plugins/link-checker.rb @@ -104,7 +104,8 @@ module Jekyll::LinkChecker @external_link_checker = LinkChecker::Typhoeus::Hydra::Checker.new( logger: Jekyll.logger, hydra: { max_concurrency: 2 }, - retries: 3 + retries: 3, + user_agent: 'OpenSearch Documentation Website Link Checker/1.0' ) @external_link_checker.on :failure, :error do |result|