更换图片地址,格式化代码!

This commit is contained in:
xmengnet 2021-06-11 09:06:40 +08:00
parent c47b9e3261
commit 73d3f3fe94

View file

@ -1,5 +1,7 @@
from zzcore import StdAns
import requests
class Ans(StdAns):
def GETMSG(self):
try:
@ -30,7 +32,7 @@ class Ans(StdAns):
def Kemomimi():
url="http://api.aya1.xyz:6/random.php"
url = "http://api.aya1.xyz:6/random0.php"
# 获取重定向后的地址
imgurl = requests.get(url).url
status = requests.get(url).status_code