Telegram bot for expanding external media links
Project description
warp_beacon
![Docker Image CI](https://pypi-camo.freetls.fastly.net/9a2b6c787e46e6130b0267769116cd7ac02e4821/68747470733a2f2f6769746875622e636f6d2f736230792f776172705f626561636f6e2f616374696f6e732f776f726b666c6f77732f646f636b65722d696d6167652e796d6c2f62616467652e737667)
Telegram bot for external social networks media scrapling. Works with links in personal messages and also with group chats.
Just send to bot media link and get video.
All bot configuration stored in variables.env file.
Configuration example
TG_TOKEN="you telegram token received from @BotFather"
INSTAGRAM_LOGIN="instagram login (email or cell phone)"
INSTAGRAM_PASSWORD="instgram password"
INSTAGRAM_VERIFICATION_CODE="instagram 2FA if required, default empty"
MONGODB_HOST="mongodb"
MONGODB_PORT="27017"
MONGODB_USER="root"
MONGODB_PASSWORD="changeme"
VIDEO_STORAGE_DIR="/var/warp_beacon/videos"
WORKERS_POOL_SIZE=3
Deployed example bot
How to run
Any Linux machine will suit in.
Install docker and git
apt update
apt install docker-compose git
Download sources
git clone https://github.com/sb0y/warp_beacon.git
Go to sources directory
cd warp_beacon
Run app
docker-compose up -d
Check logs
docker-compose logs warp_beacon -f
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
warp_beacon-1.0.2.tar.gz
(23.9 kB
view hashes)
Built Distribution
Close
Hashes for warp_beacon-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 269b13562af8fb6fc7206fd3c8910fe5ad04f10c05f08f253facf8d814a82387 |
|
MD5 | df26cdf3ae1721015a024309e495f7c0 |
|
BLAKE2b-256 | 16639a8933d5591a97aacf0242adf20930d5ec5fea85c48e7f6beee59f6d72d4 |