bring support for simplex links now

This commit is contained in:
root 2025-04-21 22:49:36 +02:00
parent 35b90d927f
commit 6de26c5fa5
6 changed files with 95 additions and 9 deletions

View file

@ -211,7 +211,7 @@ Maintenance:
category = input("What is the website Category? ")
# the url of the website (required) + check if its valid
url=''
while(IsUrlValid(url) is not True):
while(IsUrlValid(url) is not True and IsSimpleXChatroomValid(url) is not True):
url=input("What is the website URL ? ")
# a quick description (optional) + check if its valid
@ -412,7 +412,7 @@ Maintenance:
case 3:
# ask the user to select between 1) verified.csv and 2) unverified.csv
while True:
print_colors("[+] Edit link attributes (WIP)")
print_colors("[+] Edit link attributes")
choice = int(input("Do you want to edit link attributes in 1) verified.csv or 2) unverified.csv ? (-1 to exit)").strip())
index=-1
name=''
@ -460,7 +460,7 @@ Maintenance:
value = input("What is the description of the website ? ")
vdf.at[index,'Description']=value
value=''
print(newrow)
print(vdf.iloc[index].values)
print("[+] overwriting existing row with new values:")
vdf.to_csv(verifiedcsvfile, index=False)
break