📄 index.php
字号:
<?php
/*******************************************************
Yahoo!cn音乐小偷程序php版
软件作者:&Raymond
官方网站:http://qrui.cn/
意见反馈:http://www.qrui.cn/blog/read.php/28.htm
********************************************************/
require("../fun.php");
$strl=$_SERVER["REQUEST_URI"];
$strl=str_replace("/?source",".html?",$strl);
$temp = explode('?',$strl);
$strl=$temp[1];
$SiteUrl = "http://music.cn.yahoo.com/".$strl;
$bodystr = GetHttpPage($SiteUrl);
$title=Cut($bodystr,"<head>","</head>",1);
$bodystr = Cut($bodystr,"<div class=\"ball\">","<!--foot -->",1);
// $bodystr = str_replace("网络实名</a>","<a href=http://www.qrui.cn/blog/read.php/28.htm>意见反馈</a>",$bodystr);
$bodystr = str_replace("&source=","/-",$bodystr);
$bodystr = str_replace("pid=ysearch/-","",$bodystr);
$bodystr = str_replace("pid=/-","",$bodystr);
$bodystr = str_replace("/-","\" id=\"",$bodystr);
$bodystr = str_replace("&mimetype=all&p=","/",$bodystr);
$bodystr = str_replace("&source=","/",$bodystr);
$bodystr = str_replace("&p=","/",$bodystr);
$bodystr = str_replace("p=","/",$bodystr);
$bodystr = str_replace("&mimetype=","/",$bodystr);
$bodystr = str_replace("&sub1=","/",$bodystr);
$bodystr = str_replace("sub1=","/",$bodystr);
$bodystr = str_replace("&sub2=","/",$bodystr);
$bodystr = str_replace("&sub3=","/",$bodystr);
$bodystr = str_replace("&sub4=","/",$bodystr);
$bodystr = str_replace("&sub5=","/",$bodystr);
$bodystr = str_replace(".php","/",$bodystr);
$bodystr = str_replace("/search","/search/",$bodystr);
$bodystr = str_replace("&pid=ysearch","/",$bodystr);
$bodystr = str_replace("pid=ysearch","",$bodystr);
$bodystr = str_replace("/.html","/",$bodystr);
$bodystr = str_replace("singer.html","search/",$bodystr);
$bodystr = str_replace("雅虎","",$bodystr);
$title = str_replace("雅虎","",$title);
$bodystr = str_replace("iframe src=\"special","iframe src=\"?special",$bodystr);
$bodystr = str_replace("src=\"other","src=\"?other",$bodystr);
$bodystr = str_replace("http://music.yahoo.com.cn/",YahooMusicUrl."/",$bodystr);
$bodystr = str_replace("http://music.cn.yahoo.com/",YahooMusicUrl."/",$bodystr);
$bodystr = str_replace(YahooMusicUrl."/theme",YahooMusicUrl."/theme/?theme",$bodystr);
$bodystr = str_replace(YahooMusicUrl."//theme",YahooMusicUrl."/theme/?theme",$bodystr);
$bodystr = str_replace(YahooMusicUrl."/music_special",YahooMusicUrl."/special/?",$bodystr);
$bodystr = str_replace(YahooMusicUrl."/rock20years",YahooMusicUrl."/theme/?rock20years",$bodystr);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?php echo $title;?><body>
<?php echo $bodystr; ?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -