feat: B站爬虫签名实现

This commit is contained in:
Relakkes
2023-12-03 00:30:10 +08:00
parent 5c920da288
commit 5aeee93fc5
8 changed files with 345 additions and 12 deletions

View 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"""