mirror of
https://github.com/csd4ni3l/meow-bot.git
synced 2026-01-01 12:33:49 +01:00
add json parameter to cataas request to fix it not working
This commit is contained in:
2
app.py
2
app.py
@@ -55,7 +55,7 @@ def generate_meow_blocks():
|
|||||||
"text": "Meow!"
|
"text": "Meow!"
|
||||||
},
|
},
|
||||||
"block_id": "image4",
|
"block_id": "image4",
|
||||||
"image_url": requests.get("https://cataas.com/cat/cute/says/Meow").json()["url"],
|
"image_url": requests.get("https://cataas.com/cat/cute/says/Meow?json=true").json()["url"],
|
||||||
"alt_text": ":3"
|
"alt_text": ":3"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user