From e9fd94e1a5d9e9db20660b8d9d1fcfd0baae6a42 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 2 Mar 2024 20:40:53 +0200 Subject: [PATCH] Blacklist urls that don't make sense to scan Signed-off-by: Alfred Wingate --- src/euscan/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/euscan/__init__.py b/src/euscan/__init__.py index fff04d8..baa5a1c 100644 --- a/src/euscan/__init__.py +++ b/src/euscan/__init__.py @@ -53,6 +53,11 @@ BLACKLIST_PACKAGES = [ SCANDIR_BLACKLIST_URLS = [ "mirror://rubygems/(.*)", # Not browsable "mirror://gentoo/(.*)", # Directory too big + "https://dev.gentoo.org/(.*)", # There shouldn't be releases here + # Waste of time to go through + "https://crates.io/(.*)", + "https://api.nuget.org/(.*)", + "https://myget.org/(.*)", ] BRUTEFORCE_BLACKLIST_PACKAGES = [