Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ hook.target.host = new Set([
'music.163.com',
'interface.music.163.com',
'interface3.music.163.com',
'interfacepc.music.163.com',
'apm.music.163.com',
'apm3.music.163.com',
'interface.music.163.com.163jiasu.com',
Expand Down Expand Up @@ -169,7 +170,8 @@ hook.request.before = (ctx) => {
req.url.includes('/eapi/cloud/upload/check')
)
return; // look living/cloudupload eapi can not be decrypted
req.headers['Accept-Encoding'] = 'gzip, deflate'; // https://blog.csdn.net/u013022222/article/details/51707352
if (req.headers['sec-ch-ua'])
Comment thread
Inkarro marked this conversation as resolved.
Outdated
req.headers['Accept-Encoding'] = 'gzip, deflate'; // https://blog.csdn.net/u013022222/article/details/51707352
if (body) {
const netease = {};
netease.pad = (body.match(/%0+$/) || [''])[0];
Expand Down