
YouTube_Downloader_converstation_handler=ConversationHandler(Įntry_points= ,ĭOWNLOADER :įallbacks=)ĭispatcher. How to make Whatsapp ChatGPT Bot for Free Video Uploader: Video From Harshitethic: Upload Date: This Video Uploaded At 25-01-2023 00:00:00: Video Discription: Are you looking for a way to make a free Whatsapp ChatGPT Bot Look no further In this video, Ill show you step-by-step how to easily create your own bot for free. \n\n ( Make sure that you wrote the link correctly )") ")īot.send_message(chat_id=update.effective_chat.id, text = "Oooops !!! Something Went Wrong. ")īot.send_message(chat_id=update.effective_chat.id, text = f" has Downloaded successfully. You can download any type of video instantly using Youtube Video Downloader Telegram Bot using the links provided here. How can I fix it that it downloads videos for the person who enters the link ?!?īot.send_message(chat_id=update.effective_chat.id ,text="Please Paste the video link here. It asks for the link and then you paste a link but the bot downloads it for me in the same directory that the script is running instead of downloading it for you! I deployed it on the cloud to see what will happen but I gave an error

I tried to solve this problem by changing the quality functions, but no matter what I tried, the problem was not solved.I'm trying to make a telegram bot that is supposed to download youtube videos using pytube for the user.īut it downloads the videos for me instead of the user. When I start the bot and send it the video link, the only message I get is the (Sorry, there was an error processing your request) message.

Video = yt.streams.filter(progressive=True, file_extension='mp4', resolution=user_response).first()īot.sendVideo(chat_id, open(fault_filename, 'rb'), caption='Here is your video!') If 'message' in update and update = chat_id:

Keyboard = [[f"īot.sendMessage(chat_id, 'Please select a resolution:', reply_markup=reply_markup)īot.sendMessage(chat_id, 'Sorry, there was an error processing your request.') If resolution not in available_resolutions:īot.sendMessage(chat_id, 'Sorry, there are no available resolutions for this video.') Bot.sendMessage(chat_id, 'Hello! Send me a YouTube link to download the video :).')įor stream in yt.streams.filter(progressive=True, file_extension='mp4'): TELEGRAM PARA PC El bot te dirá en la conversación que envíes el link de YouTube y solo deberás copiar el URL y pegarlo en el chat.
