- Download all videos from a youtube channel and upload in a telegram channel.
- Re-run to get newly uploaded videos.
- Edit
videos.txt
with 0 as value or delete that file.
ffmpeg
andpython3
are required along with the following python libraries:pyrogram
,tgcrypto
,youtube-search-python
,yt-dlp
,python-decouple
sudo bash installer.sh
API_ID
- Get it from https://my.telegram.orgAPI_HASH
- Get it from https://my.telegram.orgBOT_TOKEN
- Get it from botfatherTG_CHANNEL_ID
- Telegram Channel ID where the videos should be sent.YT_CHANNEL_LINK
- Youtube Channel link from where the videos should be downloaded.
python backup.py