Unzip Bot

About

A Telegram bot to extract all types of archives

Unzip Bot

This bot will suit all your archive's related needs on Telegram ! It can extract password protected archives, download them from direct URL's, change their thumbnail, rename them, and much more !



  • Made with : Python
  • Uses : Pyrogram, MongoDB
  • Price : Free :)
  • Availibility : Online

Users

Stars ⭐

Lines of code

Files processed

Gigabytes processed

Forks

Days since launch

Links downloaded

Help

You have an error with the bot ?
You want to know what it means ?
This section is for you 🥰
[Errno 2] No such file or directory: '/app/Downloaded/{ID}/{archive_name}.temp'

There was an error during the renaming of your file

[Errno 20] Not a directory: '/app/Downloaded/{ID}/{archive_name}'

Your archive haven't been extracted successfully

replace() argument 2 must be str, not None

You can't rename a file with nothing

That archive is password protected 😡 Don't fool me !

Either it's effectively password protected, or it's a splitted archive, or it's corrupted, or that file format isn't supported yet

Telegram says: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "messages.ForwardMessages")

Your tried to extract a file from a channel which restricts saving content

Telegram says: [400 QUERY_ID_INVALID] - The callback query id is invalid (caused by "messages.SetBotCallbackAnswer")

Your deleted the bot's message before it could edit its message

Telegram says: [400 MESSAGE_NOT_MODIFIED] - The message was not modified because you tried to edit it using the same content (caused by "messages.EditMessage")

The bot failed to edit its message. Don't pay attention to it

Cannot connect to host {name}:80 ssl:default [Name or service not known]

That URL is unreachable/down

Response payload is not completed

The connection hanged up before the bot could download the full file

Server disconnected

The server went down

Cannot connect to {name}:8080 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')]

The certificate of that URL isn't valid anymore

400, message='Invalid character in chunk size', url=URL('{name}')

The URL gave a bad chunk, impossible to download that file

URL should be absolute

You can't use a relative URL, use the full one

Telegram says: [400 USER_IS_BLOCKED] - The user blocked you (caused by "messages.SendMessage")

That user blocked the bot, you can't send anything to him anymore

Value after * must be an iterable, not NoneType

That error was due to concurrent transfers, it's deprecated by now

[Errno 12] Cannot allocate memory

The server is full, no more space available

{empty}

If there's no error message, please send me a message @EDM115 

Got another error ?

Report it in the chat @EDM115_chat 

Source code

The full source code is available here : EDM115/unzip-bot 
Feel free to contribute, pull requests are welcome and issues are open if you wanna report a bug or suggest a feature

Contact

If you need more help, or just wanna talk, hit me at @EDM115 or send a mail at [email protected]