Coder Social home page Coder Social logo

1danish-00 / compressorbot Goto Github PK

View Code? Open in Web Editor NEW
192.0 192.0 571.0 45 KB

A python based Telegram Bot for Compressing Videos with negligible Quality change

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

License: GNU General Public License v3.0

Dockerfile 0.60% Python 99.36% Shell 0.04%
hacktoberfest hacktoberfest2022 telegram telegram-bot telethon-bot videocompressor videotoolbox

compressorbot's Introduction

Hey, Myself Danish. πŸ˜‰

Danish

Job : πŸ‘¨β€πŸŽ“ Student.
I'm working on some hobby projects and learning new stuffs!


πŸ“ž Contact Me


⚑️ About Me

  • πŸ”­ I’m currently working on Telegram, Discord, Whatsapp, Twitter Bots & Apis.
  • 🧐 Currently Learning JS & JAVA.
  • πŸ‘¨β€πŸ’» Mostly Projects Are Private πŸ˜….
  • πŸ’¬ Generally Available on Telegram.
  • πŸ€“ Ready To Help Others.

Languages / Frameworks/ Tools


πŸ–₯ Familiar OS


πŸ”§ IDE / ☁️ Clouds


πŸ“ˆ My Github Stats!

β˜•οΈ Tea, Coffee, Dinner?

Buy Me A Coffee

compressorbot's People

Contributors

1danish-00 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  avatar  avatar  avatar

compressorbot's Issues

VPS

please make guide for VPS

please add compress from url video

hi can you add feature to allow bot compress from video url?
because download speed from telegram video very slow only 500-900kbps

✦ Downloading

[π’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽπ’ŠΉοΈŽοΈŽοΈŽβ—β—β—β—β—β—β—β—β—β—β—β—β—] 35.11%

238.0 MB of 677.81 MB

✦ Speed: 312.36 KB/s

✦ ETA: 24m, 2s

Help

ERRNO NO SUCH FILE DIRECTORY ITS COMING

Unknown error

helper: The number of file parts is invalid (caused by SendMediaRequest)

Oteko

A way to deploy this in oketo

Help needed

I am not able to deploy it on heroku....

Logs

NameError: name 'LOGS' is not defined
2021-04-14T02:22:22.679480+00:00 heroku[worker.1]: Starting process with command /bin/sh -c bash\ run.sh
2021-04-14T02:22:23.377458+00:00 heroku[worker.1]: State changed from starting to up
2021-04-14T02:22:27.466718+00:00 heroku[worker.1]: Process exited with status 1
2021-04-14T02:22:27.569118+00:00 heroku[worker.1]: State changed from up to crashed
2021-04-14T02:22:27.281915+00:00 app[worker.1]: Traceback (most recent call last):
2021-04-14T02:22:27.281951+00:00 app[worker.1]: File "/bot/helper/config.py", line 21, in
2021-04-14T02:22:27.282130+00:00 app[worker.1]: OWNER = config("OWNER_ID", default=1322549723, cast=int)
2021-04-14T02:22:27.282135+00:00 app[worker.1]: File "/usr/local/lib/python3.9/site-packages/decouple.py", line 199, in call
2021-04-14T02:22:27.282452+00:00 app[worker.1]: return self.config(*args, **kwargs)
2021-04-14T02:22:27.282457+00:00 app[worker.1]: File "/usr/local/lib/python3.9/site-packages/decouple.py", line 83, in call
2021-04-14T02:22:27.282656+00:00 app[worker.1]: return self.get(*args, **kwargs)
2021-04-14T02:22:27.282660+00:00 app[worker.1]: File "/usr/local/lib/python3.9/site-packages/decouple.py", line 77, in get
2021-04-14T02:22:27.282844+00:00 app[worker.1]: return cast(value)
2021-04-14T02:22:27.282889+00:00 app[worker.1]: ValueError: invalid literal for int() with base 10: ''
2021-04-14T02:22:27.282890+00:00 app[worker.1]:
2021-04-14T02:22:27.282891+00:00 app[worker.1]: During handling of the above exception, another exception occurred:
2021-04-14T02:22:27.282891+00:00 app[worker.1]:
2021-04-14T02:22:27.282895+00:00 app[worker.1]: Traceback (most recent call last):
2021-04-14T02:22:27.282897+00:00 app[worker.1]: File "/bot/start.py", line 16, in
2021-04-14T02:22:27.283064+00:00 app[worker.1]: from helper._get import *
2021-04-14T02:22:27.283068+00:00 app[worker.1]: File "/bot/helper/_get.py", line 1, in
2021-04-14T02:22:27.283257+00:00 app[worker.1]: from .devtools import *
2021-04-14T02:22:27.283258+00:00 app[worker.1]: File "/bot/helper/devtools.py", line 15, in
2021-04-14T02:22:27.283401+00:00 app[worker.1]: from .stuff import *
2021-04-14T02:22:27.283406+00:00 app[worker.1]: File "/bot/helper/stuff.py", line 15, in
2021-04-14T02:22:27.283582+00:00 app[worker.1]: from .worker import *
2021-04-14T02:22:27.283586+00:00 app[worker.1]: File "/bot/helper/worker.py", line 15, in
2021-04-14T02:22:27.283762+00:00 app[worker.1]: from .funcn import *
2021-04-14T02:22:27.283766+00:00 app[worker.1]: File "/bot/helper/funcn.py", line 15, in
2021-04-14T02:22:27.283957+00:00 app[worker.1]: from .config import *
2021-04-14T02:22:27.283957+00:00 app[worker.1]: File "/bot/helper/config.py", line 24, in
2021-04-14T02:22:27.284116+00:00 app[worker.1]: LOGS.info("Environment vars Missing")
2021-04-14T02:22:27.284120+00:00 app[worker.1]: NameError: name 'LOGS' is not defined

File check

Please include file type and file size checker
So that, the user users can't compress a file until it's a video and within the file size limit

Unable to request multiple file compression in 1request

I know the bot has limitations of taking one file request at a time. But the bot should at least fetch multiple files one by one after each gets completed. Look into it if that functionality can be added. Also, do the functionality of entering data stream in kBps for individual or bulk files

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.