Code Monkey home page Code Monkey logo

qobuz-dl-telegram-bot's Introduction

qobuz-dl-telegram-bot

Deploy

Premium account is required for the bot to work.

Commands Bot( @BotFather )

start - start bot
download - dl one link and multi link
status - bot status
log - log
reset - restart bot

  1. Installing requirements
  • Clone repo:

     git clone https://github.com/qobuz-dl/qobuz-dl-telegram-bot
    
  1. Set up config file
  • Fill up variables config.py:

    • Mandatory variables:

      • API_ID: get this from https://my.telegram.org. Don't put this in quotes
      • API_HASH: get this from https://my.telegram.org
      • BOT_TOKEN: The Telegram Bot Token (get from @BotFather)
      • OWNER_ID: your Telegram User ID (not username) of the owner of the bot
      • AUTH_IDS: Group Id -100xxxx
      • QOBUZ_MAIL: qobuz email
      • QOBUZ_PASS: qobuz pass
      • QOBUZ_QUAL: Quality
      • BOT_USERNAME: Bot username not @
      • LOG_CHANNEL: Channel Id -100xxxx

      Heroku Restart Bot

      • HEROKU_API_KEY: Heroku Api Key
      • HEROKU_APP_NAME: Heroku Name

Quality

  5:  MP3-320 Kbps
  6:  CD-16-bit/44,1 kHz
  7:  24-Bit Hi-Res/Upto 96 kHz
  27: 24-Bit Hi-Res/Upto 192 kHz

Support Link

Artist: https://open.qobuz.com/artist/43821
Albüm:  https://open.qobuz.com/album/doldeure0459b
Track:  https://open.qobuz.com/track/138731318

  1. Deploying on VPS Using Docker
  • Start Docker daemon (skip if already running), if installed by snap then use 2nd command:

      sudo dockerd
      sudo snap start docker
    

    Note: If not started or not starting, run the command below then try to start.

      sudo apt install docker.io
    
  • Build Docker image:

      sudo docker build . -t qobuz-dl-bot 
    
  • Run the image:

      sudo docker run qobuz-dl-bot
    
  • To stop the image:

      sudo docker ps
      sudo docker stop id
    
  • To clear the container:

      sudo docker container prune
    
  • To delete the images:

      sudo docker image prune -a
    
  1. Deploying on VPS Using docker-compose

NOTE: If you want to use port other than 80, change it in docker-compose.yml

sudo apt install docker-compose
  • Build and run Docker image:
sudo docker-compose up
  • After editing files with nano for example (nano start.sh):
sudo docker-compose up --build
  • To stop the image:
sudo docker-compose stop
  • To run the image:
sudo docker-compose start

qobuz-dl-telegram-bot's People

Contributors

qobuz-dl avatar wseng avatar

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.