mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-17 04:36:57 +00:00
make it cool now
This commit is contained in:
parent
f23a6e3ac8
commit
4d4567caf0
40 changed files with 504 additions and 611 deletions
|
@ -160,6 +160,7 @@ Maintenance:
|
|||
uvdf.loc[-1] = newrow # adding a row
|
||||
uvdf.index = uvdf.index + 1 # shifting index
|
||||
uvdf = uvdf.sort_index() # sorting by index
|
||||
uvdf = uvdf.sort_values(by=["Category","Score"], ascending=[True,False]) # sorting categories
|
||||
print("[+] New row added! now writing the csv file:")
|
||||
uvdf.to_csv(unverifiedcsvfile, index=False)
|
||||
choice=input("\n[+] Want to add another website ? (y/n) ")
|
||||
|
@ -198,13 +199,15 @@ Maintenance:
|
|||
# append it into verified.csv
|
||||
vdf.loc[-1] = newrow # adding a row
|
||||
vdf.index = vdf.index + 1 # shifting index
|
||||
vdf = vdf.sort_index() # sorting by index
|
||||
vdf = vdf.sort_index() # sxorting by index
|
||||
vdf = vdf.sort_values(by=["Category","Score"], ascending=[True,False]) # sorting categories
|
||||
vdf.to_csv(verifiedcsvfile, index=False)
|
||||
print("[+] New row added to verified.csv! now writing to the csv")
|
||||
|
||||
|
||||
# remove it from unverified.csv
|
||||
uvdf.drop(index, inplace= True)
|
||||
uvdf = uvdf.sort_values(by=["Category","Score"], ascending=[True,False]) # sorting categories
|
||||
uvdf.to_csv(unverifiedcsvfile, index=False)
|
||||
print("[+] Link is now moved to verified.csv!")
|
||||
choice=input("\n[+] Want to trust another website ? (y/n) ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue