From f1e3cc904d78ae442c733ab07c50bc14df7c7920 Mon Sep 17 00:00:00 2001 From: csd4ni3l Date: Sun, 14 Dec 2025 18:24:32 +0100 Subject: [PATCH] fix Slack caching image, now it gets the direct URL of the random image --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index b6fc372..29751a7 100644 --- a/app.py +++ b/app.py @@ -55,7 +55,7 @@ def generate_meow_blocks(): "text": "Meow!" }, "block_id": "image4", - "image_url": "https://cataas.com/cat/cute/says/Meow", + "image_url": requests.get("https://cataas.com/cat/cute/says/Meow").json()["url"], "alt_text": ":3" } ]