91 video download, send telegram
Lustful video link support (supplements author deleted videos)
Try to handle it in an asynchronous way, the download speed is greatly improved, and the actual measurement is very fast (100M video, download + merge takes 18 seconds)
Compatible with old mp4, now m3u8
Crack the playback restrictions of 91 videos, theoretically unlimited downloads
Add a Chinese word segmentation tag to the title to solve the problem of telegram search in Chinese
Retry mechanism, network timeout retry
Send a link to the bot to get the real video address
and download the video
Docker pre-installed environment, easy to replace services, one-click start
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh --mirror Aliyun&&systemctl enable docker&&systemctl start docker
curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose &&chmod +x /usr/local/bin/docker-compose
Create a directory /pybot
mkdir /pybot
#Windows needs to restart the computer to configure environment variables
REDIS_HOST: 11.11.22.333
REDIS_PORT: 16379
REDIS_PASS: 424243
API_ID: 21231221
API_HASH: *************************
BOT_TOKEN: *****:**************************
#Group id of the group to which the timed task is sent(@get_id_bot,It can be accessed here
It is available here
Available here)
GROUP_ID: 121231311
docker-compose up
python3.10以上
pip install -r requirements.txt
Modify proxy
python pornbot.py
1.send /start to the bot
get a reply ********