mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-07-02 06:46:42 +00:00
starting work on option 10
This commit is contained in:
parent
c4ebef10a4
commit
1b67f7a218
3 changed files with 33 additions and 21 deletions
|
@ -43,7 +43,7 @@ def download_participant_data(participant):
|
|||
|
||||
utils.print_colors(f"[+] Downloaded webring {participant} csv files and banner")
|
||||
|
||||
except Exception:
|
||||
except Exception as err:
|
||||
print_colors("[-] Downloading webring participant's files failed.", is_error=True)
|
||||
|
||||
def clean_csv(df, blacklist):
|
||||
|
@ -66,7 +66,7 @@ def clean_csv(df, blacklist):
|
|||
if not df.empty:
|
||||
df = df[df.apply(utils.is_row_valid, axis=1)]
|
||||
|
||||
except Exception:
|
||||
except Exception as err:
|
||||
print_colors("[-] cleaning dataframe failed", is_error=True)
|
||||
|
||||
return df
|
||||
|
@ -90,7 +90,7 @@ def mark_sensitive(df, sensitive_list):
|
|||
df.loc[sensitive_rows, 'Sensitive'] = 'YES'
|
||||
df.loc[~sensitive_rows, 'Sensitive'] = 'NO'
|
||||
|
||||
except Exception:
|
||||
except Exception as err:
|
||||
print_colors("[-] MArking sensitive words failed.", is_error=True)
|
||||
|
||||
|
||||
return df
|
Loading…
Add table
Add a link
Reference in a new issue