mirror of https://github.com/morpheus65535/bazarr
when download limit reached, throttle wait until next day
This commit is contained in:
parent
21f80d2f76
commit
963ae3354a
|
@ -52,7 +52,7 @@ PROVIDER_THROTTLE_MAP = {
|
|||
},
|
||||
"legendasdivx": {
|
||||
TooManyRequests: (datetime.timedelta(hours=3), "3 hours"),
|
||||
DownloadLimitExceeded: (datetime.timedelta(hours=6), "6 hours"),
|
||||
DownloadLimitExceeded: (datetime.timedelta(hours=hours_until_end_of_day), "{} hours".format(str(hours_until_end_of_day))),
|
||||
IPAddressBlocked: (datetime.timedelta(hours=hours_until_end_of_day), "{} hours".format(str(hours_until_end_of_day))),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue