mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-28 02:27:28 +00:00
Fixed opensubtitles.com throttling delay when download limit is reached.
This commit is contained in:
parent
58be0cac83
commit
ff8865555a
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ PROVIDER_THROTTLE_MAP = {
|
||||||
},
|
},
|
||||||
"opensubtitlescom": {
|
"opensubtitlescom": {
|
||||||
TooManyRequests : (datetime.timedelta(minutes=1), "1 minute"),
|
TooManyRequests : (datetime.timedelta(minutes=1), "1 minute"),
|
||||||
DownloadLimitExceeded: (
|
DownloadLimitExceeded: (datetime.timedelta(hours=24), "24 hours"),
|
||||||
datetime.timedelta(hours=hours_until_end_of_day), "{} hours".format(str(hours_until_end_of_day))),
|
|
||||||
},
|
},
|
||||||
"addic7ed" : {
|
"addic7ed" : {
|
||||||
DownloadLimitExceeded: (datetime.timedelta(hours=3), "3 hours"),
|
DownloadLimitExceeded: (datetime.timedelta(hours=3), "3 hours"),
|
||||||
|
|
Loading…
Reference in a new issue