Fix unsupported_g_pages in result list (#996)

Closes #995
main
Abhishek M J 2023-05-01 21:53:57 +05:30 committed by GitHub
parent 1eb8e04ed1
commit 349b87ec18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -486,7 +486,9 @@ class Filter:
if parent.name == 'footer' or f'{GClasses.footer}' in p_cls:
link.decompose()
parent = parent.parent
return
if link.decomposed:
return
# Replace href with only the intended destination (no "utm" type tags)
href = link['href'].replace('https://www.google.com', '')