mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-30 21:25:52 +08:00
添加cdn判断模块
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
@@ -215,6 +216,11 @@ def check_format(format, count):
|
||||
return 'csv'
|
||||
|
||||
|
||||
def load_json(path):
|
||||
with open(path) as fp:
|
||||
return json.load(fp)
|
||||
|
||||
|
||||
def save_db(name, data, module):
|
||||
"""
|
||||
Save request results to database
|
||||
|
||||
Reference in New Issue
Block a user