Commit Graph
10 Commits
Author SHA1 Message Date
Curly Brackets 17fb3282cb fix(route): Anti-Anti-Spider 哔哩哔哩,更新 cookie 处理机制 (#12513)
* fix(route): Anti-Anti-Spider 哔哩哔哩,更新 cookie 处理机制

* fix(route): Bilibili use cookieJar to get cookies

* fix(route): Anti-Anti-Spider 哔哩哔哩,请求所有视频时区分UA

拉取所有视频需要大量请求分页接口容易被限,修改 User Agent 来跳过标定

* fix(route): remove cookieJar since it is not used in other got requests
2023-05-16 02:28:48 +08:00
Night Space 34fd1aa094 feat(route): call api with a validation code (#12367)
modify the params of api
the behavior of validation code generator is more like a browser
2023-04-22 03:04:13 +08:00
Curly Brackets 8dd0314cd4 fix(bilibili): fix user/video error, update account info api (#12361) 2023-04-21 09:55:15 -02:00
github-actions[bot] 06fa029b6c style: auto format 2022-12-26 04:25:15 +00:00
cyx20080216 9cf71fc7a6 feat(route): 添加对哔哩哔哩新接口和校验信息的支持 (#11480)
* feat(route): support verify info for bilibili

* feat(route): add verify info when request

* fix(route): fix the format

Signed-off-by: cyx20080216 <cyx20080216@outlook.com>

* fix(route): fix the error when lint

* fix(route): get verify string from bilibili when it was called

* fix(route): use a simple way to calculate w_rid

* fix(route): get img_url and sub_url from api

* fix(route): get the url of js from space page

* fix(route): add referer

* fix(route): add canonical name

* fix(route): remove unnecessary action

* Update lib/v2/bilibili/utils.js

Signed-off-by: cyx20080216 <cyx20080216@outlook.com>
2022-12-26 15:23:32 +11:00
github-actions[bot] 5f157b02a1 style: auto format 2022-09-28 14:13:46 +00:00
cyx20080216andcyx20080216 6fdd85e0fe fix(route): Anti-Anti-Spider 哔哩哔哩 (#10886)
* fix(route): Anti-Anti-Reptilian 哔哩哔哩

* fix(route): Anti-Anti-Reptilian 哔哩哔哩

* fix(route): Remove debugging statement

* fix(route): Comply with code specifications by adding a semicolon.

* fix(route): Resolve the requested changes
Use normative key
Use cache.tryGet
Use more simplified got request
Remove unnecessary template
Use default UA

* fix(route): Remove unnecessary await

* fix(route): Use simplified got request.

* fix(route): Use default UA

* fix(route): Remove unnecessary require

Co-authored-by: cyx20080216 <cyx20080216@qq.com>
2022-09-28 22:11:07 +08:00
Woshiluo Luo e8a4d65a41 fix(route): add referer for bilibili userinfo (#10827)
* fix(route): add referer for bilibili userinfo

* refactor: use cache.tryGet
2022-09-19 19:11:08 +08:00
Bin Wang 6b3d21438e feat(route): add icon and logo to Bilibili atom feed (#9353)
Fetch Bilibili user avatar and use it as icon and logo for atom feed
2022-03-22 00:06:35 +08:00
Jigsaw 01146e3e6f feat(route): add bilibili online list (#9308)
* feat(route): add bilibili online list

* fix(route): bilibili online list

* fix(route): bilibili online list

* refactor: migrate to v2
2022-03-12 17:09:28 +08:00