mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-05 21:58:56 +08:00
Linux 的 UA 改回原来的版本
在 Deepin 下测试 1.2.0(0408) UA 是 Chrome 60 ,并不会跟着系统版本更新。
This commit is contained in:
parent
1e4a90f19a
commit
44e0ac4182
@ -74,7 +74,7 @@ const createRequest = (method, url, data, options) => {
|
||||
params: data
|
||||
})
|
||||
headers['User-Agent'] =
|
||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36'
|
||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36'
|
||||
url = 'https://music.163.com/api/linux/forward'
|
||||
} else if (options.crypto === 'eapi') {
|
||||
const cookie = options.cookie || {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user