Skip to content

Commit

Permalink
fixed a bug in Taobao search suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
zqzten committed Sep 9, 2017
1 parent 2b0cdf0 commit e7230a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ require_once('moegirlpedia.php');</string>
<string>proxy_address</string>
</array>
<key>version</key>
<string>1.4</string>
<string>1.5</string>
<key>webaddress</key>
<string>https://github.com/AkikoZ/alfred-web-search-suggest</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion src/taobao.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

$wf = new Workflow;

$response = request('https://suggest.taobao.com/sug?q='.urlencode($query));
$response = request('https://suggest.taobao.com/sug?code=utf-8&q='.urlencode($query));
$json = json_decode($response);
$result = $json->result;

Expand Down

0 comments on commit e7230a1

Please sign in to comment.