Merge pull request #566 from armingh2000/adding_soylentnews

Added soylentnews
pull/567/head
Siddharth Dushantha 5 years ago committed by GitHub
commit 3b39512732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2596,5 +2596,14 @@
"urlMain": "https://windy.com/", "urlMain": "https://windy.com/",
"username_claimed": "blue", "username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7" "username_unclaimed": "noonewouldeverusethis7"
},
"soylentnews": {
"errorMsg": "The user you requested does not exist, no matter how much you wish this might be the case.",
"errorType": "message",
"rank": 1312907,
"url": "https://soylentnews.org/~{}",
"urlMain": "https://soylentnews.org",
"username_claimed": "adam",
"username_unclaimed": "noonewouldeverusethis7"
} }
} }

@ -12,7 +12,6 @@ from argparse import ArgumentParser, RawDescriptionHelpFormatter
pool = list() pool = list()
def get_rank(domain_to_query, dest): def get_rank(domain_to_query, dest):
result = -1
#Retrieve ranking data via alexa API #Retrieve ranking data via alexa API
url = f"http://data.alexa.com/data?cli=10&url={domain_to_query}" url = f"http://data.alexa.com/data?cli=10&url={domain_to_query}"

Loading…
Cancel
Save