mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
添加结果排序
This commit is contained in:
@@ -723,3 +723,7 @@ def decode_resp_text(resp):
|
||||
# 最后尝试自动解码
|
||||
content = str(content, errors='replace')
|
||||
return content
|
||||
|
||||
|
||||
def sort_by_subdomain(data):
|
||||
return sorted(data, key=lambda item: item.get('subdomain'))
|
||||
|
||||
Reference in New Issue
Block a user