mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 14:08:59 +00:00
Fixed issue with str alexaRank
This commit is contained in:
@@ -1034,7 +1034,7 @@
|
||||
"disabled": true
|
||||
},
|
||||
"Appian": {
|
||||
"alexaRank": "56402",
|
||||
"alexaRank": 56402,
|
||||
"url": "https://community.appian.com/members/{username}",
|
||||
"checkType": "message",
|
||||
"absenceStrs": [
|
||||
|
||||
@@ -114,7 +114,7 @@ Rank data fetched from Alexa by domains.
|
||||
sys.stdout.flush()
|
||||
index = index + 1
|
||||
|
||||
sites_full_list = [(s, s.alexa_rank) for s in sites_subset]
|
||||
sites_full_list = [(s, int(s.alexa_rank)) for s in sites_subset]
|
||||
|
||||
sites_full_list.sort(reverse=False, key=lambda x: x[1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user