🍰 修复网易云海外解析

This commit is contained in:
metowolf 2018-03-04 00:04:00 +08:00
parent 45c5ccf9e9
commit 8d998e0af7
2 changed files with 4 additions and 1 deletions

View File

@ -117,6 +117,9 @@ class Meting_Action extends Typecho_Widget implements Widget_Interface_Do
if (empty($url)) {
$url = 'https://coding.meting.api.i-meto.com/empty.mp3';
if ($server == 'netease') {
$url = 'https://music.163.com/song/media/outer/url?id='.$id.'.mp3';
}
}
$this->response->redirect($url);
} else {

View File

@ -1,4 +1,4 @@
d24850b859783a802983fd26f10535f333db2810115e5bfc7bee416641132cbe ./Action.php
87a137ef2b47308dc5815e173041b7f3afa02981d3ee1f6cd8fc5d3c1af7c71c ./Action.php
aa3c0deef2f5b5524f9e7cbd1809d14d51e0a5eae8f21e183483c84c28b86e46 ./assets/APlayer.min.js
6c1db3ae0b983df3e9395aa133875e64c7cb6321064c982d507fa7d82f7258f3 ./assets/editer.js
05394bccf0b72f8a57bdefc2dc7da1da38d6ebcf39b97185a89c359f9827a556 ./assets/Meting.min.js