Commit Graph

74 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
genteure
b5e6bec0ea misc: fix test 2023-07-10 21:48:56 +08:00
genteure
8a81450d80 feat(core): add onDanmakuHandshake userscript event 2023-07-06 06:43:18 +08: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
3b83a16bc7 misc(core): fix things 2023-02-01 21:05:04 +08:00
genteure
2d1bd8fed8 misc: update dependencies 2023-01-14 23:00:40 +08:00
genteure
6ff022fa05 fix test again 2022-11-23 23:43:10 +08:00
genteure
958f2472d3 fix test 2022-11-23 23:39:25 +08:00
genteure
a9a2a18f25 update dependencies 2022-11-06 12:24:00 +08:00
genteure
cba13415aa test(flv): add new test case
ref: ca17ee15f3
2022-08-29 18:02:44 +08:00
genteure
ab07adbdb1 fix: test 2022-08-27 18:09:33 +08:00
genteure
b267d6493b fix: bug in last commit f232a75
ref: #388
2022-08-27 17:12:31 +08:00
genteure
616efe40c9 feat: add "partIndex" file name template variable
close #114 #360
2022-08-27 16:51:13 +08:00
genteure
4717b6038a chore: update dependencies, update wpf sentry dsn 2022-08-26 16:11:32 +08:00
genteure
351837c6b4 fix: test 2022-08-25 19:30:04 +08:00
genteure
ba57f0cc21 fix: test 2022-08-25 18:48:25 +08:00
genteure
376d37ffce Update FLV tests 2022-07-30 20:16:47 +08:00
genteure
f9f0dec794 FLV: Disconnect stream when continuous duplicated data is detected 2022-07-24 21:50:15 +08:00
genteure
fae7000d05 FLV: Experiment with UpdateTimestampOffsetRule disabled 2022-07-21 00:20:06 +08:00
genteure
e66d0a7c3c Fix tests 2022-06-29 19:48:19 +08:00
genteure
0b8cf27ce9 Core: Refactor file name templateing 2022-06-28 16:10:06 +08:00
genteure
232eb1af5b Add new option FlvProcessorSplitOnScriptTag 2022-06-25 17:31:21 +08:00
genteure
8aa53b5b30 Add test for FfmpegDetectionRule 2022-06-24 22:36:41 +08:00
genteure
d0c7863c9d Fix FFmpeg detection rule 2022-06-24 21:29:16 +08:00
genteure
fe527e7bc9 FLV: Refactor text log accompanying recording files 2022-06-24 21:29:16 +08:00
genteure
46cde4896c FLV: Refactor ProcessingComment 2022-06-24 21:29:16 +08:00
genteure
97154b5716 Skip tests 2022-06-24 21:29:16 +08:00
genteure
4bcd36a7d0 FLV: Disable creating new file when recevied onMetaData 2022-06-24 21:29:16 +08:00
genteure
042657be3e fix tests 2022-06-09 15:55:36 +08:00
genteure
e01d12c36a Update dependencies 2022-06-07 22:41:09 +08:00
genteure
250a315233 Move flv test data and expectations to a dedicated git repisitory. 2022-06-07 19:51:09 +08:00
genteure
1cebee7c0e FLV: Detect duplicated data by using hashes
TODO: fix test data
2022-05-28 13:55:43 +08:00
genteure
65a0560b50 Fix test 2022-05-18 00:32:10 +08:00
genteure
34ba4ded08 Add more webhook types
Added StreamStarted and StreamEnded
Close #269
2022-05-17 18:08:53 +08:00
genteure
a993fca683 Fix bug introduced in 730bc9a
730bc9a4d1
2022-05-17 15:14:45 +08:00
genteure
9ef3be0686 Update dependencies 2022-05-17 01:50:09 +08:00
genteure
4ded913bc2 Fix build warnings 2022-05-17 00:53:37 +08:00
genteure
d29471406b Update config parser tests 2022-05-17 00:36:54 +08:00
genteure
34bf5c31f5 FLV: Verify has no public api change 2022-05-16 23:36:30 +08:00
genteure
730bc9a4d1 Core: Change visibility of most types to internal 2022-05-16 23:28:31 +08:00
genteure
20c7a1efb0 Core: Use Fluid.Core to generate file names 2022-04-03 19:32:43 +08:00
genteure
30a659f4d2 Update to .NET 6 2022-04-02 18:49:23 +08:00
genteure
5db36548f8 Update dependencies 2021-11-30 19:45:15 +08:00
genteure
2151393a77 FLV: Add more test samples 2021-11-20 15:15:08 +08:00
genteure
ccdba838f8 Toolbox: Add data hashes to exported xml.gz 2021-11-20 13:19:23 +08:00
genteure
c9419bfa0a FLV: Merge and clean up flv test projects 2021-11-13 02:01:03 +08:00
Genteure
0c8b3f9999 Fix tests by removing file copy 2021-11-02 23:04:12 +08:00
Genteure
58a6c7f94e Fix test data path 2021-11-02 22:45:21 +08:00
Genteure
2b847c0662 Refactor FLV processing rule test 2021-11-02 21:46:44 +08:00
Genteure
f2fbf18e3c Update packages 2021-07-16 18:25:26 +08:00