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 روز
آرشیو پست ها
TRY THIS WEB SCREENSHOT TAKER BOT BY USING API
@Webscreennepbot
TRY THIS BOT AND TELL EXPERIENCES😁❤️
Use Like /snapshot Any Website Url
<?php
//MADE BY NEP DEVS(@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['url'])) {
$original_url = $_GET['url'];
$api_url = 'https://is.gd/create.php?format=json&url=' . urlencode($original_url);
//MADE BY NEP DEVS(@DEVSNP)
$ch = curl_init($api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
//MADE BY NEP DEVS(@DEVSNP)
if ($response !== false) {
$data = json_decode($response, true);
if (isset($data['shorturl'])) {
$short_url = $data['shorturl'];
$output = ['short_url' => $short_url, 'join' => '@DEVSNP'];
echo json_encode($output);
} else {
echo json_encode(['error' => 'Failed to shorten the URL']);
}
} else {
echo json_encode(['error' => 'Failed to connect to the is.gd API']);
}
//MADE BY NEP DEVS(@DEVSNP)
curl_close($ch);
} else {
echo json_encode(['error' => 'Missing "url" parameter']);
}
🌐 Discover the Is.gd URL Shortening API PHP Code! 🚀
Unleash the power of this PHP code, thoughtfully crafted by Nep coder @DEVSNP. Quickly transform long URLs into compact, shareable links. Simplify your web experience with this efficient tool! 🔗💻 #IsGdAPI #PHPCode #NepCoder #DEVSNP🤖🖼️ UNVEIL THE GOOGLE IMAGE SCRAPPER TELEGRAM BOT SOURCE CODE! 📂
EXPLORE THE INNER WORKINGS OF THIS NIFTY BOT, DESIGNED TO FETCH IMAGES FROM THE WEB RIGHT WITHIN YOUR TELEGRAM CHATS. GET READY TO DIVE INTO THE CODE BEHIND THE MAGIC! 💻🔍
MADE BY NEPDEVS NEP CODER @DEVSNP 🙌 #TELEGRAMBOT #IMAGESCRAPPER #SOURCECODE #PYTHONCODE
import telebot
import requests
# Replace with your Telegram bot token
bot_token = ''
bot = telebot.TeleBot(bot_token)
#MADE BY @DEVSNP(NEP. DEVS)
base_url = 'https://encrypted-tbn0.gstatic.com'
@bot.message_handler(commands=['start'])
def start(message):
welcome_message = "👋 Welcome to the Image Fetcher Bot! You can use /image followed by text to fetch images."
bot.send_message(message.chat.id, welcome_message)
@bot.message_handler(commands=['image'])
def fetch_images(message):
user_text = message.text.split(' ', 1)
if len(user_text) > 1:
user_text = user_text[1] # MADE BY NEP DEVS
api_url = f'https://YOURAPISERVER.COM/googlescrapper?image={user_text}'
response = requests.get(api_url)
if response.status_code == 200:
image_data = response.json()
for key, image_url in image_data.items():
if key != 'join' and image_url.startswith("image url: "):
image_url = image_url.replace("image url: ", "")
if not image_url.startswith('http'):
image_url = f"{base_url}{image_url}"
photo = requests.get(image_url)
bot.send_photo(message.chat.id, photo=photo.content)
else:
error_message = "❌ Unable to fetch images at the moment. Please try again later."
bot.send_message(message.chat.id, error_message)
else:
error_message = "❌ Please provide some text after the /image command."
bot.send_message(message.chat.id, error_message)
def main():
bot.polling()
if name == 'main':
main()
🤖🖼️ UNVEIL THE GOOGLE IMAGE SCRAPPER TELEGRAM BOT SOURCE CODE! 📂
EXPLORE THE INNER WORKINGS OF THIS NIFTY BOT, DESIGNED TO FETCH IMAGES FROM THE WEB RIGHT WITHIN YOUR TELEGRAM CHATS. GET READY TO DIVE INTO THE CODE BEHIND THE MAGIC! 💻🔍
MADE BY NEPDEVS NEP CODER @DEVSNP 🙌 #TELEGRAMBOT #IMAGESCRAPPER #SOURCECODE #PYTHONCODEPhirse Reaction Deneko Bolna Padenga😡
Telegram Bot Codes to Chaiyena google image Scrapper keliye😁
