Compare commits

...

2 Commits

Author SHA1 Message Date
csd4ni3l
e4d1e18127 add json parameter to cataas request to fix it not working 2025-12-14 18:26:55 +01:00
csd4ni3l
f1e3cc904d fix Slack caching image, now it gets the direct URL of the random image 2025-12-14 18:24:32 +01:00

2
app.py
View File

@@ -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=true").json()["url"],
"alt_text": ":3"
}
]