fix simplex stuff (remove amp; crap)

This commit is contained in:
root 2025-05-04 23:21:55 +02:00
parent 22489e571e
commit 6bc49c6786
2 changed files with 5 additions and 1 deletions

View file

@ -1225,6 +1225,8 @@ Maintenance:
blacklisted_words = [word for word in blacklist_df['blacklisted-words']]
for i, row in submission_df.iterrows():
link = row['link']
#remove the bad amp; crap that breaks things
link = link.replace("&","&")
print('\n',row[['name','desc','category','sensitive']])
print('\nLink to verify: ',link)
print_colors("\n1) Move entry to verified.csv \n2) Move entry from submission.csv to unverified.csv \n3) Delete from submission.csv file \n4) Add to blacklist.csv \n-1) exit")
@ -1294,6 +1296,7 @@ Maintenance:
finally:
print_colors("No more submissions to review, exiting.")
break
case 12:
@ -1417,6 +1420,7 @@ Maintenance:
finally:
print_colors("No more crawled websites to review, exiting.")
break
break
case 0:

View file

@ -78,7 +78,7 @@ if (isset($_POST['submit'])){
</center>
<form action="submit.php" method="POST">
<label style="color:white">Link</label>
<input required class="input-class" type="text" name="link" placeholder="http://link.com/onion">
<input required class="input-class" type="text" name="link" placeholder="http://newonionlink.onion/index.html">
<label style="color:white">Name</label>
<input required class="input-class" type="text" name="name">
<label style="color:white">Description</label>