mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-04-21 03:07:37 +08:00
feat: 知乎支持(关键词、评论)
This commit is contained in:
12
media_platform/zhihu/exception.py
Normal file
12
media_platform/zhihu/exception.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from httpx import RequestError
|
||||
|
||||
|
||||
class DataFetchError(RequestError):
|
||||
"""something error when fetch"""
|
||||
|
||||
|
||||
class IPBlockError(RequestError):
|
||||
"""fetch so fast that the server block us ip"""
|
||||
|
||||
class ForbiddenError(RequestError):
|
||||
"""Forbidden"""
|
||||
Reference in New Issue
Block a user