Spaces:
Runtime error
Runtime error
File size: 363 Bytes
0a1b571 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from httpx import Cookies
from hibiapi.utils.net import BaseNetClient
from .constants import BilibiliConstants
class NetRequest(BaseNetClient):
def __init__(self):
super().__init__(
headers={"user-agent": BilibiliConstants.USER_AGENT},
cookies=Cookies({k: v.value for k, v in BilibiliConstants.COOKIES.items()}),
)
|