mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-03-21 03:27:31 +08:00
feat: B站爬虫签名实现
This commit is contained in:
14
media_platform/bilibili/exception.py
Normal file
14
media_platform/bilibili/exception.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- 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"""
|
||||
Reference in New Issue
Block a user