openverse-api
openverse-api copied to clipboard
Link liveness validation cannot depend only on status code of item's `url`
Description
Validating that an upstream url returns a 200 is apparently not actually sufficient to find dead links. This result is on the first page of cc0 search for "dogs": https://search-production.openverse.engineering/image/8f562c74-432f-47d0-bb68-fff2fdb07a16
Foreign landing URL (404s): https://www.flickr.com/photos/160949630@N04/44980956602
Media item url (does not 404): https://live.staticflickr.com/1966/44980956602_6380fb034c_b.jpg
Additional context
Resolution
- [ ] 🙋 I would be interested in resolving this bug.