A telegram media to pixeldrain stream link bot

Overview

Pixeldrain-Bot

A telegram media to pixeldrain stream link bot


Made with Python3
(C) @FayasNoushad
Copyright permission under MIT License
License -> https://github.com/FayasNoushad/Pixeldrain-Bot/blob/main/LICENSE

Deploy

git clone https://github.com/FayasNoushad/Pixeldrain-Bot/tree/main
cd Pixeldrain-Bot
pip3 install -r requirements.txt
# <Create Variables appropriately>
python3 main.py

Variables

  • API_HASH Your API Hash from my.telegram.org
  • API_ID Your API ID from my.telegram.org
  • BOT_TOKEN Your bot token from @BotFather

Credits

Comments
  • Memory Exceeded Error when bot is uploading

    Memory Exceeded Error when bot is uploading

    File less than 600mb usually no error during downloading and uploading but if more than 600mb like 900mb or 1gb shows error when uploading and even restarts the bot. Using heroku btw

    opened by hatoyski 3
  • Never get the links

    Never get the links

    Showing Uploaded successfully in telegram and never get the links. heroku logs are provided below

    2021-12-07T09:27:47.917809+00:00 heroku[worker.1]: State changed from starting to up
    2021-12-07T09:27:51.595921+00:00 app[worker.1]: Pyrogram v1.2.12, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
    2021-12-07T09:27:51.595938+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
    2021-12-07T09:27:51.595938+00:00 app[worker.1]: 
    2021-12-07T09:28:24.764102+00:00 app[worker.1]: argument of type 'TypeError' is not iterable
    2021-12-07T09:28:24.764109+00:00 app[worker.1]: Traceback (most recent call last):
    2021-12-07T09:28:24.764110+00:00 app[worker.1]:   File "/app/main.py", line 62, in media_filter
    2021-12-07T09:28:24.764110+00:00 app[worker.1]:     if response["success"] is False:
    2021-12-07T09:28:24.764111+00:00 app[worker.1]: TypeError: 'Response' object is not subscriptable
    2021-12-07T09:28:24.764112+00:00 app[worker.1]: 
    2021-12-07T09:28:24.764113+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
    2021-12-07T09:28:24.764113+00:00 app[worker.1]: 
    2021-12-07T09:28:24.764113+00:00 app[worker.1]: Traceback (most recent call last):
    2021-12-07T09:28:24.764114+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker
    2021-12-07T09:28:24.764114+00:00 app[worker.1]:     await handler.callback(self.client, *args)
    2021-12-07T09:28:24.764115+00:00 app[worker.1]:   File "/app/main.py", line 69, in media_filter
    2021-12-07T09:28:24.764115+00:00 app[worker.1]:     if "MESSAGE_NOT_MODIFIED" in error:
    2021-12-07T09:28:24.764115+00:00 app[worker.1]: TypeError: argument of type 'TypeError' is not iterable
    
    opened by rsoorajs 3
  • SyntaxError

    SyntaxError

    Showing some syntax error while running the latest code

    2021-12-07T13:40:14.666267+00:00 heroku[worker.1]: State changed from crashed to starting
    2021-12-07T13:40:18.167721+00:00 heroku[worker.1]: Starting process with command `python main.py`
    2021-12-07T13:40:19.394530+00:00 heroku[worker.1]: State changed from starting to up
    2021-12-07T13:40:19.850551+00:00 heroku[worker.1]: Process exited with status 1
    2021-12-07T13:40:19.903699+00:00 heroku[worker.1]: State changed from up to crashed
    2021-12-07T13:40:19.737423+00:00 app[worker.1]:   File "/app/main.py", line 78
    2021-12-07T13:40:19.737444+00:00 app[worker.1]:     text=f"Error :- `{error}`\n\n`{'\n'.join(logs)}`",
    2021-12-07T13:40:19.737584+00:00 app[worker.1]:                                                      ^
    2021-12-07T13:40:19.737603+00:00 app[worker.1]: SyntaxError: f-string expression part cannot include a backslash
    
    opened by rsoorajs 1
  • Issue Still persists

    Issue Still persists

    Issue still persists .Just showing "uploaded successfully" in telegram and no links generating https://github.com/FayasNoushad/Pixeldrain-Bot/issues/5

    Heroku logs

    2021-12-07T11:49:10.024877+00:00 app[worker.1]: Pyrogram v1.2.12, Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
    2021-12-07T11:49:10.025452+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
    2021-12-07T11:49:10.025454+00:00 app[worker.1]: 
    2021-12-07T11:49:46.738931+00:00 app[worker.1]: 'Response' object is not subscriptable
    2021-12-07T11:49:46.738941+00:00 app[worker.1]: Traceback (most recent call last):
    2021-12-07T11:49:46.738943+00:00 app[worker.1]:   File "/app/.heroku/python/lib/python3.9/site-packages/pyrogram/dispatcher.py", line 217, in handler_worker
    2021-12-07T11:49:46.738943+00:00 app[worker.1]:     await handler.callback(self.client, *args)
    2021-12-07T11:49:46.738944+00:00 app[worker.1]:   File "/app/main.py", line 85, in media_filter
    2021-12-07T11:49:46.738945+00:00 app[worker.1]:     text = f"**File Name:** `{data['name']}`" + "\n"
    2021-12-07T11:49:46.738945+00:00 app[worker.1]: TypeError: 'Response' object is not subscriptable
    
    opened by rsoorajs 1
  • response object is not subscriptable error

    response object is not subscriptable error

    Getting the below error in telegram,no error log on heroku

    Error :- 'Response' object is not subscriptable
    
    Download Successfully
    Upload Successfully
    
    opened by rsoorajs 1
