{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"README.md","path":"README.md","contentType":"file"},{"name":"call_node.php","path":"call_node.php","contentType":"file"},{"name":"nodempg.js","path":"nodempg.js","contentType":"file"},{"name":"xmu.php","path":"xmu.php","contentType":"file"}],"totalCount":4}},"fileTreeProcessingTime":25.883238,"foldersToFetch":[],"repo":{"id":49768315,"defaultBranch":"master","name":"node_mpg123_pi","ownerLogin":"surevision","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2016-01-16T10:01:43.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2166595?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1452938504.0","canEdit":false,"refType":"branch","currentOid":"5d51ad9db292a994dc354bdcc13c96bd42e34722"},"path":"xmu.php","currentUser":null,"blob":{"rawLines":["\";","\t$ch = curl_init();","\tcurl_setopt($ch, CURLOPT_URL, $xml_url);","\tcurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);","\tcurl_setopt($ch, CURLOPT_HEADER, 0);","\t$output = curl_exec($ch);","\t//echo $output.\"\";","\tcurl_close($ch);","\t$xml = simplexml_load_string($output);","\treturn $xml->track;","}","function getCode($info) {","\treturn $info->location;","}","?>","","","","","
","","","",""," ","Palpitation!","\tpreg_match_all(\"/href=\\\"http:\\/\\/www.xiami.com\\/song\\/(\\d+)/is\", $output, $regs);","\t$ids = $regs[1];","\t$index = 0;","\tforeach ($ids as $item) {","\t\t$xml_url = \"http://www.xiami.com/widget/xml-single/uid/0/sid/\".$item;","\t\t$info = getInfo($xml_url);","\t\t$location = getLocation($info->location);","?>","","","song_name;?>album_cover;?>\"/>","\"/>","