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 أيام
أرشيف المشاركات
Koi hai kyaa? Bahut karliya Ddos Nep ke web pe, saalo ajinkya.link pe ddos dikhaao😂
Merko koi fark naa pade hai😂😂😂
Ok aab jo bhi ddos kar raha hai usee bol himt hai to ajinkya.link ko down karke dikha do
.down this himmat heto salo😡😡😡
MEDIAFIRE FILE DOWNLOADER 😁
BOT PYTHON
HAVING SOME ISSUES
BUT YOU CAN TRY IT❤️❤️
import os
import requests
import telebot
from bs4 import BeautifulSoup
#MADE BY NEPDEVS NEPCODER
bot = telebot.TeleBot("BOTOTKEN")
@bot.message_handler(commands=['start'])
def send_welcome(message):
bot.reply_to(message, "Welcome! Send me the MediaFire link to download the file.")
def get_mediafire_download_link(url):
try:
page = requests.get(url)
soup = BeautifulSoup(page.content, 'html.parser')
download_link = soup.find('a', {'id': 'downloadButton'})['href']
return download_link
except Exception as e:
print(f"Error retrieving download link: {e}")
return None
@bot.message_handler(func=lambda message: True)
def download_mediafire(message):
text = message.text
if text.startswith('http://www.mediafire.com/') or text.startswith('https://www.mediafire.com/'):
bot.reply_to(message, "Uploading file. Please wait...")
#MADE BY NEPDEVS NEPCODER
file_url = text
direct_download_link = get_mediafire_download_link(file_url)
if direct_download_link:
file_response = requests.get(direct_download_link, stream=True, timeout=60) # Increase timeout value
#MADE BY NEPDEVS NEPCODER
file_name = direct_download_link.split('/')[-1]
file_size = int(file_response.headers['Content-Length'])
if file_size <= 50 * 1024 * 1024: q
bot.send_chat_action(message.chat.id, 'upload_document')
with open(file_name, 'wb') as file:
file.write(file_response.content)
with open(file_name, 'rb') as file:
bot.send_document(message.chat.id, file, caption=f"Here's your file: {file_name}")
#MADE BY NEPDEVS NEPCODER
os.remove(file_name)
else:
bot.reply_to(message, "The file size exceeds the maximum allowed limit of 50 MB.")
else:
bot.reply_to(message, "Unable to retrieve the download link from MediaFire.")
else:
bot.reply_to(message, "Please provide a valid MediaFire link.")
bot.polling()
MADE BY NEPCODER😁❤️
PUBLISHED IN @DEVSNPRuko 650 Members Per Milegi with Codes and tuturial video
So subscribe Our Youtube Channel Also
Youtube channel link:https://youtube.com/@Nepdevs098?si=likgxSfiUFrN5w76
Ruko 9 baje Milegi with Codes and tuturial video
So subscribe Our Youtube Channel Also
Youtube channel link:https://youtube.com/@Nepdevs098?si=likgxSfiUFrN5w76
Ruko 9 baje Milegi with Codes and tuturial video
So subscribe Our Youtube Channel Also
Youtube channel link:https://youtube.com/@Nepdevs098?si=likgxSfiUFrN5w76
