forked from rexcloud1/Zee5-Downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.py
65 lines (31 loc) · 2.16 KB
/
script.py
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
class script(object):
START_TEXT = """<b>Hai ,
I'm A simple Zee5 link downloader bot With Permanent Thumbnail Support💯.
Please send me any Zee5 link, I can upload it to telegram as File/Video.
Currently I'm in beta mode 🥺, If found any bugs, report @TroJanzSupport !
Click <i>/help</i> for more details....</b>"""
HELP_USER = """<b>Hai, Follow these steps..</b>
1. Send Custom Thumbnail (It will be saved permenantly!)
2. Send your zee5 url and select desired option.
NOTE: Download may take some time! So please wait for it to complete!"""
ABOUT_TEXT = """⭕️<b>My Name : TroJanZ Zee5 DL</b>
⭕️<b>Creater :</b> @TroJanzHEX
⭕️<b>Language :</b> <code>Python3</code>
⭕️<b>Library :</b> <a href='https://docs.pyrogram.org/'>Pyrogram 1.0.7</a>
⭕️<b>Source Code :</b> 👉 <a href='https://github.com/TroJanzHEX/Zee5-Downloader'>Click Here</a>"""
FORMAT_SELECTION = """<b>Choose appropriate option</b> <a href='{}'>⬇️</a>
🎞 - Stream format
📁 - File format
<i>NOTE : Taking high resolutions may result in files above 2GB and hence cannot Upload to TG. So better select a medium resolution.</i> 😇
"""
UPGRADE_TEXT = "PING at @contactHEXbot"
DOWNLOAD_START = "Trying to download to my server. This may take a while 😴"
UPLOAD_START = "Uploading Now ⬆️"
RCHD_TG_API_LIMIT = "Downloaded in {} seconds.\nDetected File Size: {}\nSorry. But, I cannot upload files greater than 1.95GB due to Telegram API limitations."
AFTER_SUCCESSFUL_UPLOAD_MSG_WITH_TS = "**Thank you for Using Meh!! ❤️**"
SAVED_CUSTOM_THUMB_NAIL = "<b>✅Custom thumbnail Saved.\nThis thumbnail will be Permanent for all future uploads\n\nDo /delthumb to clear your thumbnail!</b>"
DEL_ETED_CUSTOM_THUMB_NAIL = "✅ Custom Thumbnail cleared succesfully."
SHOW_THUMB = "@TroJanzHEX\n\nUse /delthumb to clear this thumbnail."
NO_THUMB = "SED😕 No saved thumbnails Found!!"
CUSTOM_CAPTION_UL_FILE = "<b>{newname}\n\n©️ @TroJanzHEX</b>"
TIMEOUT = "<b><i>Sorry for the delay. It'll help reduce the flood wait</i> 😇\n\nWait for {} sec and try again.</b>"