mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern.git
synced 2025-05-16 20:26:58 +00:00
updated
This commit is contained in:
parent
fb02bf3a49
commit
bdd601a8aa
7 changed files with 165 additions and 150 deletions
|
@ -97,12 +97,13 @@ def main():
|
|||
if df.at[i,"Score"] > 0:
|
||||
df.at[i,"Score"] = df.at[i,"Score"] - 1
|
||||
|
||||
df2 = df.sort_values(by=["Score"], ascending=False)
|
||||
#sort by category if you are verified/unverified.csv
|
||||
if csvfilename in csvfiles2sortcat:
|
||||
df2 = df.sort_values(by=["Category"], ascending=True)
|
||||
#print(df2)
|
||||
df2 = df.sort_values(by=["Category","Name"], ascending=[True,True])
|
||||
else:
|
||||
df2 = df.sort_values(by="Score", ascending=False)
|
||||
df2.to_csv(csvfile, index=False)
|
||||
#print(df2)
|
||||
|
||||
|
||||
def IsUrlValid(url:str)->bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue