-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv_example
34 lines (30 loc) · 1.15 KB
/
env_example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
# Copy this file to '.env' and set your values
# Mandatory
TOKEN="" # Get it from BotFather t.me/BotFather
# Optional
#LOG_CHANNEL="-100xxxxxxxxxx" # If you want notifications about some errors in a channel
#TEMPDIR="/tmp/ytdlp-telebot" # Temporary path to download videos into
#REGEX='\bhttps?://\S*\b' # Regex to identify possible links
#PROXY="192.168.0.1:8080" # Proxy for yt-dlp to download through
# - Separate video+audio, up to 1280x720 or vertical 720x1280
# - Single file, same resolution
# - Anything that's available of lower resolution
# - And all the same things in case the site does not expose sizes properly
#FORMATS="
# ba + bv[width>=800][height<=800][filesize<50M]
#/ba + bv[width<=800][height>=800][filesize<50M]
#/ best[width>=800][height<=800][filesize<50M]
#/ best[width<=800][height>=800][filesize<50M]
#
#/ba + bv[width<=800][height<=800][filesize<50M]
#/ best[width<=800][height<=800][filesize<50M]
#
#/ba + bv[width>=800][height<=800]
#/ba + bv[width<=800][height>=800]
#/ best[width>=800][height<=800]
#/ best[width<=800][height>=800]
#
#/ba + bv[width<=800][height<=800]
#/ best[width<=800][height<=800]
#"