You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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
|