parent
1eb8e04ed1
commit
349b87ec18
|
@ -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', '')
|
||||
|
|
Loading…
Reference in New Issue