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 天
帖子存档
Anyone Give me Free Not coin In This Address For Supporting Us⭐
✅NOTCOIN Address:-
UQDlW3XQNDiIZ7IzQvJ4cZAsHqssACjYqkrcKT-rPiMBsqZn
Support us By Giving Small Contribution 😃TERABOX VIDEO DOWNLOADER [TBC] ⭐
Command :
*
🤖 TPY :
bot.sendChatAction(chat_id=message.chat.id, action="typing")
ms = message.text
url = f"https://teraboxvideodownloader.nepcoderdevs.workers.dev/?url={ms}"
try:
response = HTTP.get(url)
if response.status_code == 200:
data = response.json()
resolutions = data["response"][0]["resolutions"]
fast_download_link = resolutions["Fast Download"]
hd_video_link = resolutions["HD Video"]
thumbnail_url = data["response"][0]["thumbnail"]
video_title = data["response"][0]["title"]
tinyurl_api = "http://tinyurl.com/api-create.php?url="
tinyurl_fast_download = tinyurl_api + fast_download_link
tinyurl_hd_video = tinyurl_api + hd_video_link
shortened_fast_download_link = HTTP.get(tinyurl_fast_download).text
shortened_hd_video_link = HTTP.get(tinyurl_hd_video).text
markup = InlineKeyboardMarkup()
markup.row(
InlineKeyboardButton(
text='➡️ Fast Download',
url=shortened_fast_download_link
),
InlineKeyboardButton(
text='▶️ HD Video',
url=shortened_hd_video_link
)
)
markup.row(
InlineKeyboardButton(
text='Developer',
url ='t.me/nepcoder'
)
)
message_text = f"🎬 <b>Title:</b> {video_title}\nMade with ❤️ by @nepcoder"
bot.sendPhoto(
chat_id=message.chat.id,
photo=thumbnail_url,
caption=message_text,
parse_mode="HTML",
reply_markup=markup
)
else:
bot.sendMessage(
chat_id=message.chat.id,
text="❌ <b>Error fetching data from Terabox API</b>",
parse_mode="HTML"
)
except Exception as e:
bot.sendMessage(
chat_id=message.chat.id,
text=f"❌ <b>Error: {str(e)}</b>",
parse_mode="HTML"
)
CREDIT :- @DEVSNP & @NEPDEVSAPI⭐
© Copyright: @Devsnp
Developer 👨💻: @Nepcoder
Share with credit @Devsnp🥰READ QR CODE [TBC]
Command :
/READQRCODE
🤖 TPY :
prompt_message = '🌟 **Please send your QR code photo** 📷\n\n' \
'Our bot will read it and provide you with the text or URL encoded in the QR code.'
bot.sendMessage(chat_id=u, text=prompt_message, parse_mode="Markdown")
Bot.handleNextCommand("/Nep")
Command : /Nep
🤖 TPY :
image_file = f"https://api.telegram.org/bot{Bot.info().token}/getFile?file_id={message.photo[-1].file_id}"
content = HTTP.get(image_file).json()
file_path = content['result']['file_path']
file_url = f"https://api.telegram.org/file/bot{Bot.info().token}/{file_path}"
imgbb_api_url = "https://api.imgbb.com/1/upload"
imgbb_api_key = "Your_API_KEY" # Replace with your ImgBB API key
files = {'image': (file_path, HTTP.get(file_url).content)}
payload = {'key': imgbb_api_key}
response = HTTP.post(imgbb_api_url, files=files, data=payload)
if response.status_code == 200:
imgbb_image_url = response.json()['data']['url']
qr_api_url = f"https://qrredaes.nepcoderdevs.workers.dev/?url={imgbb_image_url}"
qr_response = HTTP.get(qr_api_url)
if qr_response.status_code == 200:
raw_text = qr_response.json()["raw_text"]
bot.sendMessage(chat_id=u, text=f"🔍 Extracted Text from QR Code:\n\n<code>{raw_text}</code>", parse_mode="HTML")
else:
bot.sendMessage(chat_id=u, text="❌ Error: Failed to extract raw text from QR code.")
else:
bot.sendMessage(chat_id=u, text="❌ Error: Failed to upload image to ImgBB.")
Required Material⭐
1.Img BB Api key Get from This Website |https://api.imgbb.com/
© Copyright: @Devsnp
Developer 👨💻: @Nepcoder
Share with credit @Devsnp🥰