自定義API
......
case '中超':
//載入庫文件
include('simple_html_dom.php');
$html = file_get_html('http://www.zhiboba.cn/')//中超div id
//讀取文本
$contentStr = $res->plaintext;
//刪除空格
$contentStr = trim($contentStr);
$resultStr = sprintf($newsTpl,$fromUsername,$toUsername,$time.$contentStr);
echo $resultStr;
break;
......