Commit Graph

18 Commits

Author SHA1 Message Date
338f5367a0
🐛 Fix starrail challenge model 2023-12-30 10:01:36 +08:00
洛水居室
9dd8b98f7c
🚚 Remove enums 2023-12-27 15:09:24 +08:00
b29ecf51fa
♻️ Refactor device property to func 2023-07-18 20:13:07 +08:00
omg-xtao
e66746da23
Support hoyolab auth methods 2023-07-18 14:31:06 +08:00
luoshuijs
0354fe7aa5
🎨 Improve the Cookie class to allow it to accept more types of parameters 2023-06-24 19:30:54 +08:00
omg-xtao
0161ec695c
Add custom device header 2023-06-24 02:45:26 +08:00
洛水居室
15c7228e2c
🎨 Add URLTypes 2023-06-12 10:59:36 +08:00
omg-xtao
fc2faa805f
🐛 Fix RegionNotSupported Error 2023-06-11 22:19:20 +08:00
omg-xtao
9aaaec2d88
Add more starrail func 2023-06-09 22:55:51 +08:00
luoshuijs
f6cf65ba2e
Add device fingerprint 2023-06-09 09:30:56 +08:00
842ad515cd
🐛 fix starrail wish model 2023-05-26 22:32:08 +08:00
luoshuijs
7671198c0c
BaseClient supports parsing cookies in str format
Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-05-17 16:07:11 +08:00
洛水居室
b74b9aef33
Refactor BaseClient class and add cookie property accessor
Added a `cookies` property accessor to the `BaseClient` class, which retrieves cookies from the `httpx` AsyncClient object and returns a `simnet.client.cookies.Cookies` object (which is a custom implementation of the `httpx.Cookies` class). Additionally, the initialization function was refactored to better support using cookies. Now, if `account_id` is not passed in, it will be retrieved from the cookies.
2023-05-09 15:19:36 +08:00
洛水居室
4250481727
🐛 Fix issues and improve functionality
- Fix issue with Daily Reward Client not running
- Update Wish Client to support multiple banner retrieval
- Fix issue with setting salt for dynamic secret
- Improve APIModel to support multiple aliases
- Add asyncio.sleep() to Wish paginator to prevent excessive requests

Co-authored-by: xtaodada <xtao@xtaolink.cn>
2023-05-08 08:56:24 +08:00
洛水居室
10a1a22f68
Add Daily Reward Client 2023-05-05 22:15:40 +08:00
洛水居室
14b107b5a1
🎨 Organize client subdirectories and add __all__ variable
Moves all subdirectories from 'simnet/client' to 'simnet/client/components' and adds the `__all__` variable to all affected files.

This change is intended to improve code organization and make it easier to manage exported symbols from these modules.
2023-05-05 20:04:41 +08:00
洛水居室
4291309aba
Add timeout configuration for the BaseClient 2023-05-02 01:02:53 +08:00
洛水居室
90ee5725e0
Add Base Client 2023-05-02 01:02:52 +08:00