Git Product home page Git Product logo

xrontrix10 / telegram-leecher Goto Github PK

View Code? Open in Web Editor NEW
221.0 5.0 183.0 311 KB

A Pyrogram based Telegram Bot to Transfer Files / Folders to Telegram and Google Drive With Multi-Functionality Using Google Colaboratory

Home Page: https://t.me/Colab_Leecher

License: GNU General Public License v3.0

Python 100.00%
google-drive-api leech-bot pyrogram python telegram-bot leech leecher drive-uploader google-colab mirror-bot

telegram-leecher's People

Contributors

deadman30 avatar kjeymax avatar shan84537 avatar thehellruler avatar xrontrix10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

telegram-leecher's Issues

ytdl Video Download fix

Sometimes videos do not downloads completely, it leaves video parts. waiting for video merging causes infinite waiting causing the bot to stuck. Need to fix this

Request to rename multiple links at once

Hello, dear admin.
I hope you’re well.
Can you please add a feature to rename multiple links at once? As in the following example:

https://test.com/1.zip
[ONE.zip]
https://test.com/2.zip
[TWO.zip]
https://test.com/3.zip
[THREE.zip]

thank you very much🌷.

Custom name & Multi links issue

I can't use them both
It only upload the last link i gave
For example if i send these links

https://rr3---sn-x5guiapo3uxax-cbfse.googlevideo.com/videoplayback?expire=1697226207&ei=f0kpZYe6N4Cgp-oPv7KkoA4&ip=37.238.28.12&id=o-AIwLbWlOfko1zh61Q9tEadgWkLrQJ1fw1t77MotcgtLt&itag=22&source=youtube&requiressl=yes&mh=Eu&mm=31%2C29&mn=sn-x5guiapo3uxax-cbfse%2Csn-4g5lznez&ms=au%2Crdu&mv=m&mvi=3&pl=24&initcwndbps=471250&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2171.158&lmt=1670604564471835&mt=1697204260&fvip=1&fexp=24007246&beids=24350018&c=ANDROID_TESTSUITE&txp=6218224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRgIhAIZ6QOwDO9QpOt1d23uFPppaN4rT_Z4H8F3k2loJCmiWAiEAwboY6V2W39j2fjdEOPlSNd0YjWbXoW0trN07llMiaEk%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRgIhAI-hy6VCI9QxUZFFmr434HX7XiWG0icnQdZC1JVTvBJOAiEAwQYfXGDROoD0eozQcUwH3ASkwFeyUJde9VZPY2rf8wI%3D
[First.mp4]
https://rr3---sn-x5guiapo3uxax-cbfse.googlevideo.com/videoplayback?expire=1697226498&ei=okopZYeyMsyymLAP05WvoAo&ip=37.238.28.12&id=o-AKsbQMrCNTPk10DzkPFV70KbsC3LuaRmO_glX7WUJREz&itag=22&source=youtube&requiressl=yes&mh=0f&mm=31%2C29&mn=sn-x5guiapo3uxax-cbfse%2Csn-4g5ednds&ms=au%2Crdu&mv=m&mvi=3&pl=24&initcwndbps=481250&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2367.506&lmt=1670605101657213&mt=1697204500&fvip=1&fexp=24007246&beids=24350018&c=ANDROID_TESTSUITE&txp=6218224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRgIhAN5lx1y8TSBEpTcMRVSGNWssve9lW0xT-tiQIHTQlIFAAiEAraUcNMgi-n74X0NmzkzDlNBcIcG-ONDrFh2eZOmC_II%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRQIgfg2f0-keTKj-z0DIvunaVvM5VHFCS4grVV9SZxaX1d4CIQDjnnoShKLcTYI4Qgl3lSvxrHFb8QkSQg4QVnDM8ExV_g%3D%3D
[Second.mp4]
https://rr1---sn-x5guiapo3uxax-cbfsy.googlevideo.com/videoplayback?expire=1697226548&ei=1EopZamKL6mvxN8P4P25mAE&ip=37.238.28.12&id=o-AKDOa-x0qlasuw-XWy1LU9VmVDgusP9KwpDGJlTkXMMF&itag=22&source=youtube&requiressl=yes&mh=qr&mm=31%2C29&mn=sn-x5guiapo3uxax-cbfsy%2Csn-4g5lznes&ms=au%2Crdu&mv=m&mvi=1&pl=24&initcwndbps=472500&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=1638.608&lmt=1671110117583760&mt=1697204500&fvip=3&fexp=24007246&beids=24350018&c=ANDROID_TESTSUITE&txp=6218224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRAIgXlUFFVyrdUyVuPtUO4uVUm7nuQ8ZSegWNFY6JrymAUcCIAljSCV89z1n40RSWeTGKCh-zi0M_zShF-rekFJlXH0a&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRQIgOq2LbnH1tl_A8wbMKv11O-TP2rN9Xpyqi2FYn3BgnWQCIQCCg7gIwLRBWbWe0-rIAGJo6fFa_K6-RcafTlbLqW2t8w%3D%3D
[Third.mp4]
https://rr7---sn-x5guiapo3uxax-cbfse.googlevideo.com/videoplayback?expire=1697226569&ei=6EopZeW5Nrq8xN8PgJun4AE&ip=37.238.28.12&id=o-AA_9MZTXeVC_tFd_18Q3ckN7adgRWhs29-EMe85eJv9_&itag=22&source=youtube&requiressl=yes&mh=ua&mm=31%2C29&mn=sn-x5guiapo3uxax-cbfse%2Csn-4g5ednse&ms=au%2Crdu&mv=m&mvi=7&pl=24&initcwndbps=481250&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=2433.265&lmt=1671110801941976&mt=1697204500&fvip=1&fexp=24007246&beids=24350018&c=ANDROID_TESTSUITE&txp=6218224&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AGM4YrMwRQIhAJLPc0xf1UHP4Rdqp02UCBuJiIft7qWZFW-Tdl_EjX-LAiB1uTK2pdY5w67gpmkvVPFL6N83VoG2rQCLKnDl2m9Deg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AK1ks_kwRgIhAM3n464npa2MRrr2UUvLHFjliiVrap-kBWyViH8wWpA-AiEAtH0Pi3dRIBRKnfzfanvUBXbiDUJOx5HQKrn-_15gZOs%3D
[Fourth.mp4]

