From 54cd99c7504a59ee54cede9f2732f0d3a8a4b458 Mon Sep 17 00:00:00 2001 From: Igor Brai <53081752+igorbrai@users.noreply.github.com> Date: Thu, 24 Apr 2025 17:24:41 +0300 Subject: [PATCH] Fix: mojeekbot regex (#351) * update mojeekbot UA regex * add fix into changelog * hack: empty commit to unbreak CI Signed-off-by: Xe Iaso --------- Signed-off-by: Xe Iaso Co-authored-by: Xe Iaso --- data/crawlers/mojeekbot.yaml | 2 +- docs/docs/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/crawlers/mojeekbot.yaml b/data/crawlers/mojeekbot.yaml index fcd20f5..4066120 100644 --- a/data/crawlers/mojeekbot.yaml +++ b/data/crawlers/mojeekbot.yaml @@ -1,5 +1,5 @@ - name: mojeekbot - user_agent_regex: http\://www\.mojeek\.com/bot\.html + user_agent_regex: \+https\://www\.mojeek\.com/bot\.html action: ALLOW # https://www.mojeek.com/bot.html remote_addresses: [ "5.102.173.71/32" ] \ No newline at end of file diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index fc949e3..d824edd 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Disable `generic-bot-catchall` rule because of its high false positive rate in real-world scenarios - Moved all CSS inline to the Xess package, changed colors to be CSS variables - Set or append to `X-Forwarded-For` header unless the remote connects over a loopback address [#328](https://github.com/TecharoHQ/anubis/issues/328) +- Fixed mojeekbot user agent regex ## v1.16.0