Don't need to be fancy. Just need to be able to find reddit/imgur links in the submission text if there isn't an image URL. This can be done easily by extending the functionality that already exists in https://github.com/SaxyPandaBear/my-webhooks/blob/main/food-pics/food_post.py#L83 for deriving the image URL from the submission.
The webhook did not render https://www.reddit.com/r/FoodPorn/comments/rn0kk1/homemade_burger_with_fries_and_spicy_ketchup/ properly. This is simply because the post did not have an image URL, and instead put the link to Imgur in the submission text.
Don't need to be fancy. Just need to be able to find reddit/imgur links in the submission text if there isn't an image URL. This can be done easily by extending the functionality that already exists in https://github.com/SaxyPandaBear/my-webhooks/blob/main/food-pics/food_post.py#L83 for deriving the image URL from the submission.