NEP DEVS
前往频道在 Telegram
NEPS DEV WHO WANT TO HELP YOU WITH FOSS PROJECT. WE COLLECT SCRIPTS THIS GROUP IS ONLY FOR EDUCATIONAL PURPOSE
显示更多无数据
订阅者
-3724 小时
-1357 天
-23530 天
帖子存档
<?php
//Made By @DEVSNP
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
if (isset($_GET['image'])) {
$userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36';
$searchQuery = urlencode($_GET['image']);
$searchUrl = "https://www.google.com/search?q=$searchQuery&tbm=isch&safe=off";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $searchUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_USERAGENT, $userAgent);
$html = curl_exec($ch);
curl_close($ch);
preg_match_all('/<img[^>]+src="([^">]+)"/', $html, $matches);
$imageUrls = $matches[1];
$imageResults = array();
foreach ($imageUrls as $imageUrl) {
if (strpos($imageUrl, 'googlelogo') === false) {
$imageResults[] = "image url: $imageUrl";
}
}
// Made By Nep Devs@DEVSNP
$imageResults['join'] = "@DEVSNP";
// MADE BY NEP DEVS
header('Content-Type: application/json');
echo json_encode($imageResults);
}
?>
🌟 INTRODUCING THE GOOGLE IMAGE SCRAPPER API! CODES📸
DISCOVER A POWERFUL TOOL CREATED BY THE TALENTED NEP CODER, @DEVSNP, THAT LETS YOU FETCH STUNNING IMAGES FROM THE WEB EFFORTLESSLY. 🚀
CREDIT: MADE WITH ❤️ BY NEP CODER @DEVSNP 🙌👨💻 #IMAGESCRAPPER #API #NEPCODER #DEVSNPCat Api Code
Make Your Own Cat Api😁😁
Give Reaction For More❤️❤️
Give 10 Reaction For Chatgpt Api Giveaway
<?php
//Source By Nep Devs join:-t.me/DEVSNP
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Methods: GET, OPTIONS");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept");
$api_url = 'https://api.thecatapi.com/v1/images/search';
$ch = curl_init($api_url);
//Source By Nep Devs join:-t.me/DEVSNP
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
//Source By Nep Devs join:-t.me/DEVSNP
if ($response === false) {
die('Error: Unable to fetch data from theCatAPI');
}
$data = json_decode($response, true);
//Source By Nep Devs join:-t.me/DEVSNP
if ($data === null) {
die('Error: Unable to parse JSON response');
}
$data['join'] = '@DEVSNP';
$json_output = json_encode($data);
echo $json_output;
?>
Cat Api Code
Make Your Own Cat Api😁😁
Give Reaction For More❤️❤️📋 Swastik Raj Api:
📚Api: Random Dog Image
⚙Method: GET
🔗Link: random-dog-image.swastikraj7.repl.co/api/dog
📝Description: It Can Genrate Random Dog 🐶 Images!
©Creator: Swastik Raj
