mirror of
https://github.com/tgbot-collection/ytdlbot.git
synced 2025-02-24 23:34:44 +08:00
300 duration by default
This commit is contained in:
parent
7615344169
commit
33fca860ec
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ Websites [supported by youtube-dl](https://ytdl-org.github.io/youtube-dl/support
|
|||
|
||||
I don't have unlimited servers and bandwidth, so I have to make some restrictions.
|
||||
* 10 GiB one-way traffic per 24 hours for each user
|
||||
* maximum 10 minutes streaming conversion support
|
||||
* maximum 5 minutes streaming conversion support
|
||||
|
||||
You can choose to become 'VIP' if you really need large traffic. And also, you could always deploy your own bot.
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ MULTIPLY = os.getenv("MULTIPLY", 5) # VIP1 is 5*5-25G, VIP2 is 50G
|
|||
USD2CNY = os.getenv("USD2CNY", 6) # $5 --> ¥30
|
||||
|
||||
ENABLE_VIP = os.getenv("VIP", False)
|
||||
MAX_DURATION = int(os.getenv("MAX_DURATION", 600))
|
||||
MAX_DURATION = int(os.getenv("MAX_DURATION", 300))
|
||||
AFD_LINK = os.getenv("AFD_LINK", "https://afdian.net/@BennyThink")
|
||||
COFFEE_LINK = os.getenv("COFFEE_LINK", "https://www.buymeacoffee.com/bennythink")
|
||||
COFFEE_TOKEN = os.getenv("COFFEE_TOKEN")
|
||||
|
|
|
@ -26,7 +26,7 @@ class BotText:
|
|||
In order to avoid being abused,
|
||||
every one can use this bot within **{sizeof_fmt(QUOTA)} of quota for every {int(EX / 3600)} hours.**
|
||||
|
||||
3. Free users can't receive streaming formats of one video whose duration is longer than 600 seconds.
|
||||
3. Free users can't receive streaming formats of one video whose duration is longer than 300 seconds.
|
||||
|
||||
4. You can optionally choose to become 'VIP' user if you need more traffic. Type /vip for more information.
|
||||
|
||||
|
|
Loading…
Reference in a new issue