Skip to content

Commit

Permalink
修复kw
Browse files Browse the repository at this point in the history
  • Loading branch information
yhsj0919 committed Jul 18, 2023
1 parent 8d8ae29 commit a9d5418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/kuwo/kuwo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ Future<Answer> _get(String path, {Map<String, dynamic>? params, List<Cookie> coo
Map<String, String> header = {
// "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36 Edg/96.0.1054.43",
"csrf": "SQ6EJ3Q5G6B",
"Token": "7865309485D199575C04186AFF58C46D",
"cookie": "Hm_token=$hm_token;kw_token=${getRandom(11)};$key=$hm_Iuvt",
"Token": "A46743B8D3B49FCF7D0F103ED9888B2A",
"cookie": "Hm_token=$hm_token;kw_token=${getRandom(11)};$key=$hm_Iuvt;BAIDU_RANDOM=GRTX6MWmzEJtSRaKTzbhfsdzQ76ycssM",
"Cross": md5.convert(utf8.encode(token_sha1)).toString(),
"Secret": KuwoDES.secret(key, hm_Iuvt),
"Referer": "http://www.kuwo.cn/",
Expand Down

0 comments on commit a9d5418

Please sign in to comment.