Skip to content

Commit

Permalink
Merge pull request #330 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: default UA
  • Loading branch information
lovegaoshi authored Mar 3, 2024
2 parents a0d2ec8 + 5cab027 commit fbf4f20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/docs/usage-tutorial/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ sidebar_position: 1
12. 油管播放列表:https://www.youtube.com/playlist?list=PL-mVqujjjwGjZu3wli3iOh0FBdSU6tsNO
13. 油管 mix 列表:
14. [MusicFreePlugins](https://github.com/maotoumao/MusicFreePlugins)支持的拓展
15. b23.tv: b23.tv/
16. b站番剧: https://www.bilibili.com/bangumi/play/ep813990
17. b站音頻歌单: https://www.bilibili.com/audio/mycollection/33443222
18. b站音頻歌单: https://www.bilibili.com/audio/similarsongs/3680653
19. b站音頻歌单: https://www.bilibili.com/audio/am10624

## 網站搜索

支援b站、y站、本地音樂(僅android)和musicfree(偷來的);按左邊的按鈕選擇

## 把搜索的歌新建为歌单

Expand Down
2 changes: 1 addition & 1 deletion src/utils/BiliFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import Bottleneck from 'bottleneck';

export const DEFAULT_UA =
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46';
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0';

export const parseBodyParams = (body: any) => {
const formBody = [];
Expand Down

0 comments on commit fbf4f20

Please sign in to comment.