Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buddhhu/YT-Channel-Downloader
https://github.com/buddhhu/YT-Channel-Downloader
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/buddhhu/YT-Channel-Downloader
- Owner: buddhhu
- License: agpl-3.0
- Created: 2022-01-29T16:26:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-02T08:48:22.000Z (over 1 year ago)
- Last Synced: 2024-06-28T14:32:16.095Z (5 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 24
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YT-Channel-Downloader
- Download all videos from a youtube channel and upload in a telegram channel.
- Re-run to get newly uploaded videos.
---
## NOTE
- Edit `videos.txt` with 0 as value or delete that file.
---
## Dependency
- `ffmpeg` and `python3` are required along with the following python libraries:
`pyrogram`, `tgcrypto`, `youtube-search-python`, `yt-dlp`, `python-decouple`
---
## Installation
- `sudo bash installer.sh`
---
## Variables
- `API_ID` - Get it from https://my.telegram.org
- `API_HASH` - Get it from https://my.telegram.org
- `BOT_TOKEN` - Get it from [botfather](t.me/botfather)
- `TG_CHANNEL_ID` - Telegram Channel ID where the videos should be sent.
- `YT_CHANNEL_LINK` - Youtube Channel link from where the videos should be downloaded.
---
## Run
- `python backup.py`
---
## Using GitHub Actions
- Click [this](https://github.com/buddhhu/Yt-Channel-Downloader/generate).
- Edit line 7 of `.github/workflows/run.yml` with your GitHub username.
- Add `GIT_EMAIL` with your email used in GitHub account, in secrets.
- Add [variables](#variables) in secrets.