View Single Post
Old 11-30-2015, 11:07 AM  
nightslit
Confirmed User
 
Industry Role:
Join Date: Oct 2013
Location: France
Posts: 226
Quote:
Originally Posted by Badmaash View Post
Is there a wp plugin to check youtube videos by any chance?

Thanks
I think there are some, but just some manual scription should be enough... like taking the url of the video, executing it in a curl request and then see it the answer is 200... (status good)
By the way youtube does have an api, here a link to put you in the right direction:

How do I check if a video exists on YouTube, using PHP? - Stack Overflow

Several ways are exposed to do so... then just apply the script on all post_content rown in the wp_post table and if video no exist setting the post_status to pending, draw or I don't know what...
__________________
email: [email protected] email me for link trades/hardlink exchanges
ICQ : 665974711
my sites: http://hardcoreteenfuck.com
nightslit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote