Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/bazarr/src/commit/b2d807d9d9fb98c7cdf79e5452201589e1bb9198/custom_libs/subliminal_patch/exceptions.py You should set ROOT_URL correctly, otherwise the web may not work correctly.
bazarr/custom_libs/subliminal_patch/exceptions.py

40 lines
839 B

# coding=utf-8
from __future__ import absolute_import
from subliminal import ProviderError
class TooManyRequests(ProviderError):
"""Exception raised by providers when too many requests are made."""
pass
class APIThrottled(ProviderError):
pass
class ParseResponseError(ProviderError):
"""Exception raised by providers when they are not able to parse the response."""
pass
class IPAddressBlocked(ProviderError):
"""Exception raised when providers block requests from IP Address."""
pass
class SearchLimitReached(ProviderError):
"""Exception raised when maximum searches for a provider have been reached."""
pass
class MustGetBlacklisted(ProviderError):
def __init__(self, id: str, media_type: str):
super().__init__()
self.id = id
self.media_type = media_type