Giter VIP home page Giter VIP logo

savetgbot's Introduction

SocMediaScrapper Telegram Bot

Test the bot now - @UzSavebot


Upload video from

  • Youtube [.mp3; max duration: 10 min]
  • Youtube Shorts [.mp4]
  • Tik-Tok [without watermark]
  • Instagram [stories, posts(photo,video,carousel), reels] (dont work for highlight)


Configs Example

.env (.env-example)

pwd - full os path to dir of project
Local
TG_API_KEY=''
downloads_pwd='{pwd}/app/downloads/'
ad_pwd='{pwd}/app/Ads'
inst_url = 'https://ru.savefrom.net/94/download-from-instagram'
tt_url = 'https://ru.savefrom.net/79/download-from-tiktok'
DRIVER = '{pwd}/app/chromedriver'


admin_pass = '12345'
referal = 'https://t.me/UzSavebot?start='
banner='Скачано из @UzSavebot'

channel_link = 'https://t.me/Tezkor_tg'
channel_username = '@CryptoVedma' #Tezkor_tg

Install

1. Install requirements

cd/app
pip install -r requirements.txt

2. Rebuild database:db.sqlite

./dbmanager rebuild

3. Start the app

python bot.py
# or (infinity restart app if it crash)
./restarter.sh

Install chromedriver

Helpful links

No CLI Server

On cli server use this options
from pyvirtualdisplay import Display

op.add_argument("--no-sandbox");
        op.add_argument("--disable-dev-shm-usage");
        display = Display(visible=0, size=(800, 800))
        display.start()

        .....

        finally:
            ...
            display.stop()

Admin panel

For auth in bot like admin write to the bot:

/admin 12345

U can chage pass in .env file for auth like admin role

!

savetgbot's People

Contributors

kde2podfreebsd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

savetgbot's Issues

Language switch

Make a functionality for language message and markup switch with classes and refactor arch

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.