Skip to content

Commit 7b8abd7

Browse files
committed
Update comment in HTML link detection
1 parent 9d84a66 commit 7b8abd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/portal-fetcher/openshift-docs-downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ async def extract_root_guides(
762762

763763
for a_tag in soup.find_all("a", href=True):
764764
href = a_tag["href"]
765-
# Look for HTML documentation links that aren't API references or external links
765+
# Look for HTML documentation links, excluding external links
766766
if "/html/" in href and "redhat.com" not in href and "://" not in href:
767767
absolute_url = urljoin(url, href)
768768
guide_links.add(absolute_url)

0 commit comments

Comments
 (0)