mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-29 02:57:29 +00:00
parent
5a53dee82b
commit
1cd8e056f4
2
meizi.py
2
meizi.py
@ -43,7 +43,7 @@ async def meizi(context):
|
|||||||
elif website == 12:
|
elif website == 12:
|
||||||
img = get("https://api.diskgirl.com/image/api.php?t=&v=0.9451485087333713")
|
img = get("https://api.diskgirl.com/image/api.php?t=&v=0.9451485087333713")
|
||||||
elif website == 13:
|
elif website == 13:
|
||||||
img = get("https://api.diskgirl.com/image/api.php")
|
img = get("https://api.diskgirl.com/image/api.php?t=&v=" + str(random.uniform(0, 100)))
|
||||||
if img.status_code == 200:
|
if img.status_code == 200:
|
||||||
with open(r'tu.png', 'wb') as f:
|
with open(r'tu.png', 'wb') as f:
|
||||||
await context.edit("正在上传图片")
|
await context.edit("正在上传图片")
|
||||||
|
Loading…
Reference in New Issue
Block a user