Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
anasty17
GitHub Repository: anasty17/mirror-leech-telegram-bot
Path: blob/master/config_sample.py
1619 views
1
# REQUIRED CONFIG
2
BOT_TOKEN = ""
3
OWNER_ID = 0
4
TELEGRAM_API = 0
5
TELEGRAM_HASH = ""
6
# OPTIONAL CONFIG
7
TG_PROXY = {}
8
USER_SESSION_STRING = ""
9
CMD_SUFFIX = ""
10
AUTHORIZED_CHATS = ""
11
SUDO_USERS = ""
12
DATABASE_URL = ""
13
DATABASE_NAME = "mltb"
14
STATUS_LIMIT = 4
15
DEFAULT_UPLOAD = "rc"
16
STATUS_UPDATE_INTERVAL = 15
17
FILELION_API = ""
18
STREAMWISH_API = ""
19
EXCLUDED_EXTENSIONS = ""
20
INCLUDED_EXTENSIONS = ""
21
INCOMPLETE_TASK_NOTIFIER = False
22
YT_DLP_OPTIONS = ""
23
USE_SERVICE_ACCOUNTS = False
24
NAME_SUBSTITUTE = r""
25
FFMPEG_CMDS = {}
26
UPLOAD_PATHS = {}
27
# GDrive Tools
28
GDRIVE_ID = ""
29
IS_TEAM_DRIVE = False
30
STOP_DUPLICATE = False
31
INDEX_URL = ""
32
# Rclone
33
RCLONE_PATH = ""
34
RCLONE_FLAGS = ""
35
RCLONE_SERVE_URL = ""
36
RCLONE_SERVE_PORT = 0
37
RCLONE_SERVE_USER = ""
38
RCLONE_SERVE_PASS = ""
39
# JDownloader
40
JD_EMAIL = ""
41
JD_PASS = ""
42
# Sabnzbd
43
USENET_SERVERS = [
44
{
45
"name": "main",
46
"host": "",
47
"port": 563,
48
"timeout": 60,
49
"username": "",
50
"password": "",
51
"connections": 8,
52
"ssl": 1,
53
"ssl_verify": 2,
54
"ssl_ciphers": "",
55
"enable": 1,
56
"required": 0,
57
"optional": 0,
58
"retention": 0,
59
"send_group": 0,
60
"priority": 0,
61
}
62
]
63
# Nzb search
64
HYDRA_IP = ""
65
HYDRA_API_KEY = ""
66
# Update
67
UPSTREAM_REPO = ""
68
UPSTREAM_BRANCH = "master"
69
# Leech
70
LEECH_SPLIT_SIZE = 0
71
AS_DOCUMENT = False
72
EQUAL_SPLITS = False
73
MEDIA_GROUP = False
74
USER_TRANSMISSION = False
75
HYBRID_LEECH = False
76
LEECH_FILENAME_PREFIX = ""
77
LEECH_DUMP_CHAT = ""
78
THUMBNAIL_LAYOUT = ""
79
# qBittorrent/Aria2c
80
TORRENT_TIMEOUT = 0
81
BASE_URL = ""
82
BASE_URL_PORT = 0
83
WEB_PINCODE = False
84
# Queueing system
85
QUEUE_ALL = 0
86
QUEUE_DOWNLOAD = 0
87
QUEUE_UPLOAD = 0
88
# RSS
89
RSS_DELAY = 600
90
RSS_CHAT = ""
91
RSS_SIZE_LIMIT = 0
92
# Torrent Search
93
SEARCH_API_LINK = ""
94
SEARCH_LIMIT = 0
95
SEARCH_PLUGINS = [
96
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/piratebay.py",
97
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/limetorrents.py",
98
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torlock.py",
99
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torrentscsv.py",
100
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/eztv.py",
101
"https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/torrentproject.py",
102
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/kickass_torrent.py",
103
"https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engines/master/yts_am.py",
104
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/linuxtracker.py",
105
"https://raw.githubusercontent.com/MadeOfMagicAndWires/qBit-plugins/master/engines/nyaasi.py",
106
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/ettv.py",
107
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/glotorrents.py",
108
"https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/thepiratebay.py",
109
"https://raw.githubusercontent.com/v1k45/1337x-qBittorrent-search-plugin/master/leetx.py",
110
"https://raw.githubusercontent.com/nindogo/qbtSearchScripts/master/magnetdl.py",
111
"https://raw.githubusercontent.com/msagca/qbittorrent_plugins/main/uniondht.py",
112
"https://raw.githubusercontent.com/khensolomon/leyts/master/yts.py",
113
]
114
115