A Telegram Userbot that saves photos and videos, using Pyrogram
First of all, install the repository:
git clone https://github.com/lucabinotti/pyrogram-mediasaver
Enter on the folder:
cd pyrogram-mediasaver
Install the requirements:
pip install -r requirements.txt
Edit the settings.py
with your own settings
Once completed everything, execute the main.py
:
python3 main.py
The first time the program will run it will need to initialize the session, then it will require the entry of the phone number, and any access codes or passwords, in case the two-factor authentication is active.