mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
fix blacklist matching
This commit is contained in:
parent
e764c5e6f3
commit
323a47dd46
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def add_urls(urls):
|
|||
title = html.title.string if html.title is not None else ""
|
||||
if blacklist_file is not None:
|
||||
for row in blacklist_file.itertuples():
|
||||
if row[1] in title:
|
||||
if row[1].lower() in title.lower():
|
||||
print_colors('[+] Forbidden word found. Rejecting.')
|
||||
forbidden = True
|
||||
if forbidden:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue