Youtube Mass Video Status Check

sviedinys

Power Member
Joined
Apr 18, 2010
Messages
525
Reaction score
75
How do you guys manage all the videos to see when theres any video deleted? Im tired of checking manually them all, I have a list in text file, but needs copy paste each video to browser to check if any of them was removed. Any solution for easier managing? I remember there was some mass checker to check if video alive/removed on FI forums, but now that thread disappeared.
 
I have script for that. This is the PHP code for those who know some PHP:
Code:
$ch = curl_init('http://gdata.youtube.com/feeds/api/videos/'.$video_id);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_exec($ch);
        $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close($ch);
        if ($http_code == '403') {
            echo "video is deleted";
        }

with the same logic you can make it as windows app or whatever you're using.

But you know, if youtube "deletes" your video you still have it on your account. To physically remove video you need to use youtube api for programatic removal or from channel via browser for manual removal.
 
Last edited:
I have script for that. This is the PHP code for those who know some PHP:
Code:
$ch = curl_init('http://gdata.youtube.com/feeds/api/videos/'.$video_id);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_exec($ch);
        $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close($ch);
        if ($http_code == '403') {
            echo "video is deleted";
        }

with the same logic you can make it as windows app or whatever you're using.

But you know, if youtube "deletes" your video you still have it on your account. To physically remove video you need to use youtube api for programatic removal or from channel via browser for manual removal.

Thanks for the script :)
 
It's very easy to code. I'm sure you can have it per $20 or less, try to find a coder. :)
 

Make your file of URLs HTML links as
Code:
<a href="http://youtube.com/links">name of link</a>
if they aren't already and save the file as ".html" (without quotes)
..... popzzz ~ BlackHatWorld.com
If your list is not in HTML markup simply go to
Code:
http://www.textfixer.com/html/convert-url-to-html-link.php
and convert it!
..... popzzz ~ BlackHatWorld.com
Then run Xenu Link Sleuth (FREE)
Code:
http://home.snafu.de/tilman/xenulink.html
on the file and check for broken links. :thumb:
..... popzzz ~ BlackHatWorld.com
No problems ..... just smiles! :)
..... popzzz ~ BlackHatWorld.com
Xenu can be used for MANY handy things and this is only one example!

Enjoy ..... :cool2:
..... popzzz ~ BlackHatWorld.com


 
Last edited:
I have to confess that I envy your positive attitude and calmness. :wave:


Make your file of URLs HTML links as
Code:
<a href="http://youtube.com/links">name of link</a>
if they aren't already and save the file as ".html" (without quotes)
..... popzzz ~ BlackHatWorld.com
If your list is not in HTML markup simply go to
Code:
http://www.textfixer.com/html/convert-url-to-html-link.php
and convert it!
..... popzzz ~ BlackHatWorld.com
Then run Xenu Link Sleuth (FREE)
Code:
http://home.snafu.de/tilman/xenulink.html
on the file and check for broken links. :thumb:
..... popzzz ~ BlackHatWorld.com
No problems ..... just smiles! :)
..... popzzz ~ BlackHatWorld.com
Xenu can be used for MANY handy things and this is only one example!

Enjoy ..... :cool2:
..... popzzz ~ BlackHatWorld.com


 
I have to confess that I envy your positive attitude and calmness. :wave:
OK ..... thanks I think LOL! :thumb:

Enjoy ..... :cool2:
..... popzzz ~ BlackHatWorld.com


 
Thank you people for sharing good ways to manage the videos! I liked WP plugin more because it auto sends email notification, so this way you dont need to do anything more, just check your email to see if any of your videos was removed.
 
Back
Top