It will only download fourth.mp4

Error Upload Directly From Drive ( Dir-Leech )

After using "Upload Directly From Drive (Dir-Leech)" once, if continue to another folder will receive an error.

For example:
Folder 1: /content/drive/Shareddrives/tuthanika/1
Folder 2: /content/drive/Shareddrives/tuthanika/2

Bot running with Folder 1 complete, run new command dir_leech with Folder 2, will error. At this time, the bot cann't operate even if using a direct link.

ERROR:pyrogram.dispatcher:[Errno 17] File exists: '/content/drive/Shareddrives/tuthanika/1'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/content/Telegram-Leecher/colab_leecher/main.py", line 347, in handle_options
await BOT.TASK
File "/content/Telegram-Leecher/colab_leecher/utility/task_manager.py", line 98, in taskScheduler
makedirs(Paths.down_path)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/content/drive/Shareddrives/tuthanika/1'

Ability to change file extension

There are some links that don't end with the file extension like this

Link

I hope you can add a feature to change file extension within the bot
Thanks ❤️

Add Mega.nz support

Need to add ability to download files and folders from mega.nz links. Also add an optional mega authorization for transfer quota bypass

Error!!!!!!!!

├🤔 Reason » Can't Download from this link. Because: [0;31mERROR: [0m [generic] Unable to download webpage: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007) (caused by CertificateVerifyError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U

Link was https://download.filedownloadlink.xyz/455.mp4

None thumbnail option

Hi again 👋😁
Can you please add thee options for thumbnail
None & auto & custom
Because right now the none option means auto thumbnail
Screenshot_20231010-172219474_1

Error: XDG_RUNTIME_DIR not set in the environment

I encountered the following error while running colab leecher in colab

error: XDG_RUNTIME_DIR not set in the environment.
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5178:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5701:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM default
INFO:root:Colab Leecher Started !
INFO:pyrogram.session.auth:Start creating a new auth key on DC2
INFO:pyrogram.connection.connection:Connecting...
INFO:pyrogram.connection.connection:Connected! Production DC2 - IPv4
INFO:pyrogram.session.auth:Done auth key exchange: DhGenOk
INFO:pyrogram.connection.connection:Disconnected
INFO:pyrogram.connection.connection:Connecting...
INFO:pyrogram.connection.connection:Connected! Production DC2 - IPv4
INFO:pyrogram.session.session:NetworkTask started
INFO:pyrogram.connection.connection:Disconnected
INFO:pyrogram.session.session:NetworkTask stopped
INFO:pyrogram.session.session:Session stopped
INFO:pyrogram.connection.connection:Connecting...
INFO:pyrogram.connection.connection:Connected! Production DC2 - IPv4
INFO:pyrogram.session.session:NetworkTask started
INFO:pyrogram.connection.connection:Disconnected
.............. ...................... .....................
.............. ...................... .....................

and goes on

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.