homepage Welcome to WebmasterWorld Guest from 54.161.155.142
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
how to remove dead youtube videos
darkage




msg:3617394
 5:54 pm on Apr 2, 2008 (gmt 0)

I've a got a website that covers images, articles, projects, etc about a widget.

It also imports videos via RSS from youtube, metacafe, etc. The majority of the videos come from youtube.

Now with time, a lot of these videos have become dead (probably due to copyright infringement), but how do I identify these videos ? Youtube still keeps the thumbnail image so I cant use a 404 as an identifier.

My site seems unprofessional when a large number of videos appear dead.

I need a way to identify dead videos so I can remove them from my database.

Suggestions ?

 

physics




msg:3617409
 6:15 pm on Apr 2, 2008 (gmt 0)

One would be to have a feature where users can report dead videos.
A warning, though. I've found that if you leave a page open for 15 minutes and then try to play a YouTube video, it says "This video is no longer available" ... but click refresh and it's available, so watch out for that (add a refresh every 10 minutes to your pages maybe).
As far as an 'official' way to check I'm not sure.

dailypress




msg:3619121
 2:34 pm on Apr 4, 2008 (gmt 0)

I have the same issue. Most of the embedded youtube clips are no longer available. I cant think of any solution other than tracking all pages.

There are softwares out there where you can download the youtube videos (videos you think dont have any copyright issues). You can then host them on your own server. Just an FYI that this process does take time, especially if you have several videos to convert in a day.

If you come up with any other solution please let me know.

darkage




msg:3619480
 8:56 pm on Apr 4, 2008 (gmt 0)

i did find a better solution. It seems that youtube will reply a 303 "see other (moved)" http reply back on a HEAD request on dead videos and a "200 OK" on good videos.

I now run a job weekly that deletes dead videos based on the http reply.

Make sure you keep an interval between checks...

physics




msg:3619705
 5:09 am on Apr 5, 2008 (gmt 0)

Nice darkage, useful info!

phranque




msg:3619730
 7:10 am on Apr 5, 2008 (gmt 0)

that's a very interesting technique to consider in general.
i haven't heard of many cases where HEAD returns a different status than GET.
or did you check to see if the thumbnail response returns 200 OK?

darkage




msg:3619765
 10:18 am on Apr 5, 2008 (gmt 0)

thumbnail is always 200 OK, as they keep them even for dead videos (go figure...)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved