Skip to content

Commit

Permalink
Select the right tables in the scrape script
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Jan 7, 2024
1 parent a8fcc53 commit ec05110
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/scrape-targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ec05110

Please sign in to comment.