Skip to content

Commit 92b11f4

Browse files
committed
update
1 parent 887af99 commit 92b11f4

File tree

16 files changed

+576
-107
lines changed

16 files changed

+576
-107
lines changed
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
=<p align="center">
2+
<a href="https://t.me/EyeTubeAiBot">
3+
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.jpg" alt="Logo" width="130">
4+
</a>
5+
<a href = "https://t.me/EyeTubeAiBot">
6+
<h1 align="center"><strong>EyeTubeBot Version(1.0.1)</strong></h1>
7+
</a>
8+
<p align="center">
9+
<a href="https://t.me/possibilityAI">
10+
<img src="https://img.shields.io/badge/Join-Community-blue.svg" alt="AGPL License">
11+
</a>
12+
<a href="https://wa.me/233505994829?text=*EyeTubeB👁t_From_Github_User_💬Message_:*%20">
13+
<img src="https://img.shields.io/badge/Contact-Engineers-red.svg" alt="Build Status">
14+
</a>
15+
</p>
16+
</p>
17+
18+
---
19+
20+
**Welcome to EyeTubeBot**: a tool for downloading videos, movies, and extracting audio from multiple platforms. This is the **Core(beta)** version (1.0.1), designed for developers who want to automate the process of video and audio downloads from platforms such as YouTube, Instagram, Facebook, Twitter, LinkedIn, Snapchat, and Audiomack.
21+
22+
## Highlights
23+
24+
- [Highlights](#highlights)
25+
- [Features](#features)
26+
- [Requirements](#requirements)
27+
- [Installation](#installation)
28+
- [Configuration](#configuration)
29+
- [Usage](#usage)
30+
- [Commands](#commands)
31+
- [Update Handling](#update-handling)
32+
- [The Structure \& Flow](#the-structure--flow)
33+
34+
35+
## Features
36+
37+
- Download videos from YouTube, Instagram, Facebook, Twitter, LinkedIn, Snapchat.
38+
- Extract audio from supported platforms (YouTube, Instagram, Twitter, Facebook, LinkedIn, Snapchat, Audiomack).
39+
- Automate the update process of your bot.
40+
- Basic error handling and retry mechanism.
41+
42+
## Requirements
43+
44+
- Python 3.7+
45+
- Libraries:
46+
- `telebot` (pyTelegramBotAPI)
47+
- `re`
48+
- `time`
49+
- `logging`
50+
- `subprocess`
51+
- `update_checker`
52+
- An active **Telegram Bot API Token** from [BotFather](https://t.me/BotFather).
53+
54+
## Installation
55+
56+
1. Clone the repository:
57+
58+
```bash
59+
60+
git clone https://github.com/Mickekofi/EyeTubeBot.git
61+
cd EyeTubeBot
62+
```
63+
64+
2. Install the required libraries:
65+
```bash
66+
pip install -r requirements.txt
67+
```
68+
69+
3. Ensure the necessary imports are in place:
70+
```python
71+
import logging
72+
import time
73+
import re
74+
import telebot
75+
from update_checker import UpdateChecker
76+
```
77+
78+
## Configuration
79+
80+
1. Set up your bot with your Telegram API token:
81+
82+
```python
83+
TOKEN = input("Please enter your Telegram API token: ")
84+
bot = telebot.TeleBot(TOKEN)
85+
```
86+
87+
Get your **Telegram Bot API Token** from [BotFather](https://t.me/BotFather) Free.
88+
89+
2. **Admin Setup**: Enter your name when prompted to personalize the bot's welcome messages.
90+
91+
3. **Error Handling**: This bot retries operations on failures automatically by utilizing the `retry_on_failure` decorator.
92+
93+
## Usage
94+
95+
1. **Starting the Bot**: Run the bot by executing the script:
96+
```bash
97+
python EyeTube_main.py
98+
```
99+
100+
2. **Platform Support**:
101+
- Supported platforms for video/audio extraction:
102+
- YouTube
103+
- Instagram
104+
- Twitter
105+
- Facebook
106+
- LinkedIn
107+
- Snapchat
108+
- Audiomack
109+
110+
3. **Audio/Video Download**:
111+
- To download **audio**, append `-a` to the URL.
112+
- To download **video**, simply paste the URL. The bot will automatically handle the request.
113+
- For YouTube, you can specify the video quality using `-h` for high quality or `-l` for low quality (defaults to high).
114+
115+
## Commands
116+
117+
- `/start`: Starts the bot and presents a basic user interface for interacting with the bot.
118+
- `/help`: Provides a link to the bot's documentation.
119+
- `/about`: Displays information about the EyeTubeBot.
120+
- `/check_update`: Checks for available bot updates.
121+
- `/update`: Automatically pulls updates from the GitHub repository.
122+
123+
## Update Handling
124+
125+
EyeTubeBot includes built-in update handling. To check for updates:
126+
1. Use the `/check_update` command to see if a newer version is available.
127+
2. Use the `/update` command to update the bot via a GitHub pull request.
128+
129+
The bot also includes a button that directs users to the [Update Documentation](https://github.com/Mickekofi/EyeTubeBot/blob/master/update.md) to see what’s new in each release.
130+
131+
132+
## The Structure & Flow
133+
134+
After a Successful Inicialization of a Verified Telegram API, We Implement an Error Handler funtion which prevents the bot from crushing down and exiting due to an error and specifically a **Network Connection Failure**
135+
136+
```
137+
# Retry Error Handling
138+
def retry_on_failure(func):
139+
def wrapper(*args, **kwargs):
140+
while True:
141+
try:
142+
return func(*args, **kwargs)
143+
except Exception as e:
144+
print(f"Error: {e}. Retrying in 5 seconds...")
145+
time.sleep(20)
146+
return wrapper
147+
```
148+

Documentation_For_End_User/Documentation.md

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
=<p align="center">
22
<a href="https://t.me/EyeTubeAiBot">
3-
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.png" alt="Logo" width="130">
3+
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.jpg" alt="Logo" width="130">
44
</a>
55
<a href = "https://t.me/EyeTubeAiBot">
6-
<h1 align="center"><strong>EyeTubeB👁T</strong></h1>
6+
<h1 align="center"><strong>EyeTubeBot Version(3.0.0)</strong></h1>
77
</a>
88
<p align="center">
9-
<a href="http://www.gnu.org/licenses/agpl-3.0">
10-
<img src="https://img.shields.io/badge/license-AGPL-blue.svg" alt="AGPL License">
9+
<a href="https://t.me/possibilityAI">
10+
<img src="https://img.shields.io/badge/Join-Community-blue.svg" alt="AGPL License">
1111
</a>
1212
<a href="https://wa.me/233505994829?text=*EyeTubeB👁t_From_Github_User_💬Message_:*%20">
1313
<img src="https://img.shields.io/badge/Contact-Engineers-red.svg" alt="Build Status">
@@ -17,7 +17,6 @@
1717

1818
---
1919

20-
2120
# Documentation
2221

2322
## Related Information
@@ -51,6 +50,19 @@ The Menu Tab consists of all available commands used in the bot. These Commands
5150

5251
![Menu Tab](https://github.com/Mickekofi/EyeTubeBot/blob/master/Documentation_For_End_User/show_menu.jpg)
5352

53+
54+
55+
## Image Processing
56+
57+
To Process and automate an Image
58+
59+
60+
1. ✓Paste the Image in the chat
61+
2. ✓Choose a processing button
62+
63+
![Preview](https://github.com/Mickekofi/EyeTubeBot/blob/master/tutorials2.gif)
64+
65+
5466
## ⬇️ Download 📽️ Movies / 🎬Reals from a Social Media Platform
5567

5668
To download a **Movie,Real or any Video** from a Social media Platform, follow the steps below:*
@@ -62,15 +74,19 @@ To download a **Movie,Real or any Video** from a Social media Platform, follow t
6274

6375
visit the following links to learn how to downloads from these Social platforms:
6476

65-
- [Tutorial Download from Youtube]()
77+
![Preview](https://github.com/Mickekofi/EyeTubeBot/blob/master/tutorials.gif)
6678

6779
- [Tutorial Download from Facebook]()
6880

6981
- [Tutorial Download from Instagram]()
7082

7183
- [Tutorial Download from Twitter]()
7284

73-
- [Tutorial Download from Tiktok]()
85+
- [Tutorial Download from Snapchat]()
86+
87+
88+
89+
7490

7591
## 🧲 Extract and Download 🔊Audio/music from an Uploaded Video from Youtube
7692

@@ -84,6 +100,8 @@ To download a **Music or Audio** from Youtube, follow the steps below:
84100

85101
visit the following links to learn how to downloads from Youtube:
86102

103+
![Preview](https://github.com/Mickekofi/EyeTubeBot/blob/master/tutorials3.gif)
104+
87105
- [Tutorial Download Music from Youtube]()
88106

89107

Documentation_For_End_User/EyeGaming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
21
=<p align="center">
32
<a href="https://t.me/EyeTubeAiBot">
4-
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.png" alt="Logo" width="130">
3+
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.jpg" alt="Logo" width="130">
54
</a>
65
<a href = "https://t.me/EyeTubeAiBot">
76
<h1 align="center"><strong>🏆 EyeGa🎮ing 🏆</strong></h1>
87
</a>
98
<p align="center">
10-
<a href="http://www.gnu.org/licenses/agpl-3.0">
11-
<img src="https://img.shields.io/badge/license-AGPL-blue.svg" alt="AGPL License">
9+
<a href="https://t.me/possibilityAI">
10+
<img src="https://img.shields.io/badge/Join-Community-blue.svg" alt="AGPL License">
1211
</a>
1312
<a href="https://wa.me/233505994829?text=*EyeTubeB👁t_From_Github_User_💬Message_:*%20">
1413
<img src="https://img.shields.io/badge/Contact-Engineers-red.svg" alt="Build Status">
@@ -18,6 +17,7 @@
1817

1918
---
2019

20+
2121
## ✨ The Ultimate Referral Game
2222

2323
EyeGaming is your gateway to exciting rewards, including cash prizes and free subscription plans, all for doing something simple—sharing **EyeTubeBot** with your friends. Let's take a closer look at how you can get started, earn rewards, and compete for weekly prizes!

Documentation_For_End_User/Privacy_Policy.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
=<p align="center">
22
<a href="https://t.me/EyeTubeAiBot">
3-
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.png" alt="Logo" width="130">
3+
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.jpg" alt="Logo" width="130">
44
</a>
55
<a href = "https://t.me/EyeTubeAiBot">
6-
<h1 align="center"><strong>EyeTubeB👁T</strong></h1>
6+
<h1 align="center"><strong>EyeTubeBot</strong></h1>
77
</a>
88
<p align="center">
9-
<a href="http://www.gnu.org/licenses/agpl-3.0">
10-
<img src="https://img.shields.io/badge/license-AGPL-blue.svg" alt="AGPL License">
9+
<a href="https://t.me/possibilityAI">
10+
<img src="https://img.shields.io/badge/Join-Community-blue.svg" alt="AGPL License">
1111
</a>
1212
<a href="https://wa.me/233505994829?text=*EyeTubeB👁t_From_Github_User_💬Message_:*%20">
1313
<img src="https://img.shields.io/badge/Contact-Engineers-red.svg" alt="Build Status">
@@ -16,7 +16,6 @@
1616
</p>
1717

1818
---
19-
2019
# Privacy Policy
2120

2221
At **EyeTubeBot**, we are committed to safeguarding the privacy of our users. This Privacy Policy outlines how we collect, use, and protect your personal information when you interact with the bot. Please read this policy carefully.

Documentation_For_End_User/Terms_and_Conditions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
=<p align="center">
22
<a href="https://t.me/EyeTubeAiBot">
3-
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.png" alt="Logo" width="130">
3+
<img src="https://github.com/Mickekofi/EyeTubeBot/blob/master/logo.jpg" alt="Logo" width="130">
44
</a>
55
<a href = "https://t.me/EyeTubeAiBot">
6-
<h1 align="center"><strong>EyeTubeB👁T</strong></h1>
6+
<h1 align="center"><strong>EyeTubeBot</strong></h1>
77
</a>
88
<p align="center">
9-
<a href="http://www.gnu.org/licenses/agpl-3.0">
10-
<img src="https://img.shields.io/badge/license-AGPL-blue.svg" alt="AGPL License">
9+
<a href="https://t.me/possibilityAI">
10+
<img src="https://img.shields.io/badge/Join-Community-blue.svg" alt="AGPL License">
1111
</a>
1212
<a href="https://wa.me/233505994829?text=*EyeTubeB👁t_From_Github_User_💬Message_:*%20">
1313
<img src="https://img.shields.io/badge/Contact-Engineers-red.svg" alt="Build Status">
@@ -16,7 +16,6 @@
1616
</p>
1717

1818
---
19-
2019
# Terms and Conditions
2120

2221
Welcome to **EyeTubeBot**! By accessing or using this service, you agree to comply with the terms and conditions outlined below. Please read them carefully.

0 commit comments

Comments
 (0)