MediaCrawler/media_platform/douyin/exception.py

10 lines
194 B
Python
Raw Normal View History

2023-06-25 13:05:30 +00:00
from httpx import RequestError
class DataFetchError(RequestError):
"""something error when fetch"""
class IPBlockError(RequestError):
"""fetch so fast that the server block us ip"""