Skip to content

Commit 6857fcd

Browse files
committed
fix: update URL extraction logic in link checker script
1 parent bb7a468 commit 6857fcd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/check-links.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ with open(sys.argv[1], newline="") as f:
3333
rows = (line for line in f if not line.startswith("#"))
3434
for row in csv.DictReader(rows, delimiter=";"):
3535
if row.get("valid", "").strip().lower() == "false":
36-
url = row.get("urlname")
36+
url = (row.get("url") or "").strip()
3737
if url and url not in seen:
3838
seen.add(url)
3939
print(url)

0 commit comments

Comments
 (0)