Commit Graph

3 Commits

Author SHA1 Message Date
进栈检票
adc91cc4f3
feat(core): connect to danmaku server with buvid3 from cookie & refactor HttpApiClient (#507)
* feat(core): connect to danmaku server with buvid3

* make buvid3 nullable & add json serializer setting

* fix test

* fix regex & make regex static

* remove anonHttpClient

* remove MainHttpClient

* split FetchAsTextAsync

* GetAnonymousCookieAsync

* use template string in TestCookieAsync

* fix test

* background get anonymous cookie

* make jsonSerializerSettings static

* fix uid parse logic

* fix buvid match

* remove GetAnonCookie

* restore merge typo

* fix comment

* rename ICookieTester
2023-07-16 08:01:50 +00:00
进栈检票
324c41ab1d
feat(core): connect to danmaku server with account credentials (#498)
* danmaku: get svr with ck & conn with uid from ck

* apply code chagnes for pr

* fix bug and add description in advanced settings

* fix test

---------

Co-authored-by: genteure <genteure@gmail.com>
2023-07-04 00:34:11 +00:00
genteure
730bc9a4d1 Core: Change visibility of most types to internal 2022-05-16 23:28:31 +08:00