leedo / noembed

oEmbed gateway service with additional non-oEmbed sources
http://www.noembed.com
484 stars 90 forks source link

Invalid flickr results, probably caused by never-refreshed caches #105

Open jplozi opened 5 years ago

jplozi commented 5 years ago

It seems that when you replace a picture on Flickr, noembed doesn't notice the change and will return the URLs of the old picture forever.

See for instance: https://noembed.com/embed?url=https%3A%2F%2Fflic.kr%2Fp%2F25GGgCN One of the returned URLs is, for instance: https://farm2.staticflickr.com/1823/41154636530_5bcd8b373c_b.jpg

Which is one of the old URLs of the picture, so it redirects you to https://s.yimg.com/pw/images/fr-fr/photo_unavailable_l.png.

The thing is, https://flic.kr/p/25GGgCN is still a valid link and still has a picture. The issue is that I replaced it several months ago. And it seems like noembed never refreshed its caches.

This is annoying on reddit, because if you post a Flickr picture that was replaced, Reddit Enhancement Suite's Flickr expando will fail every time.

I'd be very grateful if you guys could fix that.