From ec05110f08609c3062bac0cefd10b3a73fc8f6b2 Mon Sep 17 00:00:00 2001 From: Ben Kimock Date: Sun, 7 Jan 2024 15:10:20 -0500 Subject: [PATCH] Select the right tables in the scrape script --- ci/scrape-targets.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/scrape-targets.py b/ci/scrape-targets.py index 375c76380d..c0cc5b2c3b 100644 --- a/ci/scrape-targets.py +++ b/ci/scrape-targets.py @@ -4,11 +4,11 @@ html = open(sys.argv[1], 'r').read() soup = BeautifulSoup(html, features="html.parser") # The tables are: -# Tier 1 -# Tier 2 with host tools <-- we want this one -# Tier 2 without host tools <-- and also this +# Tier 1 <-- this is already checked by main CI, so we ignore it here +# Tier 2 with host tools <-- we want this one +# Tier 2 without host tools <-- and also this # Tier 3 -for table in soup.find_all("table")[2:4] +for table in soup.find_all("table")[1:3]: for row in table.find_all('tr'): code = row.find('code') if code is not None: