Spaces:
No application file
No application file
Updated README
Browse files
README.md
CHANGED
|
@@ -1,2 +1,17 @@
|
|
| 1 |
# TheCollector
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# TheCollector
|
| 2 |
+
|
| 3 |
+
A Telegram Bot that downloads videos using yt-dlp and sends them back to the user.
|
| 4 |
+
|
| 5 |
+
Usage:
|
| 6 |
+
1. Install necessary libraries:
|
| 7 |
+
pip install python-telegram-bot yt-dlp
|
| 8 |
+
2. Get a Bot Token from BotFather on Telegram.
|
| 9 |
+
3. Replace "YOUR_TELEGRAM_BOT_TOKEN" with your actual token.
|
| 10 |
+
4. Run the script: python your_script_name.py
|
| 11 |
+
5. Send a video URL to your bot on Telegram.
|
| 12 |
+
|
| 13 |
+
Notes:
|
| 14 |
+
- Telegram has a file size limit for bots sending files (usually 50MB).
|
| 15 |
+
This bot attempts to download a suitable format but might fail for very large videos.
|
| 16 |
+
- Ensure ffmpeg is installed if yt-dlp requires it for merging formats or conversions.
|
| 17 |
+
(yt-dlp often bundles it or can use a system-wide ffmpeg).
|