From 9ad22c9672ade3e4ac70bc127e2ba4de99c568f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Gr=C3=B8n=C3=A5s?= <44143748+sondregronas@users.noreply.github.com> Date: Thu, 22 Aug 2024 10:38:25 +0200 Subject: [PATCH] Update web_scraper.py --- .github/workflows/web_scraper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/web_scraper.py b/.github/workflows/web_scraper.py index c820b7e..ef3e9ce 100644 --- a/.github/workflows/web_scraper.py +++ b/.github/workflows/web_scraper.py @@ -38,7 +38,7 @@ def get_html(link): def get_links(html): links = re.compile(r'href="(\/[^"]*)"').findall(html) - return list(set([x for x in links if not re.match(r"/static/.*", x)])) + return list(set([x for x in links if not re.match(r"/static/.*", x) or re.match(r"\btailwind\.css\b", x)])) def get_media_links(html):