I understand that PipePipe 5 is coming soon, and this repo would be deprecated.
However, until the stable PipePipe 5 is released, which appears to be quite some time away, maintaining legacy version may be unavoidable.
So here is a bug(s) fix for maintenance.
In this PR:
- Fix a defect in
requestUserSpaceResponse(), causing infinite trying instead of switching API when meeting a unknown error code;
- Fix user space videos (BiliBili channel videos) Client API returning -4001 , since it requires AppSign2 query parameter signature validation now;
- Add user space videos Search API3 , which has less rick controls;
- Clean up code.
<h3><b>I understand that PipePipe 5 is coming soon, and this repo would be deprecated. </b></h3>
However, until the stable PipePipe 5 is released, which appears to be _quite some time away_, **maintaining legacy version _may_ be unavoidable**.
So here is a bug(s) fix for **maintenance**.
In this PR:
- Fix a defect in `requestUserSpaceResponse()`, causing **infinite trying** instead of switching API when meeting a unknown error code;
- Fix user space videos (BiliBili channel videos) **Client API** returning -400[^issue], since it requires AppSign[^as] query parameter signature validation now;
- Add user space videos **Search API**[^sapi], which has less rick controls;
- Clean up code.
[^issue]: See [bilibili-API-collect#1410](https://github.com/SocialSisterYi/bilibili-API-collect/issues/1410)
[^as]: See document [AppSign](https://github.com/SocialSisterYi/bilibili-API-collect/blob/60a0c5d1a2f44fe61335da04571305fa7727a968/docs/misc/sign/APP.md)
[^sapi]: See document [SearchAPI](https://github.com/SocialSisterYi/bilibili-API-collect/blob/60a0c5d1a2f44fe61335da04571305fa7727a968/docs/video/collection.md#%E6%A0%B9%E6%8D%AE%E5%85%B3%E9%94%AE%E8%AF%8D%E6%9F%A5%E6%89%BE%E8%A7%86%E9%A2%91)