Flask return GIF from URL

I'm trying to retrieve a gif from URL and return it as the Flask response.
It's what I currently have and it is half-working.

It will return only the first frame of the gif. I searched about it but none of them was what I was looking for

You are viewing a single comment. View All
Answered by CosmicBear [earned 5 cycles]
View Answer

Could you share the repl? I think I know what the problem is but I need to fork the code to make sure.


https://replit.com/@CosmicBear/SubtleRosyCubase#main.py Works for me. Maybe it's not really a gif?


@CosmicBear yep you were right... after testing the URL generated based on parameters manually, I noticed the URL is returning only the first frame