Check dead links and ask users to correct their media links

Media links often go dead in time. Especially on youtube, etc.
It would be useful if XFMG would periodically check for dead links and Alert the authors/members that their video link is no longer available and ask them to find a replacement URL.
This way the webmaster doesn't end up with a mass of dead links to fix and the community will fix most of the problem itself.

I think this was suggested a few years ago and I "Not Planned" it then. I will keep an open mind about it, for now, but I think it's worth noting there's a technical challenge in identifying whether a video is "dead" or not.

For example if you take a YouTube URL that doesn't exist:
https://youtu.be/AFAKEURL123

YouTube doesn't actually identify that as a dead URL in the HTTP response. You would usually expect a 404 not found response, but instead it sends a 200 ok response.

This would leave us doing potentially complex scraping or having to use the YouTube API (if it even helps - it may not) - neither options are particularly preferable.

It's something to check out. YouTube has begun monetizing on heavy users of their API's. So hopefully the do flesh out the API in return.
In the YouTube Data API v3 the function 'youtube.videos.list' with the parameter 'id' will allow you to call a specific video. If the result is empty or has an error code then I would assume it is dead.