We do not want to use settings
This commit is contained in:
parent
65f777f00f
commit
bdfa285e6b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ def url_getter(html, current_page, root_url):
|
|||
# Works only with python >= 3.6
|
||||
links_list = list(dict.fromkeys(links_list))
|
||||
|
||||
forbidden_words = ['login', 'agreement', 'mailto']
|
||||
forbidden_words = ['login', 'agreement', 'mailto', 'settings']
|
||||
links_list = [link for link in links_list if not any(word in link.lower()
|
||||
for word in
|
||||
forbidden_words)]
|
||||
|
|
Loading…
Reference in a new issue