ai 开始测试
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import requests
|
||||
from Entity.Variables import prologueList
|
||||
from Entity.Variables import prologueList
|
||||
|
||||
BaseUrl = "https://crawlclient.api.yolozs.com/api/common/"
|
||||
# BaseUrl = "http://192.168.1.174:8101/api/common/"
|
||||
@@ -17,9 +17,12 @@ class Requester():
|
||||
url = BaseUrl + cls.prologue
|
||||
result = requests.get(headers=headers, url=url)
|
||||
json = result.json()
|
||||
print("json",json
|
||||
)
|
||||
data = json.get("data")
|
||||
print("返回的数据",data)
|
||||
for i in data:
|
||||
prologueList.append(i)
|
||||
prologueList.append("hello")
|
||||
|
||||
|
||||
# 翻译
|
||||
|
||||
Reference in New Issue
Block a user