From aaaea08d6d85e7706bad2b1b88a2e915853f241b Mon Sep 17 00:00:00 2001 From: arch_agent Date: Tue, 4 Aug 2026 09:49:43 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20AUR=20RPC=20URL=20=E2=80=94=20/rpc=20not?= =?UTF-8?q?=20/rpc/v5=20(API=20path=20changed)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aur_shield/aur_client.py | 2 +- aur_shield/ioc_fetcher.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aur_shield/aur_client.py b/aur_shield/aur_client.py index 67afcc8..6735370 100644 --- a/aur_shield/aur_client.py +++ b/aur_shield/aur_client.py @@ -7,7 +7,7 @@ from typing import Any import httpx -AUR_RPC = "https://aur.archlinux.org/rpc/v5" +AUR_RPC = "https://aur.archlinux.org/rpc" AUR_CGIT = "https://aur.archlinux.org/cgit/aur.git/plain" diff --git a/aur_shield/ioc_fetcher.py b/aur_shield/ioc_fetcher.py index 5b528da..ddeaed2 100644 --- a/aur_shield/ioc_fetcher.py +++ b/aur_shield/ioc_fetcher.py @@ -59,7 +59,7 @@ class IOCResult: HEDGEDOC_URL = "https://md.archlinux.org/s/SxbqukK6IA" GIST_URL = "https://gist.githubusercontent.com/Kidev/85756c3dcad3623ca5604a8135bafd14/raw" ARCH_SECURITY_URL = "https://security.archlinux.org/advisory/atomic-arch/json" -AUR_RPC_ORPHAN_URL = "https://aur.archlinux.org/rpc/v5/search?by=maintainer&arg=orphan" +AUR_RPC_ORPHAN_URL = "https://aur.archlinux.org/rpc?by=maintainer&arg=orphan" CACHE_TTL = 300 # 5 minutes