Spaces:
Running
Running
File size: 349 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 NeteaseConstants
class NetRequest(BaseNetClient):
def __init__(self):
super().__init__(
headers=NeteaseConstants.DEFAULT_HEADERS,
cookies=Cookies({k: v.value for k, v in NeteaseConstants.COOKIES.items()}),
)
|