放大镜站内搜索:


您现在的位置:首页 > 电脑 > 应用技巧 > 正文
全自动获取百度500首最热门MP3的方法
学生王国 ∥ http://www.xswg.com 更新时间:2006年10月12日 调整字体:

卧虎藏龙之地,高手众多,因此佳作屡出不穷。这次是hutia带给大家的一份非常酷的圣诞礼物。这就是全自动获取百度MP3里面的top500歌曲,一次过听完最热门的MP3。这一切都不用你亲自动手,只需一个文件即可。以前也曾在网上看到过类似的代码,但只针对Linux的。这次找到的代码很好用,我自己在WinXP+SP2下测试通过。看看hutia的发布说明:


[原创]MyHTML Player release v1.1

把下面的代码copy到本地,另存为hta文件使用

特点:自动获取baidu歌曲top500并link

使用ajax技术,自动分页

注意:代码中使用了ADODB.Stream对象,可能被杀毒软件判断为恶意。

<html>
<head>
<title>My HTML Player - By Hutia</title>
<hta:application id="app1" singleinstance="yes" contextmenu="yes"
 sysmenu="yes" windowstate="normal" maximizeButton="no" minimizeButton="yes"
 applicationName="MyHTMLPlayer" version="1.1" innerBorder="no"
 caption="yes" showintaskbar="yes" border="thin" />
<meta http-equiv="content-type" content="text/html; charset="gb2312">
<style>
body {
  overflow:auto;
  font-size:12px;
  cursor:default;
  padding:3px;
  margin:0px;
  border-width:0px;
}

#f1 {
  display:none;
}

#table01 {
  font-size:12px;
  background-Color:black;
  color:white;
  text-align:center;
  float:left;
  height:300px;
}

#table01 td{
  vertical-align:top;
}

#MediaPlayer1 {
  width:300px;
  height:300px;
}

#playListTitle {
  background-Color:#001122;
  color:white;
  font-size:12px;
  font-weight:bold;
  width:100%;
  height:16px;
  padding:2px;
}

#playList {
  width:150px;
  height:280;
  margin:0px;
  font-size:12px;
  background-Color:black;
  color:white;
}

#musicList {
  width:260px;
  border:buttonface 4px groove;
  height:200px;
  float:right;
}

#musicListTitle {
  font-size:13px;
  width:100%;
  height:20px;
  background-Color:#C5FFC5;
  padding:3px;
  font-weight:bold;
}

#musicListContent {
  height:200px;
}

#musicList .item {
  width:100%;
  height:20px;
  line-height:12px;
  padding:0px;
  margin:0px;
  overflow-y:hidden;
}

#musicList .item a {
  color:#773;
  text-decoration:none;
  width:180px;
  height:20px;
  line-height:12px;
  padding-top:5px;
  padding-left:10px;
  margin:0px;
  position:relative;
  overflow:hidden;
  text-overflow:ellipsis;
}

#musicListNav {
  height:18px;
}

#processBar {
  position:absolute;
  width:99%;
  height:30px;
  border:buttonface 2px inset;
  z-index:99;
  background-Color:#FFF;
  bottom:5px;
  left:5px;
  padding:5px;
}

.add2ListBtn {
  width:18px;
  line-height:14px;

9共  1 2 3 4 5 6 7 8 9 下一页


相关链接
来自:幻灭的麦克风
编辑:
浏览:
评论查看全部评论
您的评论
姓名:
请您注意:
1.请遵守《中国互联网行业自律条款》及中华人民共和国其他各项有关法律法规。
2.严禁发表危害国家安全、损害国家利益、破坏民族团结、破坏国家宗教政策、破坏社会稳定、侮辱、诽谤、教唆、淫秽等内容的评论 。
3.用户需对自己在使用本站服务过程中的行为承担法律责任(直接或间接导致的)。
4.本站管理员有权保留或删除评论内容。
评论内容只代表网友个人观点,与本网站立场无关。