Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/om1ji/autouploadbot
Automatic YouTube media uploader. Sends audio files to user-defined Telegram channels
https://github.com/om1ji/autouploadbot
flask pytelegrambotapi telegram-api youtube-api youtube-dl
Last synced: 3 months ago
JSON representation
Automatic YouTube media uploader. Sends audio files to user-defined Telegram channels
- Host: GitHub
- URL: https://github.com/om1ji/autouploadbot
- Owner: om1ji
- Created: 2021-07-23T14:01:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-07T08:32:09.000Z (over 3 years ago)
- Last Synced: 2024-06-28T14:33:57.624Z (5 months ago)
- Topics: flask, pytelegrambotapi, telegram-api, youtube-api, youtube-dl
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# autouploadbot
# Requirements:
* VPS or 24-hour running machine with constant internet connection
* Static IP Address
* Telegram Bot Token
* A Telegram channel the bot will send media to.# Packages:
* pyTelegramBotAPI
* Flask
* youtube-dl# Launch:
Windows: ```set FLASK_APP=main.py && flask run --port= --host=0.0.0.0```
Linux: ```FLASK_APP=main.py flask run --port= --host=0.0.0.0```
P.S: Define the port you want to use (80 is a usual port)
# Set up the bot:
1. Provide token of your bot to the program.
2. Subscribe to YouTube channels via [this service](https://pubsubhubbub.appspot.com/subscribe). You can read the instructions [here](https://developers.google.com/youtube/v3/guides/push_notifications)
3. Provide an ID of the Telegram channel you want the bot to send media to. You can also provide string-type link (e.g. ```@om1ji_autolibrary```)Contact: [t.me/om1ji](https://t.me/om1ji)