1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 10:07:22 +00:00

Fixed opensubtitles.com throttling delay when download limit is reached.

This commit is contained in:
morpheus65535 2021-10-10 08:20:06 -04:00
parent 58be0cac83
commit ff8865555a

View file

@ -57,8 +57,7 @@ PROVIDER_THROTTLE_MAP = {
},
"opensubtitlescom": {
TooManyRequests : (datetime.timedelta(minutes=1), "1 minute"),
DownloadLimitExceeded: (
datetime.timedelta(hours=hours_until_end_of_day), "{} hours".format(str(hours_until_end_of_day))),
DownloadLimitExceeded: (datetime.timedelta(hours=24), "24 hours"),
},
"addic7ed" : {
DownloadLimitExceeded: (datetime.timedelta(hours=3), "3 hours"),