mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-01-19 21:43:32 +08:00
15 lines
293 B
Python
15 lines
293 B
Python
# -*- coding: utf-8 -*-
|
|
# @Author : relakkes@gmail.com
|
|
# @Time : 2023/12/2 18:44
|
|
# @Desc :
|
|
|
|
from httpx import RequestError
|
|
|
|
|
|
class DataFetchError(RequestError):
|
|
"""something error when fetch"""
|
|
|
|
|
|
class IPBlockError(RequestError):
|
|
"""fetch so fast that the server block us ip"""
|