From 6b8876ad637a23b816d11120329e2e753266afcc Mon Sep 17 00:00:00 2001 From: Justin Toft Date: Sat, 30 Jul 2022 19:26:49 -0400 Subject: [PATCH] Fixed slackware project --- projects/slackware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/slackware.py b/projects/slackware.py index 02a0549..78de902 100644 --- a/projects/slackware.py +++ b/projects/slackware.py @@ -34,7 +34,7 @@ class slackware(Project): hrefs2 = [i.attrs['href'] for i in s2.find_all("a")] for href in hrefs1: # for a href directories - if href.endswith("/") and href != "../" and href != "/" and not href.startswith("/") and not re.match(r'slackware-([1-7]|8\.0).*', href) and href != "slackware-iso/" and href != "slackware-current/" and href != "slackware-pre-1.0-beta/" and href != "unsupported/": + if href.endswith("/") and href != "../" and href != "/" and not href.startswith("/") and not re.match(r'slackware-([1-7]|8\.0).*', href) and href != "slackware-iso/" and href != "slackware-current/" and href != "slackware-pre-1.0-beta/" and href != "unsupported/" and not href.startswith("http"): # print(href) if href not in hrefs2: return False