You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Wait for the bot to process the URL and respond.
126
126
127
127
### Supported platforms by default:
128
-
```bash
128
+
```
129
129
instagram reels
130
130
tiktok
131
131
reddit
132
132
x.com
133
133
youtube shorts
134
134
```
135
135
136
-
### Additionaly bot can download videos from other sources (for example youtube). Usually videos shorter than 10 minutes works fine. Telegram limitation is 50MB for a video.
137
-
- To download full video from youtube add two asterisk before the url address.
136
+
### Additionally, the bot can download videos from other sources (for example YouTube)—usually, videos shorter than 10 minutes work fine. Telegram limitation is 50MB for a video.
137
+
- To download the full video from YouTube add two asterisks before the url address.
138
138
Example:
139
-
```bash
139
+
```
140
140
**https://www.youtube.com/watch?v=rxdu3whDVSM or with a space ** https://www.youtube.com/watch?v=rxdu3whDVSM
141
141
```
142
142
- Full list of supported sites here: [yt-dlp Supported Sites](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)
143
+
144
+
### The bot can use 'Safelist' to restrict access for users or groups.
145
+
- Make sure you have these variables in your `.env` file either not set or with ids.
146
+
- You can get your `chat_id` or `user_id` by setting `LIMIT_BOT_ACCESS=True` first, send a link and the bot will answer you with the IDs.
147
+
- Group Chat has more priority. All users in the Group Chat can use the bot but have no access to the bot privately.
148
+
- When `LIMIT_BOT_ACCESS=True` to use the bot in private messages add the user's ID to the `ALLOWED_USERNAMES` variable.
149
+
- If you want a bot in your Group Chat with restrictions, leave `ALLOWED_CHAT_IDS` empty and define the `ALLOWED_USERNAMES` variable list.
150
+
```
151
+
LIMIT_BOT_ACCESS=False --- If True, the bot will only work for users in ALLOWED_USERNAMES or ALLOWED_CHAT_IDS
152
+
ALLOWED_USERNAMES= --- list of allowed usernames as strings separated by commas
153
+
ALLOWED_CHAT_IDS= --- list of allowed chat IDs as strings separated by commas
0 commit comments