In order to deploy your own bot, please fill-up the provided vars correctly in pornhub/config.py.
- Fork this repo
- Visit heroku.com
- Create new App -> Enter the App Name -> Choose App Country
- Click on Deploy Tab
- Click on GitHub Tab -> Connect the App to Your GitHub account
- Enter the Repo name You've forked before -> Tap Connect
- Click on Deploy Branch button
- After build done -> Click on Resources Tab -> Switch Toggle On
root@ubuntu~ $ git clone https://github.com/levina-lab/tgpornhub-dl
root@ubuntu~ $ cd tgpornhub-dl
root@ubuntu~ $ pip3 install -Ur requirements.txt
root@ubuntu~ $ python3 -m pornhub
This repo has made with an function that let you generate statistic (the generated stats is counted from the local database, remember every time the server restart, all data generated in database will reset to zero!), broadcasting message, search video with inline mode and force user to join into your channel. So make sure that you've set an group for receive the log report given by your bot also the channel of the force-subscribe feature.
This repo is distributed under the MIT License 2022 By @levina-lab