starting work on option 10

This commit is contained in:
doctor_dev 2025-05-30 18:20:52 +00:00
parent c4ebef10a4
commit 1b67f7a218
No known key found for this signature in database
GPG key ID: F12F7F71CB84AEAA
3 changed files with 33 additions and 21 deletions

View file

@ -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