mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-01-19 13:33:27 +08:00
10 lines
194 B
Python
10 lines
194 B
Python
from httpx import RequestError
|
|
|
|
|
|
class DataFetchError(RequestError):
|
|
"""something error when fetch"""
|
|
|
|
|
|
class IPBlockError(RequestError):
|
|
"""fetch so fast that the server block us ip"""
|