Owner
Fayas Noushad
Indian Opensource Software Developer. Computer Science Student @Puliyaparamb. Learning more about programming. A @Python programmer.
Fayas Noushad
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram VCVideoPlayBot An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat. NOTE: Make sure you have started a VoiceChat in your Grou

Zaute 20 Oct 21, 2022
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

SUBIN 449 Dec 27, 2022
📢 Video Chat Stream Telegram Bot. Can ⏳ Stream Live Videos, Radios, YouTube Videos & Telegram Video Files On Your Video Chat Of Channels & Groups !

Telegram Video Chat Bot (Beta) ?? Video Chat Stream Telegram Bot ?? Can Stream Live Videos, Radios, YouTube Videos & Telegram Video Files On Your Vide

brut✘⁶⁹ // ユスフ 15 Dec 24, 2022
A telegram bot that can upload telegram media files to anonfiles.com and give you direct download link

✯ AnonFilesBot ✯ Telegram Files to AnonFiles Upload Bot It will Also Give Direct Download Link Process : Fork This Repositry And Simply Cick On Heroku

Avishkar Patil 38 Dec 30, 2022
A simple telegram Bot, Upload Media File| video To telegram using the direct download link. (youtube, Mediafire, google drive, mega drive, etc)

URL-Uploader (Bot) A Bot Upload file|video To Telegram using given Links. Features: ?? Only Auth Users (AUTH_USERS) Can Use The Bot ?? Upload YTDL Sup

Hash Minner 18 Dec 17, 2022
google-resumable-media Apache-2google-resumable-media (🥉28 · ⭐ 27) - Utilities for Google Media Downloads and Resumable.. Apache-2

google-resumable-media Utilities for Google Media Downloads and Resumable Uploads See the docs for examples and usage. Experimental asyncio Support Wh

Google APIs 36 Nov 22, 2022
Pdisk Link Converter Telegram Bot, Convert link in a single click

Pdisk Converter Bot Make short link by using Pdisk API key Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @BotFather, and

Ayush Kumar Jaiswal 6 Jul 28, 2022
A Telegram bot to all media and documents files to web link .

FileStreamBot A Telegram bot to all media and documents files to web link . Report a Bug | Request Feature ?? About This Bot : This bot will give you

Code X Mania 129 Jan 3, 2023
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In @SafoTheBot Group! ❤️

Telegram Video Player Bot (Beta) An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. Special Features Supports Live Streaming From

SAF ONE 206 Jan 3, 2023
Simple Telegram Bot to extract various types of archives from a telegram file or a direct link

Unzipper Bot A Telegram Bot to Extract Various Types Of Archives Features Extract various types of archives like rar, zip, tar, 7z, tar.xz etc. Passwo

I'm Not A Bot #Left_TG 93 Dec 27, 2022
this is a telegram bot repository, that can stream video on telegram group video chat.

VIDEO STREAM BOT telegram bot project for streaming video on telegram video chat, powered by tgcalls and pyrogram ?? Commands: /vstream (reply to vide

levina 319 Aug 15, 2022
A Telegram Bot To Stream Videos in Telegram Voice Chat.

Video Stream X Bot Telegram bot project for streaming video on telegram video chat, powered by tgcalls and pyrogram Deploy to Heroku ??‍?? The easy wa

Mⷨoͦns͛ᴛⷮeͤrͬ Zeͤrͬoͦ 13 Dec 5, 2022
Telegram bot to stream videos in telegram voicechat for both groups and channels

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live streams, YouTube videos and telegram media. With record stream support, Schedule streams, and many more.

ALBY 9 Feb 20, 2022
A Telegram bot that can stream Telegram files to users over HTTP.

T.ME_FILE_TO_LINK Hi iam a file to link bot....best Bot telegram Telegram File To Link Generation Bot A Telegram bot that can stream Telegram files to

null 1 Oct 24, 2021
Telegram bot for stream music on telegram, powered by py-tgcalls and Pyrogram

Telegram Streamer Bot Telegram bot for stream music on telegram, powered by py-tgcalls and Pyrogram ✨ Features Coming soon, help me to improve it ?? C

Shohih Abdul 11 Oct 21, 2022
Video Stream is a telegram bot project that's allow you to play video on telegram group video chat

Video Stream is a telegram bot project that's allow you to play video on telegram group video chat ?? Get SESSION_NAME from below: Pyrogram ## ✨ Featu

null 1 Nov 10, 2021
A Telegram bot that can stream Telegram files to users over HTTP

AK-FILE-TO-LINK-BOT A Telegram bot that can stream Telegram files to users over HTTP. Setup Install dependencies (see requirements.txt), configure env

null 3 Dec 29, 2021
Telegram bot to stream videos in telegram voicechat for both groups and channels.

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live streams, YouTube videos and telegram media. With record stream support, Schedule streams, and many more.

SOCIAL MECHANIC 4 Nov 13, 2022