VEEV";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://veev.to/', 'https://veevdeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[filegram.to]',$url)) {
$variable = str_replace('https://filegram.to/', '', $url);
$u = "https://filegram.to/embed-$variable.html";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'File is no longer available';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://filegram.to/'.$variable.'');
$code = 'WE ARE SORRY';
if (strpos($page, $code) === FALSE) {
*/
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://filegram.to/', 'https://filegramdeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[swiftload.io]',$url)) {
$variable = str_replace('https://swiftload.io/v/', '', $url);
$u = "https://swiftload.io/v/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'inactive';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://swiftload.io/'.$variable.'');
$code = 'WE ARE SORRY';
if (strpos($page, $code) === FALSE) {
*/
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://swiftload.io/', 'https://swiftloaddeleted.io/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
/*
if (preg_match('[https://mangovideo.pw]',$url)) {
$variable = str_replace('https://mangovideo.pw/videos/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
echo "";
}
else
*/
//if (preg_match('[streamsb.net]',$url)) {
//$variable = str_replace('https://streamsb.net/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/*
$page = file_get_contents('https://sbembed1.com/'.$variable);
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://streamsb.net/', 'https://streamsbdeleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[tubesb.com]',$url)) {
//$variable = str_replace('https://tubesb.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://sbembed1.com/'.$variable);
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://tubesb.com/', 'https://streamsbdeleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[cloudemb.com]',$url)) {
//$variable = str_replace('https://cloudemb.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://cloudemb.com/'.$variable);
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://cloudemb.com/', 'https://streamsbdeleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[sbembed1.com]',$url)) {
//$variable = str_replace('https://sbembed1.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://sbembed1.com/'.$variable);
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://sbembed1.com/', 'https://sbembed1deleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[sbembed2.com]',$url)) {
//$variable = str_replace('https://sbembed2.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://sbembed2.com/'.$variable);
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://sbembed2.com/', 'https://sbembed2deleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
// elseif (preg_match('[v2.zplayer.live]',$url)) {
// $variable = str_replace('https://v2.zplayer.live/video/', '', $url);
// //$variable2 = explode("/",$variable);
// //$variable = $variable2['0'];
// $u = "https://v2.zplayer.live/video/$variable";
// $ch = curl_init($u);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
// $newquery = curl_exec($ch);
// $code = 'Archivo no encontrado';
// if (strpos($newquery, $code) === FALSE) {
// echo "";
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://v2.zplayer.live/', 'https://v2.zplayerdeleted.live/', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
// }
/*
elseif (preg_match('[http://streamon.to]',$url)) {
$variable = str_replace('http://streamon.to/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://streamon.to/e/'.$variable);
$code = 'we are sorry, but the video you requested was not found';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('http://streamon.to/', 'https://streamondeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[https://streamon.to]',$url)) {
$variable = str_replace('https://streamon.to/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://streamon.to/e/'.$variable);
$code = 'we are sorry, but the video you requested was not found';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('http://streamon.to/', 'https://streamondeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
//elseif (preg_match('[upvideo.to]',$url)) {
//$variable = str_replace('https://upvideo.to/v/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://upvideo.to/e/'.$variable);
$code = 'This Video Could Not Be Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://upvideo.to/', 'https://upvideodeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[xpornium]',$url)) {
//$variable = str_replace('https://xpornium.net/watch/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://upvideo.to/e/'.$variable);
$code = 'This Video Could Not Be Found';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://xpornium.net/', 'https://xporniumdeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
/*
elseif (preg_match('[onlystream.tv]',$url)) {
$variable = str_replace('https://onlystream.tv/', '', $url);
echo "";
}
elseif (preg_match('[https://datoporn.co]',$url)) {
$variable = str_replace('https://datoporn.co/', '', $url);
echo "";
}
elseif (preg_match('[http://vshare.eu]',$url)) {
$variable = str_replace('http://vshare.eu/', '', $url);
$variable2 = str_replace('.htm', '', $variable);
echo "\n";
}
elseif (preg_match('[https://vshare.eu]',$url)) {
$variable = str_replace('https://vshare.eu/', '', $url);
$variable2 = str_replace('.htm', '', $variable);
echo "\n";
}
elseif (preg_match('[https://vidoza.net]',$url)) {
$variable = str_replace('https://vidoza.net/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "";
}
elseif (preg_match('[http://vidoza.net]',$url)) {
$variable = str_replace('http://vidoza.net/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "";
}
elseif (preg_match('[http://www.flashx.tv]',$url)) {
$variable = str_replace('http://www.flashx.tv/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "";
}
elseif (preg_match('[https://www.flashx.tv]',$url)) {
$variable = str_replace('https://www.flashx.tv/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "";
}
elseif (preg_match('[http://streamango.com]',$url)) {
$variable = str_replace('http://streamango.com/f/', '', $url);
echo "";
}
elseif (preg_match('[https://streamcherry.com]',$url)) {
$variable = str_replace('https://streamcherry.com/f/', '', $url);
echo "";
}
elseif (preg_match('[http://streamplay.to]',$url)) {
$variable = str_replace('http://streamplay.to/', '', $url);
echo "";
}
elseif (preg_match('[https://streamplay.to]',$url)) {
$variable = str_replace('https://streamplay.to/', '', $url);
echo "";
}
elseif (preg_match('[verystream.com]',$url)) {
$variable = str_replace('https://verystream.com/stream/', '', $url);
echo "";
}
elseif (preg_match('[http://streamcherry.com]',$url)) {
$variable = str_replace('http://streamcherry.com/f/', '', $url);
echo "";
}
elseif (preg_match('[http://openload.co]',$url)) {
$variable = str_replace('http://openload.co/f/', '', $url);
echo "";
}
elseif (preg_match('[http://vidup.me]',$url)) {
$variable = str_replace('http://vidup.me/', '', $url);
echo "";
}
elseif (preg_match('[https://vidup.me]',$url)) {
$variable = str_replace('https://vidup.me/', '', $url);
echo "";
}
elseif (preg_match('[http://vidup.tv]',$url)) {
$variable = str_replace('http://vidup.tv/', '', $url);
echo "";
}
elseif (preg_match('[https://vidup.tv]',$url)) {
$variable = str_replace('https://vidup.tv/', '', $url);
echo "";
}
elseif (preg_match('[http://vidup.io]',$url)) {
$variable = str_replace('http://vidup.io/', '', $url);
echo "";
}
elseif (preg_match('[https://vidup.io]',$url)) {
$variable = str_replace('https://vidup.io/', '', $url);
echo "";
}
elseif (preg_match('[https://vev.io]',$url)) {
$variable = str_replace('https://vev.io/', '', $url);
echo "";
}
elseif (preg_match('[estream.to]',$url)) {
$variable = str_replace('http://estream.to/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "\n";
}
elseif (preg_match('[watchers.to]',$url)) {
$variable = str_replace('http://watchers.to/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "\n";
}
elseif (preg_match('[letwatch.to]',$url)) {
$variable = str_replace('http://letwatch.to/', '', $url);
echo "\n";
}
elseif (preg_match('[videomega.co]',$url)) {
$variable = str_replace('https://www.videomega.co/', '', $url);
echo "\n";
}
elseif (preg_match('[watchvideo.us]',$url)) {
$variable = str_replace('http://watchvideo.us/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "\n";
}
elseif (preg_match('[https://vidfast.co]',$url)) {
$variable = str_replace('https://vidfast.co/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$link = 'https://vidfast.co/embed-' . $variable;
$variable1 = base64_encode($link);
echo "";
}
elseif (preg_match('[prostream.to]',$url)) {
$variable = str_replace('https://prostream.to/', '', $url);
$variable2 = str_replace('.html', '', $variable);
echo "";
}
elseif (preg_match('[rapidgator.net]',$url)) {
$variable = str_replace('https://rapidgator.net/file/', '', $url);
echo "";
}
elseif (preg_match('[okstream.cc]',$url)) {
$variable = str_replace('https://www.okstream.cc/', '', $url);
echo "\n";
}
elseif (preg_match('[vidlox.me]',$url)) {
$variable = str_replace('https://vidlox.me/', '', $url);
echo "";
}
*/
elseif (preg_match('[mixdrop.co]',$url)) {
$variable = str_replace('https://mixdrop.co/f/', '', $url);
$u = "https://mixdrop.ag/f/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'WE ARE SORRY';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://mixdrop.ag/f/'.$variable.'');
$code = 'WE ARE SORRY';
if (strpos($page, $code) === FALSE) {
*/
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://mixdrop.co/f/', 'https://mixdropdeleted.co/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[mixdrop.ag]',$url)) {
$variable = str_replace('https://mixdrop.ag/f/', '', $url);
$u = "https://mixdrop.ag/f/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'WE ARE SORRY';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://mixdrop.ag/f/'.$variable.'');
$code = 'WE ARE SORRY';
if (strpos($page, $code) === FALSE) {
*/
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://mixdrop.ag/f/', 'https://mixdropdeleted.ag/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[hexupload.net]',$url)) {
$variable = str_replace('https://hexupload.net/', '', $url);
$u = "https://hexupload.net/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'File Not Found';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://hexupload.net/', 'https://hexuploaddeleted.net/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[vidguard.to]',$url)) {
$variable = str_replace('https://vidguard.to/v/', '', $url);
$u = "https://api.vidguard.to/v1/video/info?key=k28vgDGd47yMAlwEMg45J39X1KzLrNaW0jZ&id=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'Video not found';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://vidguard.to/v/', 'https://vidguarddeleted.to/v/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[vgembed.com]',$url)) {
$variable = str_replace('https://vgembed.com/v/', '', $url);
$u = "https://api.vidguard.to/v1/video/info?key=k28vgDGd47yMAlwEMg45J39X1KzLrNaW0jZ&id=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'Video not found';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://vgembed.com/v/', 'https://vgembeddeleted.com/v/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
// elseif (preg_match('[filelions.to]',$url)) {
//$variable = str_replace('https://filelions.to/f/', '', $url);
/*
$page = file_get_contents('https://filelions.to/f/'.$variable.'');
$code = 'WE ARE SORRY';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
// } else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://filelions.to/f/', 'https://filelionsdeleted.to/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
/* elseif (preg_match('[evoload.io]',$url)) {
$variable = str_replace('https://evoload.io/v/', '', $url);
echo "";
} */
/*
elseif (preg_match('[https://vtube.network/d/]',$url)) {
$variable = str_replace('https://vtube.network/d/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
*/
// $page = file_get_contents('https://vtube.network/'.$variable.'');
// $code = 'File Not Found';
// if (strpos($page, $code) === FALSE) {
/*
$u = "https://vtube.network/api/file/info?key=1801xbl90ymhzsdcm0i6&file_code=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = '"status":404';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
*/
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://vtube.network/', 'https://vtubedeleted.network/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[vtube.network]',$url)) {
$variable = str_replace('https://vtube.network/', '', $url);
$variable2 = str_replace('.html', '', $variable);
// $page = file_get_contents('https://vtube.network/'.$variable.'');
// $code = 'File Not Found';
// if (strpos($page, $code) === FALSE) {
$u = "https://vtube.network/api/file/info?key=1801xbl90ymhzsdcm0i6&file_code=$variable2";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = '"status":404';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
*/
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://vtube.network/', 'https://vtubedeleted.network/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
elseif (preg_match('[filemoon.sx]',$url)) {
$variable = str_replace('https://filemoon.sx/d/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$u = "https://filemoonapi.com/api/file/info?key=39205ri7ek03jod02i4ud&file_code=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = ':404';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://filemoon.sx/d/'.$variable.'');
$code = 'Page not found';
if (strpos($page, $code) === FALSE) {
*/
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://filemoon.sx/', 'https://filemoondeleted.sx/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[streamsilk.com]',$url)) {
$variable = str_replace('https://streamsilk.com/d/', '', $url);
$u = "https://streamsilk.com/p/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'Not Found';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://streamsilk.com/d/'.$variable.'');
$code = 'Video Unavailable';
if (strpos($page, $code) === FALSE) {
*/
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://streamsilk.com/', 'https://streamsilkdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[voe.sx]',$url)) {
$variable = str_replace('https://voe.sx/', '', $url);
$u = "https://voe.sx/e/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = '404 - Not found';
if (strpos($newquery, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://voe.sx/', 'https://voedeleted.sx/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
/*
elseif (preg_match('[www.embedgram.com]',$url)) {
$variable = str_replace('https://www.embedgram.com/v/', '', $url);
// $variable2 = str_replace('', '', $variable);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$u = "https://www.embedgram.com/v/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'File not exist or has been removed!';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://www.embedgram.com/', 'https://www.embedgramdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
// elseif (preg_match('[tubeload.co]',$url)) {
// $variable = str_replace('https://tubeload.co/f/', '', $url);
// $variable2 = str_replace('', '', $variable);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/*
$u = "https://tubeload.co/e/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'NOT FOUND';
if (strpos($newquery, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://tubeload.co/', 'https://tubeloaddeleted.co/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
// elseif (preg_match('[redload.co]',$url)) {
// $variable = str_replace('https://redload.co/f/', '', $url);
// $variable2 = str_replace('', '', $variable);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/*
$u = "https://redload.co/e/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'NOT FOUND';
if (strpos($newquery, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://redload.co/', 'https://redloaddeleted.co/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
// elseif (preg_match('[mvidoo.com]',$url)) {
// $variable = str_replace('https://mvidoo.com/', '', $url);
// $variable2 = str_replace('', '', $variable);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/*
$u = "https://mvidoo.com/embed-".$variable.".html";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'File was deleted';
if (strpos($newquery, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://mvidoo.com/', 'https://mvidoodeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
elseif (preg_match('[streamtape.com]',$url)) {
$variable = str_replace('https://streamtape.com/v/', '', $url);
// $variable2 = str_replace('', '', $variable);
$u = "https://streamtape.com/v/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'Video not found!';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://streamtape.com/v/', 'https://streamtapedeleted.com/v/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[streamvid.net]',$url)) {
$variable = str_replace('https://streamvid.net/', '', $url);
// $variable2 = str_replace('', '', $variable);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$u = "https://streamvid.net/embed-$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
$code = 'not found';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://streamvid.net/', 'https://streamviddeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
// elseif (preg_match('[streamlare.com]',$url)) {
// $variable = str_replace('https://streamlare.com/v/', '', $url);
// $variable2 = str_replace('', '', $variable);
/*
$u = "https://streamlare.com/v/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'Not Found';
if (strpos($newquery, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://streamlare.com/v/', 'https://streamlaredeleted.com/v/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
/*
elseif (preg_match('[videovard.sx]',$url)) {
$variable = str_replace('https://videovard.sx/v/', '', $url);
// $variable2 = str_replace('', '', $variable);
// $u = "https://videovard.sx/v/$variable";
// $ch = curl_init($u);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
// $newquery = curl_exec($ch);
// $code = 'The video will appear after';
// if (strpos($newquery, $code) === FALSE) {
echo "\n";
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://videovard.sx/v/', 'https://streamtapedeleted.com/v/', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
}
*/
// elseif (preg_match('[highload.to]',$url)) {
// $variable = str_replace('https://highload.to/f/', '', $url);
// $variable2 = str_replace('', '', $variable);
/*
$u = "https://highload.to/f/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'find the page you';
if (strpos($newquery, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://highload.to/f/', 'https://highloaddeleted.to/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
/*
elseif (preg_match('[ninjastream.to]',$url)) {
$variable = str_replace('https://ninjastream.to/download/', '', $url);
// $variable2 = str_replace('', '', $variable);
$u = "https://ninjastream.to/download/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'File not found';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://ninjastream.to/download/', 'https://ninjastreamdeleted.to/download/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[sendfox.org]',$url)) {
$variable = str_replace('https://sendfox.org/', '', $url);
// $variable2 = str_replace('', '', $variable);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$u = "https://sendfox.org/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$newquery = curl_exec($ch);
$code = 'The requested resource was not found on this server.';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://sendfox.org/', 'https://sendfoxdeleted.org/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
} */
/*
elseif (preg_match('[upstream.to]',$url)) {
$variable = str_replace('https://upstream.to/', '', $url);
$u = "https://upstream.to/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$newquery = curl_exec($ch);
$code = 'File Not Found';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://upstream.to/', 'https://upstreamdeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
/*
elseif (preg_match('[streamwish.com]',$url)) {
$variable = str_replace('https://streamwish.com/', '', $url);
$u = "https://streamwish.com/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'File Not Found';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://streamwish.com/', 'https://streamwishdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
} */
elseif (preg_match('[embedwish.com]',$url)) {
$variable = str_replace('https://embedwish.com/', '', $url);
$u = "https://streamwish.com/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'File Not Found';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://embedwish.com/', 'https://streamwishdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
/*
elseif (preg_match('[upload.do]',$url)) {
$variable = str_replace('https://upload.do/', '', $url);
$u = "https://upload.do/api/file/info?key=330d3rvoy4afe3f7z8p&file_code=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = '"status":404';
if (strpos($newquery, $code) === FALSE) {
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://upload.do/', 'https://uploaddeleted.do/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
/*
elseif (preg_match('[streamhub.to]',$url)) {
$variable = str_replace('https://streamhub.to/', '', $url);
$u = "https://streamhub.to/api/file/info?key=1919rctef0amouauxk4h&file_code=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = ':404';
if (strpos($newquery, $code) === FALSE) {
*/
/*
$page = file_get_contents('https://streamhub.to/'.$variable.'');
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/ /*
echo "\n";
} else {
*/
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://streamhub.to/', 'https://streamhubdeleted.to/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/ /*
elseif (preg_match('[streamhub.gg]',$url)) {
$variable = str_replace('https://streamhub.gg/', '', $url);
$u = "https://streamhub.to/api/file/info?key=1919rctef0amouauxk4h&file_code=$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = ':404';
if (strpos($newquery, $code) === FALSE) { */
/*
$page = file_get_contents('https://streamhub.gg/'.$variable.'');
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
*/ /*
echo "\n";
} else {
*/
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://streamhub.gg/', 'https://streamhubdeleted.gg/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
} */
// elseif (preg_match('[guccihide.com]',$url)) {
// $variable = str_replace('https://guccihide.com/w/', '', $url);
/* $page = file_get_contents('https://guccihide.com/w/'.$variable.'');
$code = 'The file expired';
if (strpos($page, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://guccihide.com/', 'https://guccihidedeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
// elseif (preg_match('[streamhide.com]',$url)) {
// $variable = str_replace('https://streamhide.com/w/', '', $url);
/* $page = file_get_contents('https://streamhide.com/w/'.$variable.'');
$code = 'The file expired';
if (strpos($page, $code) === FALSE) {
*/
// echo "\n";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://streamhide.com/', 'https://streamhidedeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
// }
elseif (preg_match('[emturbovid.com]',$url)) {
$variable = str_replace('https://emturbovid.com/d/', '', $url);
$u = "https://emturbovid.com/t/$variable";
$ch = curl_init($u);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$newquery = curl_exec($ch);
curl_close($ch);
$code = 'Video Unavailable';
if (strpos($newquery, $code) === FALSE) {
/*
$page = file_get_contents('https://emturbovid.com/t/'.$variable.'');
$code = 'Video Unavailable';
if (strpos($page, $code) === FALSE) {
*/
echo "\n";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://emturbovid.com/', 'https://emturboviddeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
/*
elseif (preg_match('[https://clipwatching.com]',$url)) {
$variable = str_replace('https://clipwatching.com/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://highstream.tv/embed-'.$variable.'-658x400.html');
$code = 'File was deleted';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://clipwatching.com/', 'https://highstreamdeleted.tv/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[aparat.cam]',$url)) {
$variable = str_replace('https://aparat.cam/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://wolfstream.tv/embed-'.$variable.'-658x400.html');
$code = 'File is no longer available as it expired or has been deleted.';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://aparat.cam/', 'https://aparatdeleted.cam/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
elseif (preg_match('[https://highstream.tv]',$url)) {
$variable = str_replace('https://highstream.tv/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://highstream.tv/embed-'.$variable.'-658x400.html');
$code = 'File was deleted';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://highstream.tv/', 'https://highstreamdeleted.tv/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
/*
elseif (preg_match('[wolfstream.tv]',$url)) {
$variable = str_replace('https://wolfstream.tv/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
$page = file_get_contents('https://wolfstream.tv/'.$variable.'');
$code = 'File Not Found';
if (strpos($page, $code) === FALSE) {
echo "";
} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
$variable1 = str_replace('https://wolfstream.tv', 'https://wolfstreamdeleted.tv/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
}
}
*/
// elseif (preg_match('[https://playtube.ws]',$url)) {
// $variable = str_replace('https://playtube.ws/', '', $url);
// $variable2 = explode("/",$variable);
// $variable = $variable2['0'];
// $page = file_get_contents('https://playtube.ws/embed-'.$variable.'-658x400.html');
// $code = 'File is no longer available as it expired or has been deleted.';
// if (strpos($page, $code) === FALSE) {
// echo "";
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://playtube.ws/', 'https://playtubedeleted.ws/', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
// }
//elseif (preg_match('[https://youdbox.com]',$url)) {
//$variable = str_replace('https://youdbox.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/*
$page = file_get_contents('https://yodbox.com/embed-'.$variable.'-658x400.html');
$code = 'File was deleted';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://yodbox.com/', 'https://yodboxdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[https://youdbox.org]',$url)) {
//$variable = str_replace('https://youdbox.org/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://yodbox.com/embed-'.$variable.'-658x400.html');
$code = 'File was deleted';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://youdbox.org/', 'https://youdboxdeleted.org/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
//elseif (preg_match('[https://yodbox.com]',$url)) {
//$variable = str_replace('https://yodbox.com/', '', $url);
//$variable2 = explode("/",$variable);
//$variable = $variable2['0'];
/* $page = file_get_contents('https://yodbox.com/embed-'.$variable.'-658x400.html');
$code = 'File was deleted';
if (strpos($page, $code) === FALSE) {
*/
//echo "";
//} else {
// The Query for all post
// $args = array ( 'posts_per_page' => -1 );
// $the_query = new WP_Query( $args );
// The Loop to replace same link for all post
// while ( $the_query->have_posts() ) :
// $the_query->the_post();
// replacing dead link
// $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://yodbox.com/', 'https://yodboxdeleted.com/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// endwhile;
} */
//}
/*
elseif (preg_match('[videos.sh]',$url)) {
$variable = str_replace('https://videos.sh/', '', $url);
$variable2 = explode("/",$variable);
$variable = $variable2['0'];
echo "";
}
*/
/* elseif (preg_match('[streamzz.to]',$url)) {
$variable = str_replace('https://streamzz.to/f', '', $url); */
// $variable2 = str_replace('', '', $variable);
// $u = "https://streamzz.to/f$variable";
// $ch = curl_init($u);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
// //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
// $newquery = curl_exec($ch);
// $code = 'File not found, sorry!';
// if (strpos($newquery, $code) === FALSE) {
/* echo "\n"; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://streamzz.to/f', 'https://streamzzdeleted.to/f', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
/* }
elseif (preg_match('[streamz.cc]',$url)) {
$variable = str_replace('https://streamz.cc/f', '', $url); */
// $variable2 = str_replace('', '', $variable);
// $u = "https://streamzz.to/f$variable";
// $ch = curl_init($u);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
// //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
// $newquery = curl_exec($ch);
// $code = 'File not found, sorry!';
// if (strpos($newquery, $code) === FALSE) {
/* echo "\n"; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://streamzz.to/f', 'https://streamzzdeleted.to/f', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
// }
/*
elseif (preg_match('[netu.wiztube.xyz]',$url)) {
$variable = str_replace('https://netu.wiztube.xyz/f/', '', $url);
*/
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo "";
*/
//} else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://netu.wiztube.xyz/f/', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */ /*
}
elseif (preg_match('[waaw.to]',$url)) {
$variable = str_replace('https://waaw.to/f/', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://waaw.to/f/', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */ /*
}
elseif (preg_match('[http://netu.tv]',$url)) {
$variable = str_replace('http://netu.tv/watch_video.php?v=', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('http://netu.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// //// endwhile;
} */ /*
}
elseif (preg_match('[https://netu.tv]',$url)) {
$variable = str_replace('https://netu.tv/watch_video.php?v=', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://netu.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */
/* }
elseif (preg_match('[http://waaw.tv]',$url)) {
$variable = str_replace('http://waaw.tv/watch_video.php?v=', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('http://waaw.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */
/* }
elseif (preg_match('[https://waaw.tv/watch_video.php]',$url)) {
$variable = str_replace('https://waaw.tv/watch_video.php?v=', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://waaw.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */ /*
}
elseif (preg_match('[https://waaw.tv/f/]',$url)) {
$variable = str_replace('https://waaw.tv/f/', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://waaw.tv/f/', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */ /*
}
elseif (preg_match('[waaws.tk]',$url)) {
$variable = str_replace('https://waaws.tk/watch_video.php?v=', '', $url); */
/*
$page = file_get_contents('https://netu.tv/api/file/list?key=5bb4ae2fb1f34bbbda4b54939fabf4cd&file_code='.$variable.'');
$page1 = file_get_contents('https://netu.tv/api/file/list?key=007e39df7b42a0b5433fb84385f85ce6&file_code='.$variable.'');
$code = '{"status":200,"msg":"OK"}';
$code1 = '{"status":200,"msg":"OK"}';
if (strpos($page, $code) === FALSE || strpos($page1, $code1) === FALSE) {
*/ /*
echo ""; */
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // $the_query = new WP_Query( $args );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// // $price_key = 'bulk_linkss';
/* $variable1 = str_replace('https://waaws.tk/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url);
$getPrice = get_post_meta( get_the_ID(), $link_box, true);
$newPrice = str_replace(array($url),$variable1, $getPrice);
update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
} */ /*
} */
// elseif (preg_match('[videobin.co]',$url)) {
// $variable = str_replace('https://videobin.co/', '', $url);
// $page = file_get_contents('https://videobin.co/embed-'.$variable.'.html');
// $code = 'Error. The video was deleted.';
// if (strpos($page, $code) === FALSE) {
// echo "";
// } else {
// // The Query for all post
// // $args = array ( 'posts_per_page' => -1 );
// // The Loop to replace same link for all post
// // while ( $the_query->have_posts() ) :
// // $the_query->the_post();
// // replacing dead link
// $price_key = 'bulk_linkss';
// $variable1 = str_replace('https://videobin.co/', 'https://videobindeleted.co/', $url);
// $getPrice = get_post_meta( get_the_ID(), $link_box, true);
// $newPrice = str_replace(array($url),$variable1, $getPrice);
// update_post_meta(get_the_ID(), $link_box, $newPrice);
// // endwhile;
// }
// }
/* End hosts */
}
?>