homepage Welcome to WebmasterWorld Guest from 54.163.139.36
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
how to remove dead youtube videos
darkage

5+ Year Member



 
Msg#: 3617392 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3617392 posted 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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3617392 posted 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

5+ Year Member



 
Msg#: 3617392 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3617392 posted 5:09 am on Apr 5, 2008 (gmt 0)

Nice darkage, useful info!

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 3617392 posted 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

5+ Year Member



 
Msg#: 3617392 posted 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