Skip to content

Commit

Permalink
Merge pull request #8 from fanzai0403/master
Browse files Browse the repository at this point in the history
search without auth token
  • Loading branch information
LudySu authored Nov 13, 2021
2 parents fbcbd5b + 3bf9a6e commit a4dec66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netease.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private static function search($word) {

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "http://music.163.com/api/search/pc",
CURLOPT_URL => "http://music.163.com/api/search/get/web",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query($params),
Expand Down

0 comments on commit a4dec66

Please sign in to comment.