mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
fix lantern.py
This commit is contained in:
parent
10d584cf98
commit
9f9a37a7c9
2 changed files with 6 additions and 4 deletions
|
@ -1203,16 +1203,16 @@ Maintenance:
|
|||
|
||||
case 11:
|
||||
try:
|
||||
print_colors("1) Move entries to verified 2) Move entries from submission to unverified 3) Delete from submission file 4) Add to blacklist -1) exit")
|
||||
|
||||
submission_df = pd.read_csv(submission_file_abs_path)
|
||||
verified_csv_df = pd.read_csv(verifiedcsvfile)
|
||||
unverified_csv_df = pd.read_csv(unverifiedcsvfile)
|
||||
blacklist_df = pd.read_csv(blcsvfile)
|
||||
blacklisted_words = [word for word in blacklist_df['blacklisted-words']]
|
||||
for i, row in submission_df.iterrows():
|
||||
print_colors(row)
|
||||
link = row['link']
|
||||
print('\n',row[['name','desc','category','sensitive']])
|
||||
print('\nLink to verify: ',link)
|
||||
print_colors("\n1) Move entries to verified.csv \n2) Move entries from submission to unverified.csv \n3) Delete from submission.csv file \n4) Add to blacklist.csv \n-1) exit")
|
||||
if link in blacklisted_words:
|
||||
print_colors("Black listed entry found", bold=True)
|
||||
continue
|
||||
|
|
2
templates/submission.csv
Normal file
2
templates/submission.csv
Normal file
|
@ -0,0 +1,2 @@
|
|||
link,name,desc,category,sensitive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue